aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/wrappers/simple
diff options
context:
space:
mode:
Diffstat (limited to 'um/wrappers/simple')
-rw-r--r--um/wrappers/simple/CMakeLists.txt12
-rw-r--r--um/wrappers/simple/utils/CMakeLists.txt5
2 files changed, 8 insertions, 9 deletions
diff --git a/um/wrappers/simple/CMakeLists.txt b/um/wrappers/simple/CMakeLists.txt
index ff61bd7..85bc34b 100644
--- a/um/wrappers/simple/CMakeLists.txt
+++ b/um/wrappers/simple/CMakeLists.txt
@@ -1,9 +1,7 @@
-file(GLOB_RECURSE libsimple_headers "include/*.hpp")
-file(GLOB libsimple_sources "src/*.cpp")
-add_library(libsimple
- ${libsimple_sources}
- ${libsimple_headers})
-target_link_libraries(libsimple libservice)
-target_include_directories(libsimple PUBLIC include/)
+file(GLOB_RECURSE simple_include "include/*.hpp")
+file(GLOB simple_src "src/*.cpp")
+add_library(simple ${simple_src} ${simple_include})
+target_include_directories(simple PUBLIC include/)
+target_link_libraries(simple PRIVATE service)
add_subdirectory(utils)
diff --git a/um/wrappers/simple/utils/CMakeLists.txt b/um/wrappers/simple/utils/CMakeLists.txt
index 2a653fe..c4d3bdd 100644
--- a/um/wrappers/simple/utils/CMakeLists.txt
+++ b/um/wrappers/simple/utils/CMakeLists.txt
@@ -1,2 +1,3 @@
-add_executable(exchange_ints exchange_ints.cpp)
-target_link_libraries(exchange_ints PRIVATE libsimple)
+add_executable(simple_exchange_ints exchange_ints.cpp)
+target_link_libraries(simple_exchange_ints PRIVATE simple)
+set_target_properties(simple_exchange_ints PROPERTIES OUTPUT_NAME exchange_ints)