Changeset 91 in pacpusframework for trunk/cmake/PacpusConfiguration.cmake
- Timestamp:
- May 19, 2013, 12:32:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusConfiguration.cmake
r64 r91 11 11 # Build-specific configuration 12 12 # ======================================== 13 14 # TODO : check how cache variables work? Why the commented line doesn't work? 15 13 16 if(IS_BUILDING_PACPUS) 14 set(PACPUS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX} CACHE FILEPATH "Installation directory for the library") 17 if(PACPUS_INSTALL_WITH_VERSION_NUMBER) 18 pacpus_purge_backslash(PACPUS_INSTALL_DIR) 19 set(PACPUS_INSTALL_DIR ${PACPUS_INSTALL_DIR}/${PACPUS_VERSION}) 20 # set(PACPUS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${PACPUS_VERSION} CACHE PATH "Installation directory for the library") 21 endif() 15 22 set(PACPUS_INSTALL_3RD FALSE CACHE BOOL "Installation of the 3rd party") 16 23 endif() 24 17 25 18 26 # ======================================== … … 20 28 # ======================================== 21 29 set(PACPUS_USE_LOG TRUE CACHE BOOL "Logging using log4cxx, the library is required") 22 set(PACPUS_INSTALL_3RD FALSE CACHE BOOL "Installation of the 3rd party") 30 if(win32) 31 set(PACPUS_INSTALL_3RD TRUE CACHE BOOL "Installation of the 3rd party") 32 else() 33 set(PACPUS_INSTALL_3RD FALSE CACHE BOOL "Installation of the 3rd party") 34 endif() 23 35 set(PACPUS_BUILD_DOC FALSE CACHE BOOL "Whether build the documentation - requires Doxygen") 24 36 set(PACPUS_USE_SOLUTION_FOLDERS FALSE CACHE BOOL "Use solution folders to classify projects, works in MS Visual Studio")
Note:
See TracChangeset
for help on using the changeset viewer.