summaryrefslogtreecommitdiff
path: root/domain/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'domain/CMakeLists.txt')
-rw-r--r--domain/CMakeLists.txt55
1 files changed, 0 insertions, 55 deletions
diff --git a/domain/CMakeLists.txt b/domain/CMakeLists.txt
deleted file mode 100644
index 6c54e31..0000000
--- a/domain/CMakeLists.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-# Library
-
-add_library("domain"
- "src/disposition.cpp"
- "src/participant.cpp"
- "src/turn_order.cpp"
-)
-
-add_library("turns::domain" ALIAS "domain")
-
-
-target_compile_options("domain" 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>"
- PRIVATE
- "$<$<AND:$<CXX_COMPILER_ID:GNU,Clang>,$<CONFIG:Debug>>:-fprofile-arcs>"
- "$<$<AND:$<CXX_COMPILER_ID:GNU,Clang>,$<CONFIG:Debug>>:-ftest-coverage>"
-)
-
-target_include_directories("domain" PUBLIC
- "include"
-)
-
-target_link_libraries("domain" PUBLIC
- "$<$<AND:$<CXX_COMPILER_ID:GNU,Clang>,$<CONFIG:Debug>>:gcov>"
-
- "PkgConfig::giomm"
- "PkgConfig::glibmm"
-)
-
-target_link_options("domain" PRIVATE
- "$<$<AND:$<CXX_COMPILER_ID:GNU,Clang>,$<CONFIG:Debug>>:--coverage>"
-)
-
-# Tests
-
-add_executable("domain-tests"
- "tests/register_types.cpp"
-
- "tests/disposition.cpp"
- "tests/participant.cpp"
- "tests/turn_order_bugs.cpp"
- "tests/turn_order.cpp"
-)
-
-target_link_libraries("domain-tests"
- "Catch2::Catch2"
-
- "turns::domain"
- "turns::glib-test-main"
-)
-
-catch_discover_tests("domain-tests") \ No newline at end of file