diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-06 13:26:57 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-06 13:26:57 -0800 |
| commit | f5c89b3bd5d74849757fd5b4d1a300068522a3ca (patch) | |
| tree | d6f6e4c81745b393d7594b334710f30c0b2df3bd /tinydir-1.2.4/CMakeLists.txt | |
Diffstat (limited to 'tinydir-1.2.4/CMakeLists.txt')
| -rw-r--r-- | tinydir-1.2.4/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tinydir-1.2.4/CMakeLists.txt b/tinydir-1.2.4/CMakeLists.txt new file mode 100644 index 0000000..b4d16e3 --- /dev/null +++ b/tinydir-1.2.4/CMakeLists.txt | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | cmake_minimum_required(VERSION 3.5) | ||
| 2 | |||
| 3 | project(tinydir) | ||
| 4 | |||
| 5 | set(CMAKE_C_STANDARD 17) | ||
| 6 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
| 7 | set(CMAKE_C_EXTENSIONS Off) | ||
| 8 | |||
| 9 | add_library(tinydir INTERFACE | ||
| 10 | tinydir.h) | ||
| 11 | |||
| 12 | target_include_directories(tinydir INTERFACE | ||
| 13 | .) | ||
| 14 | |||
| 15 | target_compile_options(tinydir INTERFACE -Wall -Wextra -Wpedantic) | ||
