We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a943b commit f9151eeCopy full SHA for f9151ee
CMakeLists.txt
@@ -1,6 +1,14 @@
1
cmake_minimum_required(VERSION 3.22)
2
project(magic-cpp)
3
4
+add_library(MAGIC_CPP INTERFACE)
5
+target_include_directories(MAGIC_CPP INTERFACE include)
6
+
7
+option(MAGIC_CPP_INCLUDE_TESTS "Include tests" ON)
8
+if(NOT MAGIC_CPP_INCLUDE_TESTS)
9
+ return()
10
+endif()
11
12
set(CMAKE_CXX_STANDARD 20)
13
set(CMAKE_CXX_STANDARD_REQUIRED ON)
14
0 commit comments