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.....

    build_command( BUILD_COMMAND CONFIGURATION ${CMAKE_BUILD_TYPE}
PROJECT_NAME ${SOLUTION} TARGET install )
    SEPARATE_ARGUMENTS( BUILD_COMMAND UNIX_COMMAND ${BUILD_COMMAND} )

    string (REPLACE ";" " " FAKE_BUILD_COMMAND "${BUILD_COMMAND}")
    FILE( APPEND ${BUILD}/${SCRIPTNAME} ${FAKE_BUILD_COMMAND} )

The problem is, under makefiles... watcom makefiles, mingwmakefiles, or
unix makefiles build_command ends up being "make -i install"

I don't really want it to have the -i.... I can add another string replace;

why is the build_command set to ignore errors?
CMake 2.8.10.2
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to