Skip to content
Snippets Groups Projects
Commit 1063dfb1 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

CMake rm option BATCH_MODE

parent 01043ed4
No related branches found
No related tags found
1 merge request!2502rm Pyenv from CI-script (partly reverting previous MR) because of versiondocs
...@@ -41,7 +41,7 @@ versiondocs: ...@@ -41,7 +41,7 @@ versiondocs:
- hugo version - hugo version
- mkdir build - mkdir build
- cd build - cd build
- time cmake .. -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBATCH_MODE=ON - time cmake .. -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBA_GUI=OFF
- time make -j8 - time make -j8
- time make -j8 webdoc - time make -j8 webdoc
- rm -rf ~www/ba/git-main/hugo-public - rm -rf ~www/ba/git-main/hugo-public
......
...@@ -48,7 +48,6 @@ option(DEV "Development: turns ALLCONFIG, ZERO_TOLERANCE, DEVELOPER_CHECKS on" O ...@@ -48,7 +48,6 @@ option(DEV "Development: turns ALLCONFIG, ZERO_TOLERANCE, DEVELOPER_CHECKS on" O
option(BA_COVERAGE "Build with test coverage information" OFF) option(BA_COVERAGE "Build with test coverage information" OFF)
option(BA_DEBUG_OPTIMIZATION "Build with debug optimization (gcc only)" OFF) option(BA_DEBUG_OPTIMIZATION "Build with debug optimization (gcc only)" OFF)
option(BA_TIDY "Invokes clang-tidy" OFF) option(BA_TIDY "Invokes clang-tidy" OFF)
option(BATCH_MODE "Suppress some output" OFF)
option(ALGORITHM_DIAGNOSTIC "Let some algorithms set diagnostic variables" OFF) option(ALGORITHM_DIAGNOSTIC "Let some algorithms set diagnostic variables" OFF)
option(BA_APPLE_BUNDLE "Create a MacOS bundle" OFF) option(BA_APPLE_BUNDLE "Create a MacOS bundle" OFF)
option(BA_CPP_API "Install header files" OFF) option(BA_CPP_API "Install header files" OFF)
...@@ -70,9 +69,6 @@ if(ALLCONFIG) ...@@ -70,9 +69,6 @@ if(ALLCONFIG)
set(CONFIGURE_EXAMPLES ON) set(CONFIGURE_EXAMPLES ON)
set(CONFIGURE_DOXY ON) set(CONFIGURE_DOXY ON)
endif() endif()
if(BATCH_MODE)
set(BA_GUI OFF)
endif()
# check compatibility of options # check compatibility of options
......
...@@ -13,9 +13,6 @@ file(GLOB include_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} */*.h) ...@@ -13,9 +13,6 @@ file(GLOB include_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} */*.h)
# --- make the library --- # --- make the library ---
add_library(${lib} SHARED) add_library(${lib} SHARED)
if(BATCH_MODE)
target_compile_definitions(${lib} PRIVATE SILENT_PROGRESS=ON)
endif()
MakeLib(${lib} "${CMAKE_CURRENT_BINARY_DIR}/Wrap" "${source_files}" "${include_files}") MakeLib(${lib} "${CMAKE_CURRENT_BINARY_DIR}/Wrap" "${source_files}" "${include_files}")
# --- external dependences --- # --- external dependences ---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment