aboutsummaryrefslogtreecommitdiff
path: root/src/platform/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/CMakeLists.txt')
-rw-r--r--src/platform/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/platform/CMakeLists.txt b/src/platform/CMakeLists.txt
new file mode 100644
index 00000000..c9eef482
--- /dev/null
+++ b/src/platform/CMakeLists.txt
@@ -0,0 +1,14 @@
+set(CRU_PLATFORM_BASE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform)
+add_library(cru_platform_base INTERFACE)
+target_sources(cru_platform_base INTERFACE
+ ${CRU_PLATFORM_BASE_INCLUDE_DIR}/exception.hpp
+ ${CRU_PLATFORM_BASE_INCLUDE_DIR}/graphic_base.hpp
+ ${CRU_PLATFORM_BASE_INCLUDE_DIR}/heap_debug.hpp
+ ${CRU_PLATFORM_BASE_INCLUDE_DIR}/matrix.hpp
+ ${CRU_PLATFORM_BASE_INCLUDE_DIR}/native_resource.hpp
+ ${CRU_PLATFORM_BASE_INCLUDE_DIR}/string_util.hpp
+)
+target_link_libraries(cru_platform_base INTERFACE cru_base)
+
+add_subdirectory(graph)
+add_subdirectory(native)