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
cmake_minimum_required(VERSION 3.19 FATAL_ERROR) project(Crucible DESCRIPTION "Crucible is an all-in-one framework for building cross-platform applications." HOMEPAGE_URL https://gitlab.com/bravelytyped/crucible LANGUAGES CXX VERSION 0.7.0) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") include(CrucibleCheckTargetSupported) include(CrucibleConfigureLanguageStandards) include(CrucibleConfigureOutputDirectory) include(CrucibleConfigureSharedLibraryExports) include(CTest) crucible_configure_language_standards(CXX 20) crucible_configure_output_directory(artifacts) crucible_configure_shared_library_exports() crucible_check_target_supported() add_subdirectory(executables) add_subdirectory(libraries)