1
0
mirror of https://github.com/danog/ton.git synced 2024-12-04 02:18:00 +01:00
ton/example/cpp/CMakeLists.txt

15 lines
485 B
CMake
Raw Normal View History

2019-09-07 12:03:22 +02:00
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(TonExample VERSION 1.0 LANGUAGES CXX)
find_package(Tonlib 0.5 REQUIRED)
add_executable(tonjson_example tonjson_example.cpp)
target_link_libraries(tonjson_example PRIVATE Tonlib::TonlibJson)
set_property(TARGET tonjson_example PROPERTY CXX_STANDARD 11)
add_executable(tonlib_example tonlib_example.cpp)
target_link_libraries(tonlib_example PRIVATE Tonlib::Tonlib)
set_property(TARGET tonlib_example PROPERTY CXX_STANDARD 14)