You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
549 B
CMake
35 lines
549 B
CMake
|
|
set(goose_subscriber_example_SRCS
|
|
goose_subscriber_example.c
|
|
)
|
|
|
|
IF(WIN32)
|
|
|
|
IF(WITH_WPCAP)
|
|
|
|
set_source_files_properties(${goose_subscriber_example_SRCS}
|
|
PROPERTIES LANGUAGE CXX)
|
|
add_executable(goose_subscriber_example
|
|
${goose_subscriber_example_SRCS}
|
|
)
|
|
|
|
target_link_libraries(goose_subscriber_example
|
|
iec61850
|
|
)
|
|
|
|
ENDIF(WITH_WPCAP)
|
|
|
|
ELSE(WIN32)
|
|
|
|
add_executable(goose_subscriber_example
|
|
${goose_subscriber_example_SRCS}
|
|
)
|
|
|
|
target_link_libraries(goose_subscriber_example
|
|
iec61850
|
|
)
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|