diff options
Diffstat (limited to 'gfx-iso/CMakeLists.txt')
-rw-r--r-- | gfx-iso/CMakeLists.txt | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gfx-iso/CMakeLists.txt b/gfx-iso/CMakeLists.txt deleted file mode 100644 index e4a677d..0000000 --- a/gfx-iso/CMakeLists.txt +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | ||
2 | |||
3 | project(isogfx) | ||
4 | |||
5 | set(CMAKE_C_STANDARD 17) | ||
6 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
7 | set(CMAKE_C_EXTENSIONS Off) | ||
8 | |||
9 | # isogfx | ||
10 | |||
11 | add_library(isogfx | ||
12 | src/isogfx.c) | ||
13 | |||
14 | target_include_directories(isogfx PUBLIC | ||
15 | include) | ||
16 | |||
17 | target_link_libraries(isogfx PUBLIC | ||
18 | filesystem | ||
19 | mem | ||
20 | mempool) | ||
21 | |||
22 | target_compile_options(isogfx PRIVATE -Wall -Wextra -Wpedantic) | ||
23 | |||
24 | # Backend | ||
25 | |||
26 | add_library(isogfx-backend | ||
27 | src/backend.c) | ||
28 | |||
29 | target_include_directories(isogfx-backend PUBLIC | ||
30 | include) | ||
31 | |||
32 | target_link_libraries(isogfx-backend PUBLIC | ||
33 | isogfx) | ||
34 | |||
35 | target_link_libraries(isogfx-backend PRIVATE | ||
36 | gfx) | ||
37 | |||
38 | target_compile_options(isogfx-backend PRIVATE -Wall -Wextra -Wpedantic) | ||
39 | |||
40 | # Demos | ||
41 | |||
42 | add_subdirectory(demos) | ||