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.
28 lines
576 B
CMake
28 lines
576 B
CMake
include_directories(
|
|
.
|
|
)
|
|
|
|
set(example_SRCS
|
|
tls_server_example.c
|
|
static_model.c
|
|
)
|
|
|
|
IF(MSVC)
|
|
set_source_files_properties(${example_SRCS}
|
|
PROPERTIES LANGUAGE CXX)
|
|
ENDIF(MSVC)
|
|
|
|
configure_file(server-key.pem server-key.pem COPYONLY)
|
|
configure_file(server.cer server.cer COPYONLY)
|
|
configure_file(client1.cer client1.cer COPYONLY)
|
|
configure_file(client2.cer client2.cer COPYONLY)
|
|
configure_file(root.cer root.cer COPYONLY)
|
|
|
|
add_executable(tls_server_example
|
|
${example_SRCS}
|
|
)
|
|
|
|
target_link_libraries(tls_server_example
|
|
iec61850
|
|
)
|