Hi, I'm a bit unclear as to how CMake determines the order of what to build first. In one project I have:
add_library( libA ... ) add_executable( ExecA ... ) target_link_libraries( ExecA libA ) the build order is: libA and then ExecA. Yet in another project i have: add_library( libB ... ) add_executable( ExecB ... ) target_link_libraries( ExecB libB ) but the build order now is: ExecB, libB I'm getting link errors because libB doesn't exist yet. If I comment out the ExecB stuff, it builds libB. Can someone give me a clue on what criteria CMake is using to determine what builds first? Thanks, -Hai
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
