diff options
author | 3gg <3gg@shellblade.net> | 2024-09-16 08:25:54 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-09-16 08:25:54 -0700 |
commit | 1321c90186706309ed0fda78858a2a15b7a521a9 (patch) | |
tree | 00fe0d3eb2eaf94b241ee8cc1d91ffe273654069 /test/CMakeLists.txt | |
parent | f59ede03d8f1d9934823481bcea10c9cfd238c91 (diff) |
Make test its own library.
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..102568c --- /dev/null +++ b/test/CMakeLists.txt | |||
@@ -0,0 +1,13 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | ||
2 | |||
3 | project(test) | ||
4 | |||
5 | set(CMAKE_CXX_STANDARD 20) | ||
6 | set(CMAKE_CXX_STANDARD_REQUIRED On) | ||
7 | set(CMAKE_CXX_EXTENSIONS Off) | ||
8 | |||
9 | add_library(test INTERFACE | ||
10 | test.h) | ||
11 | |||
12 | target_include_directories(test INTERFACE | ||
13 | .) | ||