From 329d8ba3fb46b8afc803ad4a9b286cd26141f2f8 Mon Sep 17 00:00:00 2001 From: Leonid Lazarev Date: Thu, 9 Jul 2020 16:59:44 +0300 Subject: Add tests for cloudproxy service Test cases for basic functionality verification have been added. Build of the application has been adapted for Cmake templates usage. Bug-AGL: SPEC-3485 Change-Id: Iaa4a5e393ac9971be4176e90fa5aee10a4673cd3 Signed-off-by: Leonid Lazarev --- CMakeLists.txt | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a7f89ba..23a915f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,20 +14,10 @@ # limitations under the License. ########################################################################### -project(CloudProxyService C CXX) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3) -cmake_minimum_required(VERSION 3.0) +project(CloudProxyService) -set(PROJECT_NAME "CloudProxy Service") -set(PROJECT_VERSION "1.0") -set(PROJECT_DESCRIPTION "CloudProxy Service") -set(PROJECT_INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}) -set(PROJECT_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) -set(binding_install_dir ${PREFIX}/lib/cloudproxy) -set(PROJECT_BINDINGDIR ${binding_install_dir}) +include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake) -# get pkgconfig -INCLUDE(FindPkgConfig) -link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined) - -add_subdirectory(src) +install(DIRECTORY etc DESTINATION ./) -- cgit 1.2.3-korg