summaryrefslogtreecommitdiffstats
path: root/src/klammail
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-25 15:48:29 +0200
committerMavridis Philippe <[email protected]>2021-01-25 15:48:29 +0200
commit3988d0b5dd1614839cee5a6aa23439cc156efe2d (patch)
treebf9b1f58ac0f799a9895aae701d7af93107f06b9 /src/klammail
parentc06676f232466dcc7917299b75f5296ff830b01c (diff)
downloadklamav-3988d0b5dd1614839cee5a6aa23439cc156efe2d.tar.gz
klamav-3988d0b5dd1614839cee5a6aa23439cc156efe2d.zip
CMake conversion
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/klammail')
-rw-r--r--src/klammail/CMakeLists.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/klammail/CMakeLists.txt b/src/klammail/CMakeLists.txt
new file mode 100644
index 0000000..235fc9d
--- /dev/null
+++ b/src/klammail/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/src
+ ${LIBCLAMAV_INCLUDE_DIR}
+)
+
+##### klammail (executable)
+
+tde_add_executable( klammail AUTOMOC
+
+ SOURCES
+ clamdmail.c options.c output.c memory.c cfgparser.c client.c
+
+ LINK
+ ${LIBCLAMAV_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)