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
521 B
CMake
35 lines
521 B
CMake
|
|
set(sv_subscriber_example_SRCS
|
|
sv_subscriber_example.c
|
|
)
|
|
|
|
IF(WIN32)
|
|
|
|
IF(WITH_WPCAP)
|
|
|
|
set_source_files_properties(${sv_subscriber_example_SRCS}
|
|
PROPERTIES LANGUAGE CXX)
|
|
add_executable(sv_subscriber_example
|
|
${sv_subscriber_example_SRCS}
|
|
)
|
|
|
|
target_link_libraries(svsubscriber_example
|
|
iec61850
|
|
)
|
|
|
|
ENDIF(WITH_WPCAP)
|
|
|
|
ELSE(WIN32)
|
|
|
|
add_executable(sv_subscriber_example
|
|
${sv_subscriber_example_SRCS}
|
|
)
|
|
|
|
target_link_libraries(sv_subscriber_example
|
|
iec61850
|
|
)
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|