summaryrefslogtreecommitdiff
path: root/gfx-iso/CMakeLists.txt
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-06-24 18:46:33 -0700
committer3gg <3gg@shellblade.net>2023-06-24 18:46:33 -0700
commit0831d5bce79008bfa6404f8e8116ae8290442fde (patch)
treee488c719e16b34b60126837a90a44d1c3dd552ee /gfx-iso/CMakeLists.txt
parentcf886f4fa406ddd48f30c00ad3c77f9dc134af3a (diff)
Isometric Renderer initial commit.
Diffstat (limited to 'gfx-iso/CMakeLists.txt')
-rw-r--r--gfx-iso/CMakeLists.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/gfx-iso/CMakeLists.txt b/gfx-iso/CMakeLists.txt
new file mode 100644
index 0000000..8f95f7f
--- /dev/null
+++ b/gfx-iso/CMakeLists.txt
@@ -0,0 +1,30 @@
1cmake_minimum_required(VERSION 3.0)
2
3project(isogfx)
4
5set(CMAKE_C_STANDARD 11)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
9add_library(isogfx
10 src/isogfx.c)
11
12target_include_directories(isogfx PUBLIC
13 include)
14
15target_link_libraries(isogfx PRIVATE
16 mempool)
17
18target_compile_options(isogfx PRIVATE -Wall -Wextra -Wpedantic)
19
20# Demo
21
22project(isogfx-demo)
23
24add_executable(isogfx-demo
25 demo/isogfx-demo.c)
26
27target_link_libraries(isogfx-demo PRIVATE
28 gfx
29 gfx-app
30 isogfx)