source: pacpusframework/trunk/cmake/PacpusConfiguration.cmake@ 70

Last change on this file since 70 was 64, checked in by Marek Kurdej, 12 years ago

Modified property: added svn:keywords=Id.

  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[3]1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9
10# ========================================
11# Build-specific configuration
12# ========================================
[50]13if(IS_BUILDING_PACPUS)
14 set(PACPUS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX} CACHE FILEPATH "Installation directory for the library")
15 set(PACPUS_INSTALL_3RD FALSE CACHE BOOL "Installation of the 3rd party")
[3]16endif()
17
18# ========================================
19# Global configuration
20# ========================================
21set(PACPUS_USE_LOG TRUE CACHE BOOL "Logging using log4cxx, the library is required")
[26]22set(PACPUS_INSTALL_3RD FALSE CACHE BOOL "Installation of the 3rd party")
[51]23set(PACPUS_BUILD_DOC FALSE CACHE BOOL "Whether build the documentation - requires Doxygen")
24set(PACPUS_USE_SOLUTION_FOLDERS FALSE CACHE BOOL "Use solution folders to classify projects, works in MS Visual Studio")
25
26if(PACPUS_USE_SOLUTION_FOLDERS)
27 if(CMAKE_VERSION VERSION_GREATER "2.8.0")
28 set_property(GLOBAL PROPERTY USE_FOLDERS ON)
29 else()
30 message(AUTHOR_WARNING "Folders are only supported with CMake 2.8.0 and newer, and MSVC 2005 and newer except for 2005/2008/2010 Express Edition")
31 endif()
32endif(PACPUS_USE_SOLUTION_FOLDERS)
Note: See TracBrowser for help on using the repository browser.