ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
clamav/examples/CMakeLists.txt

22 lines
601 B

# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
#
# Example executables
#
add_executable(ex1)
target_sources(ex1
PRIVATE ex1.c)
set_target_properties( ex1 PROPERTIES COMPILE_FLAGS "${WARNCFLAGS}" )
target_link_libraries(ex1
PRIVATE
ClamAV::libclamav)
if(ENABLE_STATIC_LIB)
add_executable(ex1_static)
set_target_properties( ex1_static PROPERTIES COMPILE_FLAGS "${WARNCFLAGS}" )
target_sources(ex1_static
PRIVATE ex1.c)
target_link_libraries(ex1_static
PRIVATE
ClamAV::libclamav_static)
endif()