-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
35 lines (25 loc) · 938 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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
cmake_minimum_required(VERSION 3.16)
include(CMake/Version.cmake)
project(Lavender
HOMEPAGE_URL https://gitlab.com/thewoosh/lavender
VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
include_directories(.)
include_directories(Source)
add_library(project_diagnostics INTERFACE)
include(CMake/CompilerDiagnostics.cmake)
set_project_diagnostics(project_diagnostics)
option(ENABLE_TESTING "" ON)
include(CMake/Libraries.cmake)
include(CMake/PreCompiledHeaders.cmake)
add_subdirectory(Resources)
add_subdirectory(Source)
if (ENABLE_TESTING)
enable_testing()
add_subdirectory(Testing)
endif()