# Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # @file CMakeLists.txt # @author Bartlomiej Grzelewski (b.grzelewski@samsung.com) # @brief # SET(CKM_SOURCES algo-params.cpp async-api.cpp capi-certificate-chains.cpp capi-testcases.cpp encryption-decryption-env.cpp encryption-decryption.cpp sign-verify.cpp main.cpp ) FIND_PACKAGE (Threads) INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/src/common .. . ) ADD_EXECUTABLE(${TARGET_CKM_TESTS} ${CKM_SOURCES}) TARGET_LINK_LIBRARIES(${TARGET_CKM_TESTS} ${TARGET_CKM_TEST_COMMON} ${COMMON_TARGET_TEST} ${CMAKE_THREAD_LIBS_INIT} ) INSTALL(TARGETS ${TARGET_CKM_TESTS} DESTINATION bin)