-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
37 lines (28 loc) · 864 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
cmake_minimum_required(VERSION 3.8)
project(msqlitecpp VERSION 1.99.7.1 LANGUAGES C CXX)
set(msqlitecpp_DESCRIPTION "a Modern SQLite CPP library")
if (EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
endif ()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
include(cmake/options.cmake)
include(cmake/dependencies.cmake)
include(cmake/compileropts.cmake)
include(cmake/install.cmake)
if (ENABLE_TEST)
enable_testing()
endif(ENABLE_TEST)
add_subdirectory(src)
if (ENABLE_TEST)
add_subdirectory(tests)
endif (ENABLE_TEST)
if (ENABLE_PROFILER)
add_subdirectory(profiler)
endif (ENABLE_PROFILER)
if (DOXYGEN_FOUND)
list(APPEND DOXYGEN_EXCLUDE_PATTERNS
*/tests/googletest
)
doxygen_add_docs(documentation)
endif (DOXYGEN_FOUND)