File: CMakeLists.txt

package info (click to toggle)
cryfs 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 10,592 kB
  • ctags: 19,015
  • sloc: cpp: 80,098; python: 7,872; ansic: 3,054; sh: 1,883; makefile: 1,710
file content (28 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
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
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

project(cryfs)

include(utils.cmake)

require_gcc_version(4.8)
require_clang_version(3.7)

# Default value is not to build test cases
if(NOT BUILD_TESTING)
    set(BUILD_TESTING OFF CACHE BOOL "BUILD_TESTING")
endif(NOT BUILD_TESTING)

# Default vaule is to build in release mode
if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Release CACHE INTERNAL "CMAKE_BUILD_TYPE")
endif(NOT CMAKE_BUILD_TYPE)

# Default value is to do update checks
if(NOT CRYFS_UPDATE_CHECKS)
    set(CRYFS_UPDATE_CHECKS ON CACHE BOOL "CRYFS_UPDATE_CHECKS")
endif(NOT CRYFS_UPDATE_CHECKS)

add_subdirectory(vendor)
add_subdirectory(src)
add_subdirectory(test)
add_subdirectory(cpack)