generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
24 lines (15 loc) · 819 Bytes
/
CMakeLists.txt
File metadata and controls
24 lines (15 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required(VERSION 3.15)
project(DeviceDefender LANGUAGES C)
# ------------------------------------------------------------------------------
# Includes
# ------------------------------------------------------------------------------
include(${CMAKE_CURRENT_LIST_DIR}/defenderFilePaths.cmake)
# ------------------------------------------------------------------------------
# Library targets
# ------------------------------------------------------------------------------
add_library( aws_device_defender )
target_sources( aws_device_defender PUBLIC ${DEFENDER_SOURCES} )
target_include_directories( aws_device_defender PUBLIC ${DEFENDER_INCLUDE_PUBLIC_DIRS} )
if(STANDALONE_TEST_BUILD_UNIX)
target_compile_definitions( aws_device_defender PUBLIC DEFENDER_DO_NOT_USE_CUSTOM_CONFIG=1 )
endif()