aboutsummaryrefslogtreecommitdiff
path: root/demos/ScrollView/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-15 14:15:31 +0800
committercrupest <crupest@outlook.com>2022-05-15 14:15:31 +0800
commit34a64e6ffefaab007578932ddbab931a25f1d56e (patch)
tree541fdb8279e829a129df62288d09916bf23c9200 /demos/ScrollView/CMakeLists.txt
parent8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6 (diff)
downloadcru-34a64e6ffefaab007578932ddbab931a25f1d56e.tar.gz
cru-34a64e6ffefaab007578932ddbab931a25f1d56e.tar.bz2
cru-34a64e6ffefaab007578932ddbab931a25f1d56e.zip
...
Diffstat (limited to 'demos/ScrollView/CMakeLists.txt')
-rw-r--r--demos/ScrollView/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/ScrollView/CMakeLists.txt b/demos/ScrollView/CMakeLists.txt
new file mode 100644
index 00000000..8b34f5d8
--- /dev/null
+++ b/demos/ScrollView/CMakeLists.txt
@@ -0,0 +1,12 @@
+add_executable(CruDemoScrollView main.cpp)
+
+if(APPLE)
+ set_target_properties(CruDemoScrollView PROPERTIES
+ MACOSX_BUNDLE TRUE
+ MACOSX_BUNDLE_GUI_IDENTIFIER life.crupest.cru.demo-scroll-view
+ MACOSX_BUNDLE_BUNDLE_NAME demo-scroll-view
+ )
+endif()
+
+target_add_resources(CruDemoScrollView cru/ui)
+target_link_libraries(CruDemoScrollView PRIVATE CruDemoBase CruUi)