aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLeonid Lazarev <leonid.lazarev@orioninc.com>2020-07-09 16:59:44 +0300
committerScott Murray <scott.murray@konsulko.com>2020-09-23 16:16:32 +0000
commit08c57b7cc8ddcdbc40c65bd2c2cc40e7fda4d205 (patch)
tree7a77c4ae35888212ed323179c1f660bd0647cc1c /CMakeLists.txt
parent2b1651215ca05273138e657d168676c5c22a13e5 (diff)
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> (cherry picked from commit 329d8ba3fb46b8afc803ad4a9b286cd26141f2f8)
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt18
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 ./)