Skip to content

Commit

Permalink
update2
Browse files Browse the repository at this point in the history
  • Loading branch information
andv authored and andv committed Jul 12, 2024
1 parent 799d24e commit ffa72b9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ option(WITH_DLT_FILE_LOGGING_SYSLOG_FALLBACK "Set to ON to enable fallback to sy
option(WITH_DLT_NETWORK_TRACE "Set to ON to enable network trace (if message queue is supported)" ON)
option(WITH_DLT_LOG_LEVEL_APP_CONFIG "Set to ON to enable default log levels based on application ids" OFF)

set(DLT_IPC "FIFO"
set(DLT_IPC "UNIX_SOCKET"
CACHE STRING "UNIX_SOCKET,FIFO")
set(DLT_USER "covesa"
CACHE STRING "Set user for process not run as root")
Expand Down Expand Up @@ -419,6 +419,11 @@ if(WITH_DLT_UNIT_TESTS)

enable_testing()
add_subdirectory(tests)

set(WITH_DLT_SHM_ENABLE ON)
if(WITH_DLT_SHM_ENABLE)
add_definitions(-DDLT_SHM_ENABLE)
endif()
endif()

message(STATUS)
Expand Down Expand Up @@ -491,4 +496,4 @@ message(STATUS "WITH_DLT_FILE_LOGGING_SYSLOG_FALLBACK = ${WITH_DLT_FILE_LOGGING_
message(STATUS "WITH_DLT_LOG_LEVEL_APP_CONFIG = ${WITH_DLT_LOG_LEVEL_APP_CONFIG}")
message(STATUS "Change a value with: cmake -D<Variable>=<Value>")
message(STATUS "-------------------------------------------------------------------------------")
message(STATUS)
message(STATUS)

0 comments on commit ffa72b9

Please sign in to comment.