aboutsummaryrefslogtreecommitdiff
path: root/demos/platform/graphics/CMakeLists.txt
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-23 23:23:38 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-23 23:23:38 +0800
commitf76b47291ac164ec0169f721dab5b1b0fe016322 (patch)
tree74a4bdaf8fa977942de92eb7019be666802130ef /demos/platform/graphics/CMakeLists.txt
parentfcd9eff000a967e16a0a987609210fba4a92dd0c (diff)
downloadcru-f76b47291ac164ec0169f721dab5b1b0fe016322.tar.gz
cru-f76b47291ac164ec0169f721dab5b1b0fe016322.tar.bz2
cru-f76b47291ac164ec0169f721dab5b1b0fe016322.zip
Organize platform demo.
Diffstat (limited to 'demos/platform/graphics/CMakeLists.txt')
-rw-r--r--demos/platform/graphics/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/platform/graphics/CMakeLists.txt b/demos/platform/graphics/CMakeLists.txt
new file mode 100644
index 00000000..e2a96c09
--- /dev/null
+++ b/demos/platform/graphics/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(CruDemoPlatformGraphicsBase INTERFACE)
+target_link_libraries(CruDemoPlatformGraphicsBase INTERFACE CruPlatformGraphicsBootstrap)
+
+add_executable(CruDemoPlatformGraphicsDrawCircle DrawCircle.cpp)
+target_link_libraries(CruDemoPlatformGraphicsDrawCircle PRIVATE CruDemoPlatformGraphicsBase)
+
+add_executable(CruDemoPlatformGraphicsSvgPath SvgPath.cpp)
+target_link_libraries(CruDemoPlatformGraphicsSvgPath PRIVATE CruDemoPlatformGraphicsBase)