mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-01 14:47:27 +02:00
chore: Optionally link net-snmp
This commit is contained in:
parent
f2ef62b2ca
commit
8411ea9cc2
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(AddressRangeDialogTest AddressRangeDialogTest.cpp main_AddressRangeDialogTest.cpp)
|
add_executable(AddressRangeDialogTest AddressRangeDialogTest.cpp main_AddressRangeDialogTest.cpp)
|
||||||
add_test(NAME AddressRangeDialogTest COMMAND AddressRangeDialogTest)
|
add_test(NAME AddressRangeDialogTest COMMAND AddressRangeDialogTest)
|
||||||
|
|
||||||
target_link_libraries(AddressRangeDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(AddressRangeDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(AddressRangeDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,7 +3,11 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(AddressTableTest AddressTableTest.cpp main.cpp)
|
add_executable(AddressTableTest AddressTableTest.cpp main.cpp)
|
||||||
add_test(NAME AddressTableTest COMMAND AddressTableTest)
|
add_test(NAME AddressTableTest COMMAND AddressTableTest)
|
||||||
|
|
||||||
target_link_libraries(AddressTableTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(AddressTableTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(AddressTableTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY addresstable-1.txt addresstable-2.txt DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY addresstable-1.txt addresstable-2.txt DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(CustomServiceDialogTest CustomServiceDialogTest.cpp main_CustomServiceDialogTest.cpp)
|
add_executable(CustomServiceDialogTest CustomServiceDialogTest.cpp main_CustomServiceDialogTest.cpp)
|
||||||
add_test(NAME CustomServiceDialogTest COMMAND CustomServiceDialogTest)
|
add_test(NAME CustomServiceDialogTest COMMAND CustomServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(CustomServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(CustomServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(CustomServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(DNSTest DNSTest.cpp main.cpp)
|
add_executable(DNSTest DNSTest.cpp main.cpp)
|
||||||
add_test(NAME DNSTest COMMAND DNSTest)
|
add_test(NAME DNSTest COMMAND DNSTest)
|
||||||
|
|
||||||
target_link_libraries(DNSTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(DNSTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(DNSTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(FirewallDialogTest FirewallDialogTest.cpp main_FirewallDialogTest.cpp)
|
add_executable(FirewallDialogTest FirewallDialogTest.cpp main_FirewallDialogTest.cpp)
|
||||||
add_test(NAME FirewallDialogTest COMMAND FirewallDialogTest)
|
add_test(NAME FirewallDialogTest COMMAND FirewallDialogTest)
|
||||||
|
|
||||||
target_link_libraries(FirewallDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(FirewallDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(FirewallDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(GroupObjectDialogTest GroupObjectDialogTest.cpp main_GroupObjectDialogTest.cpp)
|
add_executable(GroupObjectDialogTest GroupObjectDialogTest.cpp main_GroupObjectDialogTest.cpp)
|
||||||
add_test(NAME GroupObjectDialogTest COMMAND GroupObjectDialogTest)
|
add_test(NAME GroupObjectDialogTest COMMAND GroupObjectDialogTest)
|
||||||
|
|
||||||
target_link_libraries(GroupObjectDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(GroupObjectDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(GroupObjectDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(ICMP6ServiceDialogTest ICMP6ServiceDialogTest.cpp main_ICMP6ServiceDialogTest.cpp)
|
add_executable(ICMP6ServiceDialogTest ICMP6ServiceDialogTest.cpp main_ICMP6ServiceDialogTest.cpp)
|
||||||
add_test(NAME ICMP6ServiceDialogTest COMMAND ICMP6ServiceDialogTest)
|
add_test(NAME ICMP6ServiceDialogTest COMMAND ICMP6ServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(ICMP6ServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(ICMP6ServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(ICMP6ServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(ICMPServiceDialogTest ICMPServiceDialogTest.cpp main_ICMPServiceDialogTest.cpp)
|
add_executable(ICMPServiceDialogTest ICMPServiceDialogTest.cpp main_ICMPServiceDialogTest.cpp)
|
||||||
add_test(NAME ICMPServiceDialogTest COMMAND ICMPServiceDialogTest)
|
add_test(NAME ICMPServiceDialogTest COMMAND ICMPServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(ICMPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(ICMPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(ICMPServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(IPDialogTest IPDialogTest.cpp main_IPDialogTest.cpp)
|
add_executable(IPDialogTest IPDialogTest.cpp main_IPDialogTest.cpp)
|
||||||
add_test(NAME IPDialogTest COMMAND IPDialogTest)
|
add_test(NAME IPDialogTest COMMAND IPDialogTest)
|
||||||
|
|
||||||
target_link_libraries(IPDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(IPDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(IPDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(IPServiceDialogTest IPServiceDialogTest.cpp main_IPServiceDialogTest.cpp)
|
add_executable(IPServiceDialogTest IPServiceDialogTest.cpp main_IPServiceDialogTest.cpp)
|
||||||
add_test(NAME IPServiceDialogTest COMMAND IPServiceDialogTest)
|
add_test(NAME IPServiceDialogTest COMMAND IPServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(IPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(IPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(IPServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,7 +3,11 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(ImporterTest ImporterTest.cpp main_ImporterTest.cpp)
|
add_executable(ImporterTest ImporterTest.cpp main_ImporterTest.cpp)
|
||||||
add_test(NAME ImporterTest COMMAND ImporterTest)
|
add_test(NAME ImporterTest COMMAND ImporterTest)
|
||||||
|
|
||||||
target_link_libraries(ImporterTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(ImporterTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(ImporterTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test_data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test_data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(InterfaceDialogTest InterfaceDialogTest.cpp main_InterfaceDialogTest.cpp)
|
add_executable(InterfaceDialogTest InterfaceDialogTest.cpp main_InterfaceDialogTest.cpp)
|
||||||
add_test(NAME InterfaceDialogTest COMMAND InterfaceDialogTest)
|
add_test(NAME InterfaceDialogTest COMMAND InterfaceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(InterfaceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(InterfaceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(InterfaceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(NetworkDialogTest NetworkDialogTest.cpp main_NetworkDialogTest.cpp)
|
add_executable(NetworkDialogTest NetworkDialogTest.cpp main_NetworkDialogTest.cpp)
|
||||||
add_test(NAME NetworkDialogTest COMMAND NetworkDialogTest)
|
add_test(NAME NetworkDialogTest COMMAND NetworkDialogTest)
|
||||||
|
|
||||||
target_link_libraries(NetworkDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(NetworkDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(NetworkDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(ObjectManipulatorTest ObjectManipulatorTest.cpp main_ObjectManipulatorTest.cpp)
|
add_executable(ObjectManipulatorTest ObjectManipulatorTest.cpp main_ObjectManipulatorTest.cpp)
|
||||||
add_test(NAME ObjectManipulatorTest COMMAND ObjectManipulatorTest)
|
add_test(NAME ObjectManipulatorTest COMMAND ObjectManipulatorTest)
|
||||||
|
|
||||||
target_link_libraries(ObjectManipulatorTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(ObjectManipulatorTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(ObjectManipulatorTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,6 +3,10 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(ObjectMatcherTest ObjectMatcherTest.cpp main.cpp)
|
add_executable(ObjectMatcherTest ObjectMatcherTest.cpp main.cpp)
|
||||||
add_test(NAME ObjectMatcherTest COMMAND ObjectMatcherTest)
|
add_test(NAME ObjectMatcherTest COMMAND ObjectMatcherTest)
|
||||||
|
|
||||||
target_link_libraries(ObjectMatcherTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(ObjectMatcherTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(ObjectMatcherTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test_data.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test_data.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,7 +3,11 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(PFImporterTest PFImporterTest.cpp main_PFImporterTest.cpp)
|
add_executable(PFImporterTest PFImporterTest.cpp main_PFImporterTest.cpp)
|
||||||
add_test(NAME PFImporterTest COMMAND PFImporterTest)
|
add_test(NAME PFImporterTest COMMAND PFImporterTest)
|
||||||
|
|
||||||
target_link_libraries(PFImporterTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(PFImporterTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(PFImporterTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test_data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test_data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,11 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(PIXImporterTest PIXImporterTest.cpp main_PIXImporterTest.cpp)
|
add_executable(PIXImporterTest PIXImporterTest.cpp main_PIXImporterTest.cpp)
|
||||||
add_test(NAME PIXImporterTest COMMAND PIXImporterTest)
|
add_test(NAME PIXImporterTest COMMAND PIXImporterTest)
|
||||||
|
|
||||||
target_link_libraries(PIXImporterTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(PIXImporterTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(PIXImporterTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test_data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test_data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,6 +3,10 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(RCSTest RCSTest.cpp main_RCS.cpp)
|
add_executable(RCSTest RCSTest.cpp main_RCS.cpp)
|
||||||
add_test(NAME RCSTest COMMAND RCSTest)
|
add_test(NAME RCSTest COMMAND RCSTest)
|
||||||
|
|
||||||
target_link_libraries(RCSTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(RCSTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(RCSTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY rlog_unit_test.log "zu.fwb,v" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY rlog_unit_test.log "zu.fwb,v" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(RuleSetViewContextMenuTest RuleSetViewContextMenuTest.cpp main_RuleSetViewContextMenuTest.cpp)
|
add_executable(RuleSetViewContextMenuTest RuleSetViewContextMenuTest.cpp main_RuleSetViewContextMenuTest.cpp)
|
||||||
add_test(NAME RuleSetViewContextMenuTest COMMAND RuleSetViewContextMenuTest)
|
add_test(NAME RuleSetViewContextMenuTest COMMAND RuleSetViewContextMenuTest)
|
||||||
|
|
||||||
target_link_libraries(RuleSetViewContextMenuTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(RuleSetViewContextMenuTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(RuleSetViewContextMenuTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(RuleSetViewTest RuleSetViewTest.cpp main_RuleSetViewTest.cpp)
|
add_executable(RuleSetViewTest RuleSetViewTest.cpp main_RuleSetViewTest.cpp)
|
||||||
add_test(NAME RuleSetViewTest COMMAND RuleSetViewTest)
|
add_test(NAME RuleSetViewTest COMMAND RuleSetViewTest)
|
||||||
|
|
||||||
target_link_libraries(RuleSetViewTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(RuleSetViewTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(RuleSetViewTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(TCPServiceDialogTest TCPServiceDialogTest.cpp main_TCPServiceDialogTest.cpp)
|
add_executable(TCPServiceDialogTest TCPServiceDialogTest.cpp main_TCPServiceDialogTest.cpp)
|
||||||
add_test(NAME TCPServiceDialogTest COMMAND TCPServiceDialogTest)
|
add_test(NAME TCPServiceDialogTest COMMAND TCPServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(TCPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(TCPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(TCPServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(TagServiceDialogTest TagServiceDialogTest.cpp main_TagServiceDialogTest.cpp)
|
add_executable(TagServiceDialogTest TagServiceDialogTest.cpp main_TagServiceDialogTest.cpp)
|
||||||
add_test(NAME TagServiceDialogTest COMMAND TagServiceDialogTest)
|
add_test(NAME TagServiceDialogTest COMMAND TagServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(TagServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(TagServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(TagServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(UDPServiceDialogTest UDPServiceDialogTest.cpp main_UDPServiceDialogTest.cpp)
|
add_executable(UDPServiceDialogTest UDPServiceDialogTest.cpp main_UDPServiceDialogTest.cpp)
|
||||||
add_test(NAME UDPServiceDialogTest COMMAND UDPServiceDialogTest)
|
add_test(NAME UDPServiceDialogTest COMMAND UDPServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(UDPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(UDPServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(UDPServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(UsageResolverTest UsageResolverTest.cpp main_UsageResolverTest.cpp)
|
add_executable(UsageResolverTest UsageResolverTest.cpp main_UsageResolverTest.cpp)
|
||||||
add_test(NAME UsageResolverTest COMMAND UsageResolverTest)
|
add_test(NAME UsageResolverTest COMMAND UsageResolverTest)
|
||||||
|
|
||||||
target_link_libraries(UsageResolverTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(UsageResolverTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(UsageResolverTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(UserServiceDialogTest UserServiceDialogTest.cpp main_UserServiceDialogTest.cpp)
|
add_executable(UserServiceDialogTest UserServiceDialogTest.cpp main_UserServiceDialogTest.cpp)
|
||||||
add_test(NAME UserServiceDialogTest COMMAND UserServiceDialogTest)
|
add_test(NAME UserServiceDialogTest COMMAND UserServiceDialogTest)
|
||||||
|
|
||||||
target_link_libraries(UserServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(UserServiceDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(UserServiceDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -5,6 +5,10 @@ add_definitions(-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\")
|
|||||||
add_executable(compilerLibTest interfacePropertiesTest.cpp tests_main.cpp)
|
add_executable(compilerLibTest interfacePropertiesTest.cpp tests_main.cpp)
|
||||||
add_test(NAME compilerLibTest COMMAND compilerLibTest)
|
add_test(NAME compilerLibTest COMMAND compilerLibTest)
|
||||||
|
|
||||||
target_link_libraries(compilerLibTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(compilerLibTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(compilerLibTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,7 +3,11 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(generatedScriptTestsIpfilter generatedScriptTestsIpfilter.cpp main_generatedScriptTestsIpfilter.cpp)
|
add_executable(generatedScriptTestsIpfilter generatedScriptTestsIpfilter.cpp main_generatedScriptTestsIpfilter.cpp)
|
||||||
add_test(NAME generatedScriptTestsIpfilter COMMAND generatedScriptTestsIpfilter)
|
add_test(NAME generatedScriptTestsIpfilter COMMAND generatedScriptTestsIpfilter)
|
||||||
|
|
||||||
target_link_libraries(generatedScriptTestsIpfilter PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(generatedScriptTestsIpfilter PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(generatedScriptTestsIpfilter netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,11 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(generatedScriptTestsIpfw generatedScriptTestsIpfw.cpp main_generatedScriptTestsIpfw.cpp)
|
add_executable(generatedScriptTestsIpfw generatedScriptTestsIpfw.cpp main_generatedScriptTestsIpfw.cpp)
|
||||||
add_test(NAME generatedScriptTestsIpfw COMMAND generatedScriptTestsIpfw)
|
add_test(NAME generatedScriptTestsIpfw COMMAND generatedScriptTestsIpfw)
|
||||||
|
|
||||||
target_link_libraries(generatedScriptTestsIpfw PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(generatedScriptTestsIpfw PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(generatedScriptTestsIpfw netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,11 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(generatedScriptTestsLinux generatedScriptTestsLinux.cpp main_generatedScriptTestsLinux.cpp)
|
add_executable(generatedScriptTestsLinux generatedScriptTestsLinux.cpp main_generatedScriptTestsLinux.cpp)
|
||||||
add_test(NAME generatedScriptTestsLinux COMMAND generatedScriptTestsLinux)
|
add_test(NAME generatedScriptTestsLinux COMMAND generatedScriptTestsLinux)
|
||||||
|
|
||||||
target_link_libraries(generatedScriptTestsLinux PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(generatedScriptTestsLinux PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(generatedScriptTestsLinux netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,11 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(generatedScriptTestsPF generatedScriptTestsPF.cpp main_generatedScriptTestsPF.cpp)
|
add_executable(generatedScriptTestsPF generatedScriptTestsPF.cpp main_generatedScriptTestsPF.cpp)
|
||||||
add_test(NAME generatedScriptTestsPF COMMAND generatedScriptTestsPF)
|
add_test(NAME generatedScriptTestsPF COMMAND generatedScriptTestsPF)
|
||||||
|
|
||||||
target_link_libraries(generatedScriptTestsPF PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(generatedScriptTestsPF PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(generatedScriptTestsPF netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test1.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,11 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(generatedScriptTestsSecuwall generatedScriptTestsSecuwall.cpp main_generatedScriptTestsSecuwall.cpp)
|
add_executable(generatedScriptTestsSecuwall generatedScriptTestsSecuwall.cpp main_generatedScriptTestsSecuwall.cpp)
|
||||||
add_test(NAME generatedScriptTestsSecuwall COMMAND generatedScriptTestsSecuwall)
|
add_test(NAME generatedScriptTestsSecuwall COMMAND generatedScriptTestsSecuwall)
|
||||||
|
|
||||||
target_link_libraries(generatedScriptTestsSecuwall PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(generatedScriptTestsSecuwall PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(generatedScriptTestsSecuwall netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test1.fwb ref.secuwall-1 DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test1.fwb ref.secuwall-1 DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(genericDialogTest genericDialogTest.cpp main_genericDialogTest.cpp)
|
add_executable(genericDialogTest genericDialogTest.cpp main_genericDialogTest.cpp)
|
||||||
add_test(NAME genericDialogTest COMMAND genericDialogTest)
|
add_test(NAME genericDialogTest COMMAND genericDialogTest)
|
||||||
|
|
||||||
target_link_libraries(genericDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(genericDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(genericDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(instDialogClusterTest instDialogClusterTest.cpp main_instDialogClusterTest.cpp)
|
add_executable(instDialogClusterTest instDialogClusterTest.cpp main_instDialogClusterTest.cpp)
|
||||||
add_test(NAME instDialogClusterTest COMMAND instDialogClusterTest)
|
add_test(NAME instDialogClusterTest COMMAND instDialogClusterTest)
|
||||||
|
|
||||||
target_link_libraries(instDialogClusterTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(instDialogClusterTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(instDialogClusterTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(instDialogCompileTest instDialogCompileTest.cpp main_instDialogCompileTest.cpp)
|
add_executable(instDialogCompileTest instDialogCompileTest.cpp main_instDialogCompileTest.cpp)
|
||||||
add_test(NAME instDialogCompileTest COMMAND instDialogCompileTest)
|
add_test(NAME instDialogCompileTest COMMAND instDialogCompileTest)
|
||||||
|
|
||||||
target_link_libraries(instDialogCompileTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(instDialogCompileTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(instDialogCompileTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(instDialogInspectTest instDialogInspectTest.cpp main_instDialogInspectTest.cpp)
|
add_executable(instDialogInspectTest instDialogInspectTest.cpp main_instDialogInspectTest.cpp)
|
||||||
add_test(NAME instDialogInspectTest COMMAND instDialogInspectTest)
|
add_test(NAME instDialogInspectTest COMMAND instDialogInspectTest)
|
||||||
|
|
||||||
target_link_libraries(instDialogInspectTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(instDialogInspectTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(instDialogInspectTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(instDialogInstallTest instDialogInstallTest.cpp main_instDialogInstallTest.cpp)
|
add_executable(instDialogInstallTest instDialogInstallTest.cpp main_instDialogInstallTest.cpp)
|
||||||
add_test(NAME instDialogInstallTest COMMAND instDialogInstallTest)
|
add_test(NAME instDialogInstallTest COMMAND instDialogInstallTest)
|
||||||
|
|
||||||
target_link_libraries(instDialogInstallTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(instDialogInstallTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(instDialogInstallTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(instDialogObjectListTest instDialogObjectListTest.cpp main_instDialogObjectListTest.cpp)
|
add_executable(instDialogObjectListTest instDialogObjectListTest.cpp main_instDialogObjectListTest.cpp)
|
||||||
add_test(NAME instDialogObjectListTest COMMAND instDialogObjectListTest)
|
add_test(NAME instDialogObjectListTest COMMAND instDialogObjectListTest)
|
||||||
|
|
||||||
target_link_libraries(instDialogObjectListTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(instDialogObjectListTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(instDialogObjectListTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,6 +3,10 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(newClusterDialogTest newClusterDialogTest.cpp main_newClusterDialogTest.cpp)
|
add_executable(newClusterDialogTest newClusterDialogTest.cpp main_newClusterDialogTest.cpp)
|
||||||
add_test(NAME newClusterDialogTest COMMAND newClusterDialogTest)
|
add_test(NAME newClusterDialogTest COMMAND newClusterDialogTest)
|
||||||
|
|
||||||
target_link_libraries(newClusterDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(newClusterDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(newClusterDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY test.fwb DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|||||||
@ -3,4 +3,8 @@ set (CMAKE_AUTOMOC ON)
|
|||||||
add_executable(parseCommandLineTest parseCommandLineTest.cpp main_parseCommandLineTest.cpp)
|
add_executable(parseCommandLineTest parseCommandLineTest.cpp main_parseCommandLineTest.cpp)
|
||||||
add_test(NAME parseCommandLineTest COMMAND parseCommandLineTest)
|
add_test(NAME parseCommandLineTest COMMAND parseCommandLineTest)
|
||||||
|
|
||||||
target_link_libraries(parseCommandLineTest PRIVATE test_main netsnmp gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(parseCommandLineTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(parseCommandLineTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
@ -3,4 +3,8 @@ SET(CMAKE_AUTOMOC ON)
|
|||||||
add_executable(startTipDialogTest startTipDialogTest.cpp main_startTipDialogTest.cpp)
|
add_executable(startTipDialogTest startTipDialogTest.cpp main_startTipDialogTest.cpp)
|
||||||
add_test(NAME startTipDialogTest COMMAND startTipDialogTest)
|
add_test(NAME startTipDialogTest COMMAND startTipDialogTest)
|
||||||
|
|
||||||
target_link_libraries(startTipDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder netsnmp xml2 xslt z pthread Qt5::Test)
|
target_link_libraries(startTipDialogTest PRIVATE test_main gui import fwbparser antlr common iptlib fwbpf fwbjuniper fwbcisco compilerdriver fwcompiler fwbuilder xml2 xslt z pthread Qt5::Test)
|
||||||
|
|
||||||
|
IF (NETSNMP_FOUND)
|
||||||
|
target_link_libraries(startTipDialogTest netsnmp)
|
||||||
|
ENDIF()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user