Commit 8b2306dd authored by Dominik Charousset's avatar Dominik Charousset

Remove old cppa variables from build script

parent 52f0a9b1
...@@ -99,7 +99,7 @@ endif (HAVE_VALGRIND_H) ...@@ -99,7 +99,7 @@ endif (HAVE_VALGRIND_H)
# set build type (evaluate CAF_ENABLE_RUNTIME_CHECKS flag) # set build type (evaluate CAF_ENABLE_RUNTIME_CHECKS flag)
if (CAF_ENABLE_RUNTIME_CHECKS) if (CAF_ENABLE_RUNTIME_CHECKS)
add_definitions(-DCAF_ENABLE_RUNTIME_CHECKS) add_definitions(-DCAF_ENABLE_RUNTIME_CHECKS)
message(STATUS "Enable libcaf's debug mode") message(STATUS "Enable runtime checks")
endif (CAF_ENABLE_RUNTIME_CHECKS) endif (CAF_ENABLE_RUNTIME_CHECKS)
if (ENABLE_ADDRESS_SANITIZER) if (ENABLE_ADDRESS_SANITIZER)
...@@ -368,7 +368,7 @@ message(STATUS ...@@ -368,7 +368,7 @@ message(STATUS
"\nLibcaf version: ${LIBRARY_VERSION}" "\nLibcaf version: ${LIBRARY_VERSION}"
"\n" "\n"
"\nBuild type: ${CMAKE_BUILD_TYPE}" "\nBuild type: ${CMAKE_BUILD_TYPE}"
"\nDebug mode: ${DEBUG_MODE_STR}" "\nRuntime checks: ${DEBUG_MODE_STR}"
"\nLog level: ${LOG_LEVEL_STR}" "\nLog level: ${LOG_LEVEL_STR}"
"\nBuild examples: ${BUILD_EXAMPLES}" "\nBuild examples: ${BUILD_EXAMPLES}"
"\nBuild unit tests: ${BUILD_UNIT_TESTS}" "\nBuild unit tests: ${BUILD_UNIT_TESTS}"
...@@ -387,6 +387,4 @@ message(STATUS ...@@ -387,6 +387,4 @@ message(STATUS
"\nLibrary path: ${LIBRARY_OUTPUT_PATH}" "\nLibrary path: ${LIBRARY_OUTPUT_PATH}"
"\nInstall prefix: ${CMAKE_INSTALL_PREFIX}" "\nInstall prefix: ${CMAKE_INSTALL_PREFIX}"
"\n" "\n"
"\nBoost: ${Boost_INCLUDE_DIR}"
"\n"
"\n===========================================================\n") "\n===========================================================\n")
...@@ -201,19 +201,19 @@ while [ $# -ne 0 ]; do ...@@ -201,19 +201,19 @@ while [ $# -ne 0 ]; do
level=`echo "$optarg" | tr '[:lower:]' '[:upper:]'` level=`echo "$optarg" | tr '[:lower:]' '[:upper:]'`
case $level in case $level in
ERROR) ERROR)
append_cache_entry CPPA_LOG_LEVEL STRING 0 append_cache_entry CAF_LOG_LEVEL STRING 0
;; ;;
WARNING) WARNING)
append_cache_entry CPPA_LOG_LEVEL STRING 1 append_cache_entry CAF_LOG_LEVEL STRING 1
;; ;;
INFO) INFO)
append_cache_entry CPPA_LOG_LEVEL STRING 2 append_cache_entry CAF_LOG_LEVEL STRING 2
;; ;;
DEBUG) DEBUG)
append_cache_entry CPPA_LOG_LEVEL STRING 3 append_cache_entry CAF_LOG_LEVEL STRING 3
;; ;;
TRACE) TRACE)
append_cache_entry CPPA_LOG_LEVEL STRING 4 append_cache_entry CAF_LOG_LEVEL STRING 4
;; ;;
*) *)
echo "Invalid log level '$level'. Try '$0 --help' to see valid values." echo "Invalid log level '$level'. Try '$0 --help' to see valid values."
...@@ -243,22 +243,22 @@ while [ $# -ne 0 ]; do ...@@ -243,22 +243,22 @@ while [ $# -ne 0 ]; do
dualbuild=1 dualbuild=1
;; ;;
--no-examples) --no-examples)
append_cache_entry CPPA_NO_EXAMPLES STRING yes append_cache_entry CAF_NO_EXAMPLES STRING yes
;; ;;
--no-qt-examples) --no-qt-examples)
append_cache_entry CPPA_NO_QT_EXAMPLES STRING yes append_cache_entry CAF_NO_QT_EXAMPLES STRING yes
;; ;;
--no-protobuf-examples) --no-protobuf-examples)
append_cache_entry CPPA_NO_PROTOBUF_EXAMPLES STRING yes append_cache_entry CAF_NO_PROTOBUF_EXAMPLES STRING yes
;; ;;
--no-unit-tests) --no-unit-tests)
append_cache_entry CPPA_NO_UNIT_TESTS STRING yes append_cache_entry CAF_NO_UNIT_TESTS STRING yes
;; ;;
--build-static) --build-static)
append_cache_entry CPPA_BUILD_STATIC STRING yes append_cache_entry CAF_BUILD_STATIC STRING yes
;; ;;
--build-static-only) --build-static-only)
append_cache_entry CPPA_BUILD_STATIC_ONLY STRING yes append_cache_entry CAF_BUILD_STATIC_ONLY STRING yes
;; ;;
*) *)
echo "Invalid option '$1'. Try $0 --help to see available options." echo "Invalid option '$1'. Try $0 --help to see available options."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment