diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | src/core/CMakeLists.txt | 10 | ||||
| -rw-r--r-- | src/ctrl/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | src/rendering/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | src/resources/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/ui/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/utils/CMakeLists.txt | 8 |
7 files changed, 46 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..5f0b8b5 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,6 @@ +add_subdirectory(core) +add_subdirectory(ctrl) +add_subdirectory(rendering) +add_subdirectory(resources) +add_subdirectory(ui) +add_subdirectory(utils) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt new file mode 100644 index 0000000..f8c0315 --- /dev/null +++ b/src/core/CMakeLists.txt @@ -0,0 +1,10 @@ +add_library(daw_core + cleanup.c + dltools.c + harness.c + init.c + logging.c + loop.c + memory.c + state.c + ) diff --git a/src/ctrl/CMakeLists.txt b/src/ctrl/CMakeLists.txt new file mode 100644 index 0000000..e086f07 --- /dev/null +++ b/src/ctrl/CMakeLists.txt @@ -0,0 +1,7 @@ +add_library(daw_ctrl + controller.c + ctx.c + input.c + keyboard.c + mouse.c + ) diff --git a/src/rendering/CMakeLists.txt b/src/rendering/CMakeLists.txt new file mode 100644 index 0000000..a7313e9 --- /dev/null +++ b/src/rendering/CMakeLists.txt @@ -0,0 +1,6 @@ +add_library(daw_rendering + gl.c + rendering.c + text.c + window.c + ) diff --git a/src/resources/CMakeLists.txt b/src/resources/CMakeLists.txt new file mode 100644 index 0000000..7fe5cac --- /dev/null +++ b/src/resources/CMakeLists.txt @@ -0,0 +1,5 @@ +add_library(daw_resources + fonts.c + scripts.c + textures.c + ) diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt new file mode 100644 index 0000000..05b2648 --- /dev/null +++ b/src/ui/CMakeLists.txt @@ -0,0 +1,4 @@ +add_library(daw_ui + positioning.c + rendering.c + ) diff --git a/src/utils/CMakeLists.txt b/src/utils/CMakeLists.txt new file mode 100644 index 0000000..3274f55 --- /dev/null +++ b/src/utils/CMakeLists.txt @@ -0,0 +1,8 @@ +add_library(daw_utils + btree.c + fov.c + hashmap.c + misc.c + stack.c + vector.c + ) |
