[CMake] Generating Source Files

Bill Hoffman bill.hoffman at kitware.com
Wed Apr 8 16:33:43 EDT 2009


Jeremy Cowgar wrote:

>
> 
> INCLUDE( "${CMAKE_BINARY_DIR}/interpreter/int.cmake" )
> 
So, you are saying that "${CMAKE_BINARY_DIR}/interpreter/int.cmake" 
changes and cmake does not re-run?   Can you look in 
CMakeFiles/Makefile.cmake? Should be in your binary tree, and it should 
have int.cmake as a CMAKE_MAKEFILE_DEPENDS.

If you do a make VERBOSE=1 it should say something like:
Re-run cmake file: CMakeFiles/cmake.check_cache older than: 
${CMAKE_BINARY_DIR}/interpreter/int.cmake.


-Bill


More information about the CMake mailing list