1234567891011121314151617181920212223242526272829303132 |
- set(CMAKE_INCLUDE_CURRENT_DIR ON)
- set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
- set(CMAKE_COLOR_MAKEFILE ON)
- set(GENERIC_LIB_VERSION "0.1.0")
- set(GENERIC_LIB_SOVERSION "0")
- 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 (NOT CMAKE_BUILD_TYPE)
- include(MacroEnsureOutOfSourceBuild)
- macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source build.
- Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.")
|