diff --git a/CMakeLists.txt b/CMakeLists.txt index 09a649b92..4612e1287 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ option(SLS_BUILD_DOCS "docs" OFF) option(SLS_BUILD_EXAMPLES "examples" OFF) option(SLS_TUNE_LOCAL "tune to local machine" OFF) option(SLS_DEVEL_HEADERS "install headers for devel" OFF) +option(SLS_USE_MOENCH "compile zmq and post processing for Moench" OFF) # set(ClangFormat_BIN_NAME clang-format) set(ClangFormat_EXCLUDE_PATTERNS "build/" @@ -229,6 +230,11 @@ if(SLS_BUILD_DOCS) add_subdirectory(docs) endif(SLS_BUILD_DOCS) + +if(SLS_USE_MOENCH) + add_subdirectory(slsDetectorCalibration/moenchExecutables) +endif(SLS_USE_MOENCH) + if(SLS_MASTER_PROJECT) # Set install dir CMake packages set(CMAKE_INSTALL_DIR "share/cmake/${PROJECT_NAME}") diff --git a/cmk.sh b/cmk.sh index 98e11a684..945c3a5d6 100755 --- a/cmk.sh +++ b/cmk.sh @@ -12,6 +12,7 @@ TESTS=0 SIMULATOR=0 CTBGUI=0 MANUALS=0 +MOENCHZMQ=0 CLEAN=0 @@ -20,7 +21,7 @@ CMAKE_PRE="" CMAKE_POST="" usage() { echo -e " -Usage: $0 [-c] [-b] [-p] [e] [t] [r] [g] [s] [u] [i] [m] [-h] [-d ] [-j] +Usage: $0 [-c] [-b] [-p] [e] [t] [r] [g] [s] [u] [i] [m] [-h] [z] [-d ] [-j] -[no option]: only make -c: Clean -b: Builds/Rebuilds CMake files normal mode @@ -36,6 +37,7 @@ Usage: $0 [-c] [-b] [-p] [e] [t] [r] [g] [s] [u] [i] [m] [-h] [-d