From 1b3c8b3d10fbc9a8dd9c717a939babd901b0b243 Mon Sep 17 00:00:00 2001 From: Christoph Lipka Date: Fri, 21 Dec 2018 10:31:38 +0100 Subject: CMake: Set default configuration Signed-off-by: Christoph Lipka --- CMakeLists.txt | 10 +++++----- README.md | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f57b174..782e50a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,17 +56,17 @@ option(WITH_SYSTEMD "Set to ON to create unit files and systemd check option(WITH_SYSTEMD_WATCHDOG "Set to ON to use the systemd watchdog in dlt-daemon" OFF) option(WITH_SYSTEMD_JOURNAL "Set to ON to use the systemd journal in dlt-system" OFF) option(WITH_DOC "Set to ON to build documentation target" OFF ) -option(WITH_MAN "Set to ON to build man pages" ON ) +option(WITH_MAN "Set to ON to build man pages" OFF ) option(WITH_CHECK_CONFIG_FILE "Set to ON to create a configure file of CheckIncludeFiles and CheckFunctionExists " OFF ) option(WITH_TESTSCRIPTS "Set to ON to run CMakeLists.txt in testscripts" OFF ) option(WITH_GPROF "Set -pg to compile flags" OFF ) option(WITH_DLTTEST "Set to ON to build with modifications to test User-Daemon communication with corrupt messages" OFF) option(WITH_DLT_SHM_ENABLE "EXPERIMENTAL! Set to ON to use shared memory as IPC. EXPERIMENTAL!" OFF ) -option(WITH_DLT_ADAPTOR "Set to ON to build src/adaptor binaries" ON) +option(WITH_DLT_ADAPTOR "Set to ON to build src/adaptor binaries" OFF) option(WITH_DLT_CONSOLE "Set to ON to build src/console binaries" ON) option(WITH_DLT_EXAMPLES "Set to ON to build src/examples binaries" ON) -option(WITH_DLT_SYSTEM "Set to ON to build src/system binaries" ON) -option(WITH_DLT_DBUS "Set to ON to build src/dbus binaries" ON) +option(WITH_DLT_SYSTEM "Set to ON to build src/system binaries" OFF) +option(WITH_DLT_DBUS "Set to ON to build src/dbus binaries" OFF) option(WITH_DLT_TESTS "Set to ON to build src/test binaries" ON) option(WITH_DLT_UNIT_TESTS "Set to ON to build gtest framework and tests/binaries" OFF) @@ -78,7 +78,7 @@ option(WITH_DLT_COREDUMPHANDLER "EXPERIMENTAL! Set to ON to build src/core_d option(WITH_DLT_LOGSTORAGE_CTRL_UDEV "PROTOTYPE! Set to ON to build logstorage control application with udev support" OFF) option(WITH_DLT_LOGSTORAGE_CTRL_PROP "PROTOTYPE! Set to ON to build logstorage control application with proprietary support" OFF) option(WITH_DLT_USE_IPv6 "Set to ON for IPv6 support" ON) -option(WITH_DLT_KPI "Set to ON to build src/kpi binaries" ON) +option(WITH_DLT_KPI "Set to ON to build src/kpi binaries" OFF) option(WITH_DLT_FATAL_LOG_TRAP "Set to ON to enable DLT_LOG_FATAL trap (trigger segv inside dlt-user library)" OFF) # RPM settings diff --git a/README.md b/README.md index a2f86e6..c037e2a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ optional: sudo ldconfig` Option | Value | Comment :--- | :--- | :--- BUILD_SHARED_LIBS | ON | Set to OFF to build static libraries -DLT_IPC |"FIFO" | Set to either "UNIX_SOCKET" or"FIFO" +DLT_IPC |"FIFO" | Set to either "UNIX_SOCKET" or "FIFO" WITH_DLT_USE_IPv6 | ON | Set to ON for IPv6 support WITH_DLT_EXAMPLES | ON | Set to ON to build src/examples binaries DLT_USER | genivi | Set user for process not run as root @@ -55,12 +55,12 @@ CMAKE_BUILD_TYPE | RelWithDebInfo #### Command Line Tool Options Option | Value | Comment :--- | :--- | :--- -WITH_DLT_ADAPTOR | ON | Set to ON to build src/adaptor binaries +WITH_DLT_ADAPTOR | OFF | Set to ON to build src/adaptor binaries WITH_DLT_CONSOLE | ON | Set to ON to build src/console binaries -WITH_DLT_SYSTEM | ON | Set to ON to build src/system binaries +WITH_DLT_SYSTEM | OFF | Set to ON to build src/system binaries WITH_DLT_LOGSTORAGE_CTRL_UDEV | OFF | PROTOTYPE! Set to ON to build WITH_DLT_LOGSTORAGE_CTRL_PROP | OFF | PROTOTYPE! Set to ON to build logstorage control application with proprietary support -WITH_DLT_KPI | ON | Set to ON to build src/kpi binaries +WITH_DLT_KPI | OFF | Set to ON to build src/kpi binaries #### Linux OS Integration Options Option | Value | Comment @@ -68,13 +68,13 @@ WITH_DLT_KPI | ON | Set to ON to build src/kpi bina WITH_SYSTEMD | OFF | Set to ON to run CMakeLists.txt in systemd WITH_SYSTEMD_WATCHDOG | OFF | Set to ON to use the systemd watchdog in dlt-daemon WITH_SYSTEMD_JOURNAL | OFF | Set to ON to use the systemd journal in dlt-system -WITH_DLT_DBUS | ON | Set to ON to build src/dbus binaries +WITH_DLT_DBUS | OFF | Set to ON to build src/dbus binaries #### Documentation Options Option | Value | Comment :--- | :--- | :--- WITH_DOC | OFF | Set to ON to build documentation target -WITH_MAN | ON | Set to OFF to skip building of man pages +WITH_MAN | OFF | Set to OFF to skip building of man pages #### Test Options Option | Value | Comment @@ -82,7 +82,7 @@ Option | Value | Comment WITH_TESTSCRIPTS | OFF | Set to ON to run CMakeLists.txt in test scripts WITH_DLT_TESTS | ON | Set to ON to build src/test binaries WITH_DLTTEST | OFF | Set to ON to build with modifications to test User-Daemon communication with corrupt messages -WITH_DLT_UNIT_TESTS | ON | Set to ON to build unit test binaries +WITH_DLT_UNIT_TESTS | OFF | Set to ON to build unit test binaries WITH_GPROF | OFF | Set \-pg to compile flag #### Experimental Features Options -- cgit v1.2.1