-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
47 lines (38 loc) · 1022 Bytes
/
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
40
41
42
43
44
45
46
47
cmake_minimum_required(VERSION 3.14)
project(eviso15118
VERSION 0.1
DESCRIPTION "eviso15118 library suite"
LANGUAGES CXX C
)
find_package(everest-cmake 0.1 REQUIRED
PATHS ../everest-cmake
)
# options
option(OPT_AUTODOWNLOAD_ISO20_SCHEMAS "\
Automatically download ISO15118-20 schemas. Note: by setting this option to \
true and hence downloading the schema files, YOU accept the ISO Customer \
Licence Agreement (“Licence Agreement”), clauses 1. ISO’s Copyright, \
7. Termination, 8. Limitations, and 9. Governing Law." OFF)
add_subdirectory(input)
add_subdirectory(src)
if (EVISO15118_BUILD_TESTS)
include(CTest)
add_subdirectory(test)
endif()
if (EVISO15118_INSTALL)
install(
TARGETS
eviso15118
EXPORT eviso15118-targets
)
install(
DIRECTORY include/
TYPE INCLUDE
PATTERN "detail" EXCLUDE
)
evc_setup_package(
NAME eviso15118
EXPORT eviso15118-targets
NAMESPACE eviso15118
)
endif()