-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
39 lines (28 loc) · 1.05 KB
/
CMakeLists.txt
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
# Copyright (c) 2020 LG Electronics Inc.
# SPDX-License-Identifier: MIT
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
project(sentinel VERSION 0.4.8)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/scripts)
include(CMakeUtils)
set_cxx_standard(17)
set_default_build_type(Release)
set(CMAKE_SKIP_RPATH TRUE)
if(ENABLE_TEST)
enable_static_analysis(cppcheck cpplint lwyu)
enable_testing()
enable_test_coverage()
enable_doxygen()
endif()
add_all_subdirectories()
configure_file(${CMAKE_SOURCE_DIR}/include/sentinel/version.hpp.in ${CMAKE_SOURCE_DIR}/include/sentinel/version.hpp)
configure_file(${CMAKE_SOURCE_DIR}/resources/man/sentinel.1.in ${CMAKE_SOURCE_DIR}/resources/man/sentinel.1)
install(FILES ${CMAKE_SOURCE_DIR}/resources/man/sentinel.1 DESTINATION man/man1)
build_debian_package(
MAINTAINER "Sung Gon Kim <sunggon82.kim@lge.com>"
CONTACT "sunggon82.kim@lge.com"
HOMEPAGE "https://github.com/shift-left-test/sentinel"
VENDOR "LG Electronics"
SUMMARY "the mutation testing tool for C/C++ projects"
SECTION "devel"
DEPENDS "libgit2-dev"
)