pull in the toxcore enums, so the interface does not directly depend on toxcore

This commit is contained in:
2023-11-12 19:35:55 +01:00
parent f8851c1033
commit 9cfd920fca
5 changed files with 312 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(solanaceae)
add_library(solanaceae_toxcore_interface INTERFACE
#./solanaceae/toxcore/toxcore_enums.hpp
#./solanaceae/toxcore/tox_interface.hpp
)
target_include_directories(solanaceae_toxcore_interface INTERFACE .)
@@ -15,6 +16,7 @@ add_library(solanaceae_toxcore
./solanaceae/toxcore/tox_key.hpp
./solanaceae/toxcore/tox_key.cpp
./solanaceae/toxcore/toxcore_enums.hpp
./solanaceae/toxcore/tox_interface.hpp
./solanaceae/toxcore/tox_interface.cpp
./solanaceae/toxcore/tox_event_interface.hpp