]>
Commit | Line | Data |
---|---|---|
1 | # Part of Beast | |
2 | ||
3 | GroupSources(extras/beast extras) | |
4 | GroupSources(include/beast beast) | |
5 | ||
6 | GroupSources(examples/ssl "/") | |
7 | ||
8 | include_directories(${OPENSSL_INCLUDE_DIR}) | |
9 | ||
10 | add_executable (http-ssl-example | |
11 | ${BEAST_INCLUDES} | |
12 | ${EXTRAS_INCLUDES} | |
13 | http_ssl_example.cpp | |
14 | ) | |
15 | ||
16 | target_link_libraries(http-ssl-example ${OPENSSL_LIBRARIES}) | |
17 | ||
18 | if (NOT WIN32) | |
19 | target_link_libraries(http-ssl-example ${Boost_LIBRARIES} Threads::Threads) | |
20 | endif() | |
21 | ||
22 | add_executable (websocket-ssl-example | |
23 | ${BEAST_INCLUDES} | |
24 | ${EXTRAS_INCLUDES} | |
25 | websocket_ssl_example.cpp | |
26 | ) | |
27 | ||
28 | target_link_libraries(websocket-ssl-example ${OPENSSL_LIBRARIES}) | |
29 | ||
30 | if (NOT WIN32) | |
31 | target_link_libraries(websocket-ssl-example ${Boost_LIBRARIES} Threads::Threads) | |
32 | endif() |