Commit 52f7306f authored by Jørgen Lind's avatar Jørgen Lind
Browse files

Don't build samples and tests for cpp-rest-sdk

parent 894d55ef
...@@ -22,7 +22,7 @@ function(BuildCppRestSdk) ...@@ -22,7 +22,7 @@ function(BuildCppRestSdk)
list(APPEND CPPRESTSDK_LIBS_LIST_DEBUG "lib${LIBSUFFIX}/libcpprest.so.2.10") list(APPEND CPPRESTSDK_LIBS_LIST_DEBUG "lib${LIBSUFFIX}/libcpprest.so.2.10")
list(APPEND CPPRESTSDK_LIBS_LIST_DEBUG "lib${LIBSUFFIX}/libcpprest.so") list(APPEND CPPRESTSDK_LIBS_LIST_DEBUG "lib${LIBSUFFIX}/libcpprest.so")
endif() endif()
BuildExternal(cpp-rest-api ${cpprestapi_VERSION} "" ${cpprestapi_SOURCE_DIR} "${CPPRESTSDK_LIBS_LIST_RELEASE}" "${CPPRESTSDK_DLLS_LIST_RELEASE}" "${CPPRESTSDK_LIBS_LIST_DEBUG}" "${CPPRESTSDK_DLLS_LIST_DEBUG}" "-DCPPREST_EXCLUDE_WEBSOCKETS=ON;-DCPPREST_EXCLUDE_COMPRESSION=ON;-DCPPREST_EXCLUDE_BROTLI=ON;-DWERROR=OFF") BuildExternal(cpp-rest-api ${cpprestapi_VERSION} "" ${cpprestapi_SOURCE_DIR} "${CPPRESTSDK_LIBS_LIST_RELEASE}" "${CPPRESTSDK_DLLS_LIST_RELEASE}" "${CPPRESTSDK_LIBS_LIST_DEBUG}" "${CPPRESTSDK_DLLS_LIST_DEBUG}" "-DCPPREST_EXCLUDE_WEBSOCKETS=ON;-DCPPREST_EXCLUDE_COMPRESSION=ON;-DCPPREST_EXCLUDE_BROTLI=ON;-DWERROR=OFF;-DBUILD_TESTS=OFF;-DBUILD_SAMPLES=OFF")
set(cpp-rest-api_INSTALL_INT_CONFIG ${cpp-rest-api_INSTALL_INT_CONFIG} PARENT_SCOPE) set(cpp-rest-api_INSTALL_INT_CONFIG ${cpp-rest-api_INSTALL_INT_CONFIG} PARENT_SCOPE)
#add_definitions(-DUSE_IMPORT_EXPORT) #add_definitions(-DUSE_IMPORT_EXPORT)
......
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