Skip to content

Commit

Permalink
define target names
Browse files Browse the repository at this point in the history
  • Loading branch information
d3x0r committed Jul 6, 2023
1 parent 83b97f7 commit 52c102d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/linux_ban_scanner/portable/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,27 @@ set(TAIL_SOURCES
${SOURCES_ROOT}/src/deadstart/deadstart_core.c
)

add_executable(${project} ${BASE_SOURCES} ../syslog_scanner.c ${TAIL_SOURCES} )
sack_add_executable(${project} ${BASE_SOURCES} ../syslog_scanner.c ${TAIL_SOURCES} )
SET_PROPERTY(TARGET ${project} APPEND PROPERTY COMPILE_DEFINITIONS "STANDALONE_HEADER;__NO_IDLE__;__NO_INTERFACE_SUPPORT__;__STATIC__;__STATIC_GLOBALS__;SACK_BAG_EXPORTS;__NO_OPTIONS__;__NO_DEFAULT_INTERFACES__;__NO_NETWORK__;__DISABLE_UDP_SYSLOG__;NO_DEADSTART_DLLMAIN" )
SET_TARGET_PROPERTIES(${project} PROPERTIES
FOLDER utils/vfs
)
SET_TARGET_PROPERTIES(${project} PROPERTIES
COMPILE_FLAGS "-DTARGET_LABEL=${TARGET_LABEL};-DTARGET_NAME=""project"" "
COMPILE_FLAGS "-DTARGET_LABEL=${TARGET_LABEL}"
FOLDER utils
)
target_link_libraries( ${project} ${SACK_PLATFORM_LIBRARIES} )
install_default_dest( ${project} )


set( project linux_postfix_scanner.portable )
add_executable(${project} ${BASE_SOURCES} ../postfix_scanner.c ${TAIL_SOURCES} )
sack_add_executable(${project} ${BASE_SOURCES} ../postfix_scanner.c ${TAIL_SOURCES} )
SET_PROPERTY(TARGET ${project} APPEND PROPERTY COMPILE_DEFINITIONS "STANDALONE_HEADER;__NO_IDLE__;__NO_INTERFACE_SUPPORT__;__STATIC__;__STATIC_GLOBALS__;SACK_BAG_EXPORTS;__NO_OPTIONS__;__NO_DEFAULT_INTERFACES__;__NO_NETWORK__;__DISABLE_UDP_SYSLOG__;NO_DEADSTART_DLLMAIN" )
SET_TARGET_PROPERTIES(${project} PROPERTIES
FOLDER utils/vfs
)
SET_TARGET_PROPERTIES(${project} PROPERTIES
COMPILE_FLAGS "-DTARGET_LABEL=${TARGET_LABEL};-DTARGET_NAME=""project"" "
COMPILE_FLAGS "-DTARGET_LABEL=${TARGET_LABEL}"
FOLDER utils
)
target_link_libraries( ${project} ${SACK_PLATFORM_LIBRARIES} )
Expand Down

0 comments on commit 52c102d

Please sign in to comment.