mirror of
https://github.com/danog/pif-tdpony.git
synced 2024-11-27 04:14:44 +01:00
13 lines
333 B
CMake
13 lines
333 B
CMake
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
|
|
|
project(PifTDPony VERSION 1.0 LANGUAGES CXX)
|
|
|
|
add_subdirectory(td)
|
|
include_directories(td/td/generate/auto)
|
|
include_directories(td/tdutils)
|
|
|
|
add_library(pif SHARED main.cpp)
|
|
target_link_libraries(pif PRIVATE Td::TdJsonStatic phpcpp)
|
|
set_property(TARGET pif PROPERTY CXX_STANDARD 14)
|