diff options
author | Leonid Lazarev <leonid.lazarev@orioninc.com> | 2020-07-09 16:59:44 +0300 |
---|---|---|
committer | Leonid Lazarev <leonid.lazarev@orioninc.com> | 2020-09-10 10:31:30 +0300 |
commit | 329d8ba3fb46b8afc803ad4a9b286cd26141f2f8 (patch) | |
tree | df2d117410e98abc20c86f3a35cecdacb53e6793 /CMakeLists.txt | |
parent | 0cecffd4565b52bd8d200f6bc9f4144f244a6515 (diff) |
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 <leonid.lazarev@orioninc.com>
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 18 |
1 files changed, 4 insertions, 14 deletions
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 ./) |