aboutsummaryrefslogtreecommitdiff
path: root/demos/Graphics/CMakeLists.txt
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-12 00:42:36 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-12 00:42:36 +0800
commit27f153af927c056af5cec70db5f011752e29b156 (patch)
treecdbe0a61f037cd1641f23f681d221a3206454411 /demos/Graphics/CMakeLists.txt
parent7c135df9b8057e1de3ea6a73fb785d5622b519d4 (diff)
downloadcru-27f153af927c056af5cec70db5f011752e29b156.tar.gz
cru-27f153af927c056af5cec70db5f011752e29b156.tar.bz2
cru-27f153af927c056af5cec70db5f011752e29b156.zip
Organize bootstrap and graphics demos.
Diffstat (limited to 'demos/Graphics/CMakeLists.txt')
-rw-r--r--demos/Graphics/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/Graphics/CMakeLists.txt b/demos/Graphics/CMakeLists.txt
new file mode 100644
index 00000000..64982a19
--- /dev/null
+++ b/demos/Graphics/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(CruDemoGraphicsBase INTERFACE)
+target_link_libraries(CruDemoGraphicsBase INTERFACE CruPlatformGraphicsBootstrap)
+
+add_executable(CruDemoGraphicsDrawCircle DrawCircle.cpp)
+target_link_libraries(CruDemoGraphicsDrawCircle PRIVATE CruDemoGraphicsBase)
+
+add_executable(CruDemoGraphicsSvgPath SvgPath.cpp)
+target_link_libraries(CruDemoGraphicsSvgPath PRIVATE CruDemoGraphicsBase)