aboutsummaryrefslogtreecommitdiff
path: root/libs/bsa_extractor/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bsa_extractor/src/CMakeLists.txt')
-rw-r--r--libs/bsa_extractor/src/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/bsa_extractor/src/CMakeLists.txt b/libs/bsa_extractor/src/CMakeLists.txt
new file mode 100644
index 0000000..3a027c5
--- /dev/null
+++ b/libs/bsa_extractor/src/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 3.16)
+
+file(GLOB bsa_extractor_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(bsa_extractor SHARED ${bsa_extractor_SOURCES})
+mo2_configure_plugin(bsa_extractor NO_SOURCES WARNINGS OFF)
+target_link_libraries(bsa_extractor PRIVATE mo2::uibase mo2::bsatk)
+mo2_install_plugin(bsa_extractor)