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
|
2023-11-12 19:35:55 +01:00
|
|
|
#./solanaceae/toxcore/toxcore_enums.hpp
|
2023-10-11 01:17:46 +02:00
|
|
|
#./solanaceae/toxcore/tox_interface.hpp
|
2023-11-13 13:24:02 +01:00
|
|
|
#./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
|
2023-07-23 12:13:09 +02:00
|
|
|
./solanaceae/toxcore/tox_key.hpp
|
|
|
|
./solanaceae/toxcore/tox_key.cpp
|
|
|
|
|
2023-11-12 19:35:55 +01:00
|
|
|
./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
|
2023-11-13 13:24:02 +01:00
|
|
|
./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
|
2024-01-13 22:54:38 +01:00
|
|
|
solanaceae_util
|
2023-04-08 00:13:28 +02:00
|
|
|
)
|
|
|
|
|