solanaceae_toxcore/CMakeLists.txt

42 lines
1.2 KiB
CMake
Raw Normal View History

2023-04-08 00:13:28 +02:00
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(solanaceae)
2023-10-11 01:17:46 +02:00
add_library(solanaceae_toxcore_interface INTERFACE
#./solanaceae/toxcore/toxcore_enums.hpp
2023-10-11 01:17:46 +02:00
#./solanaceae/toxcore/tox_interface.hpp
#./solanaceae/toxcore/tox_private_interface.hpp
2023-10-11 01:17:46 +02:00
)
target_include_directories(solanaceae_toxcore_interface INTERFACE .)
target_compile_features(solanaceae_toxcore_interface INTERFACE cxx_std_17)
2023-07-21 15:17:05 +02:00
add_library(solanaceae_toxcore
./solanaceae/toxcore/utils.hpp
./solanaceae/toxcore/utils.cpp
2023-04-08 00:13:28 +02:00
2023-07-23 12:13:09 +02:00
./solanaceae/toxcore/tox_key.hpp
./solanaceae/toxcore/tox_key.cpp
./solanaceae/toxcore/toxcore_enums.hpp
2023-07-21 15:17:05 +02:00
./solanaceae/toxcore/tox_interface.hpp
./solanaceae/toxcore/tox_interface.cpp
./solanaceae/toxcore/tox_event_interface.hpp
./solanaceae/toxcore/tox_private_interface.hpp
2023-04-08 00:13:28 +02:00
2023-07-21 15:17:05 +02:00
./solanaceae/toxcore/tox_default_impl.hpp
./solanaceae/toxcore/tox_default_impl.cpp
./solanaceae/toxcore/tox_event_provider_base.hpp
./solanaceae/toxcore/tox_event_provider_base.cpp
2023-04-08 00:13:28 +02:00
2023-07-21 15:17:05 +02:00
./solanaceae/toxcore/tox_event_logger.hpp
./solanaceae/toxcore/tox_event_logger.cpp
2023-04-08 00:13:28 +02:00
)
2023-07-21 15:17:05 +02:00
target_include_directories(solanaceae_toxcore PUBLIC .)
target_compile_features(solanaceae_toxcore PUBLIC cxx_std_17)
target_link_libraries(solanaceae_toxcore PUBLIC
2023-04-08 00:13:28 +02:00
toxcore
2023-10-11 01:17:46 +02:00
solanaceae_toxcore_interface
2023-04-08 00:13:28 +02:00
)