1 cmake_minimum_required(VERSION 3.14)
4 set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/CMakeFunctions")
5 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
6 set(CMAKE_CXX_STANDARD 11)
10 if (XestiaAddressBook_UNIT_TESTING)
12 find_package(GTest REQUIRED)
13 add_subdirectory(tests)
14 file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/UnitTestOutput)
17 add_subdirectory(tools)
18 add_subdirectory(actmgr)
19 #add_subdirectory(bitmaps)
20 add_subdirectory(carddav2)
21 add_subdirectory(common)
22 add_subdirectory(contacteditor)
23 add_subdirectory(export)
24 add_subdirectory(import)
25 add_subdirectory(search)
26 add_subdirectory(vcard)
27 add_subdirectory(widgets)
30 include(UnitTestPreprocessorMacros)