sketch out interface and impl

This commit is contained in:
2023-10-25 02:23:39 +02:00
parent d2c9de4992
commit 9236a26d92
5 changed files with 181 additions and 69 deletions

View File

@@ -1,7 +1,10 @@
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
add_library(solanaceae_clamav
./solanaceae/clamav/test_lib.cpp
# TODO: seperate interface lib
./solanaceae/clamav/clamav_module_interface.hpp
./solanaceae/clamav/clamav_module.hpp
./solanaceae/clamav/clamav_module.cpp
)
target_include_directories(solanaceae_clamav PUBLIC .)
target_compile_features(solanaceae_clamav PUBLIC cxx_std_17)
@@ -16,7 +19,7 @@ add_executable(solanaceae_clamav_test
target_include_directories(solanaceae_clamav_test PUBLIC .)
target_compile_features(solanaceae_clamav_test PUBLIC cxx_std_17)
target_link_libraries(solanaceae_clamav_test PUBLIC
EXT_SOL::libclamav
solanaceae_clamav
#solanaceae_util
)