|
Hi, I compile my libraries into dynamic and static. I now wish to change the library path. If I am in static (folder : lib ) and dynamic (folder : dll). For now, i have this script : OPTION (BUILD_SHARED_LIBS "Build shared libraries with Games." OFF) IF (BUILD_SHARED_LIBS) SET (LIBRARY_OUTPUT_PATH) SET ($ {LIBRARY_OUTPUT_PATHPROJECT_BINARY_DIR} / dll / $ {CACHE}CMAKE_BUILD_TYPE PATH "Single outputdirectory for building all libraries.") ELSE () SET (LIBRARY_OUTPUT_PATH) SET ($ {LIBRARY_OUTPUT_PATHPROJECT_BINARY_DIR} / lib / $ {CACHE}CMAKE_BUILD_TYPE PATH "Single outputdirectory for building all libraries.") ENDIF () but my variable "LIBRARY_OUTPUT_PATH" does not change. Do you have an idea about this problem ? Thanks --
| ||||||||
_______________________________________________ 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

