[CMake] cmake is reruning on rebuild

2009-02-18 Thread elizabeta petreska
Hello I have one project say C that is dependent on A ,and A is dependent on B. in C.cmakelists.txt I am doing the following : add_subdirectory(../A ${CMAKE_BINARY_DIR}) ADD_LIBRARY(C SHARED ${C_S_SRCS} ) TARGET_LINK_LIBRARIES(C A ) in A cmakelists.txt I am doing the follwing :

Re: [CMake] cmake is reruning on rebuild

2009-02-18 Thread David Cole
Just use Build Solution. Rebuild Solution causes *all* build steps everywhere to re-run, even when nothing has changed, including the ones that re-run cmake if a CMakeLists.txt file changes. If you want to start over entirely (effective Rebuild Solution) then wipe your binary tree entirely,

Re: [CMake] cmake is reruning on rebuild

2009-02-18 Thread Bill Hoffman
David Cole wrote: Just use Build Solution. Rebuild Solution causes *all* build steps everywhere to re-run, even when nothing has changed, including the ones that re-run cmake if a CMakeLists.txt file changes. If you want to start over entirely (effective Rebuild Solution) then wipe your