1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
# Several directory names used by libInstPatch to install files
# the variable names are similar to the KDE4 build system
# BUNDLE_INSTALL_DIR - Mac only: the directory for application bundles
set (BUNDLE_INSTALL_DIR "/Applications" CACHE STRING
"The install dir for application bundles")
mark_as_advanced (BUNDLE_INSTALL_DIR)
# FRAMEWORK_INSTALL_DIR - Mac only: the directory for framework bundles
set (FRAMEWORK_INSTALL_DIR "/Library/Frameworks" CACHE STRING
"The install dir for framework bundles")
mark_as_advanced (FRAMEWORK_INSTALL_DIR)
# BIN_INSTALL_DIR - the directory where executables will be installed
set (BIN_INSTALL_DIR "bin" CACHE STRING "The install dir for executables")
mark_as_advanced (BIN_INSTALL_DIR)
# SBIN_INSTALL_DIR - the directory where system executables will be installed
set (SBIN_INSTALL_DIR "sbin" CACHE STRING "The install dir for system executables")
mark_as_advanced (SBIN_INSTALL_DIR)
# LIB_INSTALL_DIR - the directory where libraries will be installed
set (LIB_INSTALL_DIR "lib" CACHE STRING "The install dir for libraries")
mark_as_advanced (LIB_INSTALL_DIR)
# INCLUDE_INSTALL_DIR - the install dir for header files
set (INCLUDE_INSTALL_DIR "include" CACHE STRING "The install dir for headers")
mark_as_advanced (INCLUDE_INSTALL_DIR)
# DATA_INSTALL_DIR - the base install directory for data files
set (DATA_INSTALL_DIR "share" CACHE STRING
"The base install dir for data files")
mark_as_advanced (DATA_INSTALL_DIR)
# DOC_INSTALL_DIR - the install dir for documentation
set (DOC_INSTALL_DIR "share/doc" CACHE STRING
"The install dir for documentation")
mark_as_advanced (DOC_INSTALL_DIR)
# PLUGINS_DIR - the directory where application plugins will be installed
if ( UNIX )
set (PLUGINS_DIR "${CMAKE_INSTALL_PREFIX}/lib/swami" CACHE STRING "The install dir for plugins")
else ( UNIX )
set (PLUGINS_DIR "plugins" CACHE STRING "The install dir for plugins")
endif ( UNIX )
mark_as_advanced (PLUGINS_DIR)
# IMAGES_DIR - the directory where images are installed
if ( UNIX )
set (IMAGES_DIR "${CMAKE_INSTALL_PREFIX}/share/swami/images" CACHE STRING "The install dir for images")
else ( UNIX )
set (IMAGES_DIR "images" CACHE STRING "The install dir for images")
endif ( UNIX )
mark_as_advanced (IMAGES_DIR)
# UIXML_DIR - the directory where UI XML is installed
if ( UNIX )
set (UIXML_DIR "${CMAKE_INSTALL_PREFIX}/share/swami" CACHE STRING "The install dir for UI XML files")
else ( UNIX )
set (UIXML_DIR "." CACHE STRING "The install dir for UI XML files")
endif ( UNIX )
mark_as_advanced (UIXML_DIR)
|