|
|
@ -10,9 +10,12 @@ endif () |
|
|
|
add_executable("f2b" ${SOURCES}) |
|
|
|
add_executable("f2b" ${SOURCES}) |
|
|
|
target_link_libraries(f2b "dl") |
|
|
|
target_link_libraries(f2b "dl") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS "f2b" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/sbin") |
|
|
|
|
|
|
|
|
|
|
|
if (WITH_CLIENT) |
|
|
|
if (WITH_CLIENT) |
|
|
|
set(SOURCES "strlcpy.c" "log.c" "client.c" "cmsg.c" "commands.c" "csocket.c") |
|
|
|
set(SOURCES "strlcpy.c" "log.c" "client.c" "cmsg.c" "commands.c" "csocket.c") |
|
|
|
add_executable("f2bc" ${SOURCES}) |
|
|
|
add_executable("f2bc" ${SOURCES}) |
|
|
|
|
|
|
|
install(TARGETS "f2bc" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
set(SOURCES "strlcpy.c" "backend-test.c" "log.c" "config.c" "backend.c") |
|
|
|
set(SOURCES "strlcpy.c" "backend-test.c" "log.c" "config.c" "backend.c") |
|
|
@ -23,8 +26,5 @@ set(SOURCES "strlcpy.c" "filter-test.c" "log.c" "config.c" "filter.c") |
|
|
|
add_executable("filter-test" ${SOURCES}) |
|
|
|
add_executable("filter-test" ${SOURCES}) |
|
|
|
target_link_libraries("filter-test" "dl") |
|
|
|
target_link_libraries("filter-test" "dl") |
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS f2b |
|
|
|
|
|
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory("backends") |
|
|
|
add_subdirectory("backends") |
|
|
|
add_subdirectory("filters") |
|
|
|
add_subdirectory("filters") |
|
|
|