summaryrefslogtreecommitdiff
path: root/adw/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-25 13:05:02 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-25 13:14:45 +0200
commitc61998283c8436dd4360e35ce10c309e7d3ee723 (patch)
tree849e3c2ba5df9cf27b76c6c18fa1263091063815 /adw/CMakeLists.txt
parent02a030a95b27034eedc151488a014950595510de (diff)
downloadturns-c61998283c8436dd4360e35ce10c309e7d3ee723.tar.xz
turns-c61998283c8436dd4360e35ce10c309e7d3ee723.zip
adw: add bare bones wrapper for AdwApplication
Diffstat (limited to 'adw/CMakeLists.txt')
-rw-r--r--adw/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/adw/CMakeLists.txt b/adw/CMakeLists.txt
new file mode 100644
index 0000000..9ac563a
--- /dev/null
+++ b/adw/CMakeLists.txt
@@ -0,0 +1,22 @@
+add_library("adw"
+ "src/application.cpp"
+ "src/wrap_init.cpp"
+)
+
+add_library("turns::adw" ALIAS "adw")
+
+target_include_directories("adw" PUBLIC
+ "include"
+)
+
+target_compile_options("adw" PUBLIC
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wall>"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wextra>"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Werror>"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-pedantic-errors>"
+)
+
+target_link_libraries("adw" PUBLIC
+ "PkgConfig::adwaita"
+ "PkgConfig::gtkmm"
+)