blob: 897824b1b539ee2a374580ae247700a61ba7addb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 3.5 is the minimum version supported by Tink and its dependencies.
cmake_minimum_required(VERSION 3.5)
project(TinkHelloWorld CXX)
set(CMAKE_BUILD_TYPE Release)
set(TINK_ENABLE_TESTS false)
# Import Tink as an in-tree dependency.
add_subdirectory(../../.. "${CMAKE_CURRENT_BINARY_DIR}/tink")
add_executable(hello_world hello_world.cc)
target_link_libraries(hello_world
tink
tink::core::cleartext_keyset_handle
tink::config::tink_config
tink::util::status
)
|