-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (27 loc) · 942 Bytes
/
CMakeLists.txt
File metadata and controls
32 lines (27 loc) · 942 Bytes
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
###############################################################################
#
# This file is part of CMake configuration for SOCI library
#
# Copyright (C) 2013 Mateusz Loskot <[email protected]>
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
###############################################################################
colormsg(_HIBLUE_ "Configuring SOCI tests:")
# Request CATCH to disable all the C++11 features
if (NOT SOCI_CXX_C11)
add_definitions(-DCATCH_CONFIG_NO_CPP11)
endif()
include_directories(
${SOCI_SOURCE_DIR}/include/private
${CMAKE_CURRENT_SOURCE_DIR})
file(GLOB SOCI_TESTS_COMMON common-tests.h)
add_subdirectory(empty)
add_subdirectory(db2)
add_subdirectory(firebird)
add_subdirectory(mysql)
add_subdirectory(odbc)
add_subdirectory(oracle)
add_subdirectory(postgresql)
add_subdirectory(sqlite3)