Jean Lepropre wrote:
Hi Bill,
Is it the same thing if static lib is built by CMake?
No, if CMake is building the library as part of the project, you link it
by the target name of the library.
Like this:
add_library(bar STATIC ...)
add_executable(foo ...)
target_link_libraries(foo bar)
CMake will recognize bar as the static library and put in the correct
depend information.
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake