From 0831d5bce79008bfa6404f8e8116ae8290442fde Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 24 Jun 2023 18:46:33 -0700 Subject: Isometric Renderer initial commit. --- gfx-iso/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 gfx-iso/CMakeLists.txt (limited to 'gfx-iso/CMakeLists.txt') 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 @@ +cmake_minimum_required(VERSION 3.0) + +project(isogfx) + +set(CMAKE_C_STANDARD 11) +set(CMAKE_C_STANDARD_REQUIRED On) +set(CMAKE_C_EXTENSIONS Off) + +add_library(isogfx + src/isogfx.c) + +target_include_directories(isogfx PUBLIC + include) + +target_link_libraries(isogfx PRIVATE + mempool) + +target_compile_options(isogfx PRIVATE -Wall -Wextra -Wpedantic) + +# Demo + +project(isogfx-demo) + +add_executable(isogfx-demo + demo/isogfx-demo.c) + +target_link_libraries(isogfx-demo PRIVATE + gfx + gfx-app + isogfx) -- cgit v1.2.3