From c69d7066401e0b451af58e1b277de8052e2b7e16 Mon Sep 17 00:00:00 2001 From: Armin Co <armin.co@hs-bochum.de> Date: Mon, 26 Oct 2020 22:02:37 +0100 Subject: [PATCH] Build library --- CMakeLists.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c42bf21..5a79f74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,17 +35,17 @@ include_directories(src/smart_grid) # Add OPC UA # if(BUILD_OPC_UA_FOR_INSTALL) -# macro(SET_OPTION option value) -# set(${option} ${value} CACHE "" INTERNAL FORCE) -# endmacro() -# option(BUILD_CLIENT "Build Client" OFF) -# option(BUILD_SERVER "Build Server" ON) -# -# option(SSL_SUPPORT_MBEDTLS "Support rsa-oaep password encryption using mbedtls library " OFF) -# -# option(BUILD_PYTHON "Build Python bindings" OFF) -# option(BUILD_TESTING "Build and run tests" OFF) -# option(BUILD_SHARED_LIBS "Build shared libraries." ON) +macro(SET_OPTION option value) +set(${option} ${value} CACHE "" INTERNAL FORCE) +endmacro() +option(BUILD_CLIENT "Build Client" ON) +option(BUILD_SERVER "Build Server" ON) + +option(SSL_SUPPORT_MBEDTLS "Support rsa-oaep password encryption using mbedtls library " OFF) + +option(BUILD_PYTHON "Build Python bindings" OFF) +option(BUILD_TESTING "Build and run tests" OFF) +option(BUILD_SHARED_LIBS "Build shared libraries." ON) add_subdirectory(libs/freeopcua) # endif(BUILD_OPC_UA_FOR_INSTALL) -- GitLab