diff options
author | Alexander Mohr <alexander.m.mohr@daimler.com> | 2022-01-24 14:29:55 +0100 |
---|---|---|
committer | Alexander Mohr <alexander.m.mohr@mercedes-benz.com> | 2022-05-09 13:36:10 +0200 |
commit | fcb676a79de5054803d701362a66962d04902179 (patch) | |
tree | 9ddfa7fca62932412f40b9bb18a22a509e3f9cab /systemd/CMakeLists.txt | |
parent | 0138c00811c86eab4ff6bff3c6528163885ade19 (diff) | |
download | DLT-daemon-fcb676a79de5054803d701362a66962d04902179.tar.gz |
Issue-ID: make-adaptor-configurablecmake: Add option to enable each adaptor by itself
This commit adds two options to enable the udp and stdin
adaptor indendent from each other.
Therefore only the necessary component can be enabled
Signed-off-by: Alexander Mohr <alexander.m.mohr@daimler.com>
Diffstat (limited to 'systemd/CMakeLists.txt')
-rw-r--r-- | systemd/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt index 4586a05..bb6f0a3 100644 --- a/systemd/CMakeLists.txt +++ b/systemd/CMakeLists.txt @@ -53,7 +53,7 @@ if(WITH_SYSTEMD) install(FILES ${PROJECT_BINARY_DIR}/systemd/dlt-example-user.service DESTINATION ${SYSTEMD_CONFIGURATIONS_FILES_DIR} ) endif(WITH_DLT_EXAMPLES) - if(WITH_DLT_ADAPTOR) + if(WITH_DLT_ADAPTOR_UDP) set( DLT_ADAPTOR_UDP_APPID "DUDP" ) set( DLT_ADAPTOR_UDP_CTID "DCTI" ) set( DLT_ADAPTOR_UDP_PORT 4712 ) @@ -61,7 +61,7 @@ if(WITH_SYSTEMD) message( STATUS "Configured systemd unit file:dlt-adaptor-udp.service" ) message(STATUS "DLT adaptor udp configuration: APPID=${DLT_ADAPTOR_UDP_APPID} CTID=${DLT_ADAPTOR_UDP_CTID} PORT=${DLT_ADAPTOR_UDP_PORT}" ) install(FILES ${PROJECT_BINARY_DIR}/systemd/dlt-adaptor-udp.service DESTINATION ${SYSTEMD_CONFIGURATIONS_FILES_DIR} ) - endif(WITH_DLT_ADAPTOR) + endif(WITH_DLT_ADAPTOR_UDP) message(STATUS "Unit files will be installed to ${SYSTEMD_CONFIGURATIONS_FILES_DIR} after make install" ) |