@@ -189,6 +189,7 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
189
189
# as off. Without UniqueList cmake will treat it as on.
190
190
cmake_args += project .cmake_args (env )
191
191
cmake_args += cmake_extra
192
+ cmake_args += '-DCMAKE_VERBOSE_MAKEFILE=ON'
192
193
if coverage :
193
194
if c_path and "gcc" in c_path :
194
195
# Tell cmake to add coverage related configuration. And make sure GCC is used to compile the project.
@@ -232,12 +233,8 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
232
233
233
234
print ("=== toolchain.host is {}" .format (toolchain .host ))
234
235
# build & install
235
- if toolchain .host == 'ubuntu' :
236
- sh .exec (* toolchain .shell_env , cmake , "--build" , project_build_dir , "--config" ,
237
- build_config , "--verbose" , "--target" , "install" , working_dir = working_dir , check = True )
238
- else :
239
- sh .exec (* toolchain .shell_env , cmake , "--build" , project_build_dir , "--config" ,
240
- build_config , "--target" , "install" , working_dir = working_dir , check = True )
236
+ sh .exec (* toolchain .shell_env , cmake , "--build" , project_build_dir , "--config" ,
237
+ build_config , "--target" , "install" , working_dir = working_dir , check = True )
241
238
242
239
243
240
class CMakeBuild (Action ):
0 commit comments