<div dir="ltr"><br><div>I have a cmake script that writes build commands to build a chain of other cmake scripts... to get the appropriate build command for the generator selected I do something like.....</div><div><br></div>
<div><div>    build_command( BUILD_COMMAND CONFIGURATION ${CMAKE_BUILD_TYPE} PROJECT_NAME ${SOLUTION} TARGET install )</div><div>    SEPARATE_ARGUMENTS( BUILD_COMMAND UNIX_COMMAND ${BUILD_COMMAND} )<br></div><div><br></div>
</div><div><div>    string (REPLACE ";" " " FAKE_BUILD_COMMAND "${BUILD_COMMAND}")</div><div>    FILE( APPEND ${BUILD}/${SCRIPTNAME} ${FAKE_BUILD_COMMAND} )<br></div><div><br></div></div><div>
The problem is, under makefiles... watcom makefiles, mingwmakefiles, or unix makefiles build_command ends up being "make -i install"</div><div><br></div><div>I don't really want it to have the -i.... I can add another string replace; </div>
<div><br></div><div>why is the build_command set to ignore errors?  </div><div>CMake 2.8.10.2<br></div><div><br></div><div><br></div></div>