diff options
Diffstat (limited to 'adw/CMakeLists.txt')
| -rw-r--r-- | adw/CMakeLists.txt | 22 |
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" +) |
