1 cmake_minimum_required(VERSION 3.14)
2 project (xestiacalendar)
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)
14 if (XestiaCalendar_UNIT_TESTING)
16 include(UnitTestPreprocessorMacros)
17 find_package(GTest REQUIRED)
18 add_subdirectory(tests)
19 file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/UnitTestOutput)
20 set_unit_test_file_permissions()
23 add_subdirectory(tools)
24 add_subdirectory(common)
25 add_subdirectory(forms)
26 add_subdirectory(libraries)
27 add_subdirectory(objects)
28 add_subdirectory(widgets)