aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_bundle/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_bundle/src/CMakeLists.txt')
-rw-r--r--libs/installer_bundle/src/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/installer_bundle/src/CMakeLists.txt b/libs/installer_bundle/src/CMakeLists.txt
new file mode 100644
index 0000000..7b946ce
--- /dev/null
+++ b/libs/installer_bundle/src/CMakeLists.txt
@@ -0,0 +1,14 @@
+
+cmake_minimum_required(VERSION 3.16)
+
+file(GLOB installer_bundle_SOURCES CONFIGURE_DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/*.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/*.ui
+ ${CMAKE_CURRENT_SOURCE_DIR}/*.qrc
+)
+
+add_library(installer_bundle SHARED ${installer_bundle_SOURCES})
+mo2_configure_plugin(installer_bundle NO_SOURCES WARNINGS OFF)
+target_link_libraries(installer_bundle PRIVATE mo2::uibase)
+mo2_install_plugin(installer_bundle)