[CMake] Exporting from an Installation Tree
Micha Renner
Micha.Renner at t-online.de
Tue Dec 2 02:21:25 EST 2008
Good morning,
The lines
add_library(foo STATIC foo1.c)
install(TARGETS foo DESTINATION lib EXPORTS myproj-targets)
install(EXPORT myproj-targets DESTINATION lib/myproj)
create a file myproj-targets.cmake and a file myproj-targets-debug.cmake.
How can I create a myproj-targets-release.cmake file (Windows)?
Michael
By the way, .lib and .dll are not always in the same directory.
More information about the CMake
mailing list