/usr/share/camp/cmake/Config.cmake is in libcamp0.7v5 0.7.1.1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # setup version numbers
set(VERSION_MAJOR 0)
set(VERSION_MINOR 7)
set(VERSION_PATCH 1)
set(VERSION_STR "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
message("Project version: ${VERSION_STR}")
# Set the default build type to release with debug info
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo
CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
)
endif()
# Add an option for choosing the build type (shared or static)
if(NOT BUILD_SHARED_LIBS)
set(BUILD_SHARED_LIBS TRUE
CACHE BOOL "TRUE to build CAMP as a shared library, FALSE to build it as a static library."
)
endif()
# Set the default test build option to true
if(NOT BUILD_TEST)
set(BUILD_TEST TRUE
CACHE BOOL "TRUE to build the unit tests (requires the Boost Test Library), FALSE otherwise."
)
endif()
# Set the default test build option to true
if(NOT BUILD_TEST_QT)
set(BUILD_TEST_QT TRUE
CACHE BOOL "TRUE to build the Qt-specific unit tests (requires the Boost Test Library and Qt 4.5), FALSE otherwise."
)
endif()
# define install directory for miscelleneous files
if(WIN32 AND NOT UNIX)
set(INSTALL_MISC_DIR .)
elseif(UNIX)
set(INSTALL_MISC_DIR share/camp)
endif()
# setup MacOSX build environment if necessary
include(${CMAKE_SOURCE_DIR}/cmake/MacOSX.cmake)
|