Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > Got it. Thank You. > Now, there is another thing that I can't seem to find. > If I have a Foo library with CMakeLists.txt: > ADD_LIBRARY(Foo foo.cpp) > then I have FooConfig.cmake for it: > SET(FOO_LIBRARY @LIBRARY_OUTPUT_PATH@/@FOO_LIBRARY_NAME@) > where @FOO_LIBRARY_NAME@ is the name of the library > that the previous "ADD_LIBRARY(Foo foo.cpp)" generated. In example, > "libFoo.so" on Linux, "Foo.dll" on Windows, etc. > How can I obtain that name?
Look at GET_TARGET_PROPERTIES for the LOCATION attribute. -Brad _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake