2 # Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 PROJECT(${PROJECT_NAME}-engine-unit-tests)
23 ../server/file-footer.cpp
24 ../server/kernel-keyring.cpp
25 ../server/engine/ext4-engine.cpp
26 ../server/engine/ecryptfs-engine.cpp
27 ../server/key-manager/key-generator.cpp
28 ../server/key-manager/anti-forensics.cpp
29 ../server/ext4-tool.cpp
30 ../server/progress-bar.cpp
33 ADD_EXECUTABLE(${PROJECT_NAME} ${TEST_SRC})
35 PKG_CHECK_MODULES(TEST_DEPS REQUIRED klay
42 INCLUDE_DIRECTORIES(SYSTEM ${TEST_DEPS_INCLUDE_DIRS} ../server)
44 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${TEST_DEPS_LIBRARIES})
46 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)