aboutsummaryrefslogtreecommitdiff
path: root/demos/platform/graphics/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'demos/platform/graphics/CMakeLists.txt')
-rw-r--r--demos/platform/graphics/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/platform/graphics/CMakeLists.txt b/demos/platform/graphics/CMakeLists.txt
new file mode 100644
index 00000000..07758ee6
--- /dev/null
+++ b/demos/platform/graphics/CMakeLists.txt
@@ -0,0 +1,12 @@
+add_library(CruDemoPlatformGraphicsBase INTERFACE)
+target_link_libraries(CruDemoPlatformGraphicsBase INTERFACE CruPlatformGraphicsBootstrap)
+target_sources(CruDemoPlatformGraphicsBase INTERFACE Base.cpp)
+
+add_executable(CruDemoPlatformGraphicsDrawCircle DrawCircle.cpp)
+target_link_libraries(CruDemoPlatformGraphicsDrawCircle PRIVATE CruDemoPlatformGraphicsBase)
+
+add_executable(CruDemoPlatformGraphicsDrawText DrawText.cpp)
+target_link_libraries(CruDemoPlatformGraphicsDrawText PRIVATE CruDemoPlatformGraphicsBase)
+
+add_executable(CruDemoPlatformGraphicsSvgPath SvgPath.cpp)
+target_link_libraries(CruDemoPlatformGraphicsSvgPath PRIVATE CruDemoPlatformGraphicsBase)