summaryrefslogtreecommitdiff
path: root/gfx-iso/CMakeLists.txt
diff options
context:
space:
mode:
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)