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 #./solanaceae/toxcore/tox_private_interface.hpp ) target_include_directories(solanaceae_toxcore_interface INTERFACE .) target_compile_features(solanaceae_toxcore_interface INTERFACE cxx_std_17) add_library(solanaceae_toxcore ./solanaceae/toxcore/utils.hpp ./solanaceae/toxcore/utils.cpp ./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 ./solanaceae/toxcore/tox_private_interface.hpp ./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 ./solanaceae/toxcore/tox_event_logger.hpp ./solanaceae/toxcore/tox_event_logger.cpp ) target_include_directories(solanaceae_toxcore PUBLIC .) target_compile_features(solanaceae_toxcore PUBLIC cxx_std_17) target_link_libraries(solanaceae_toxcore PUBLIC toxcore solanaceae_toxcore_interface )