Add CMake scripts

This commit is contained in:
Vinnie Falco
2016-04-28 07:54:36 -04:00
parent cf0cea38fd
commit 8dad543671
4 changed files with 157 additions and 4 deletions

30
examples/CMakeLists.txt Normal file
View File

@@ -0,0 +1,30 @@
# Part of Beast
GroupSources(include/beast)
GroupSources(examples)
add_executable (http-crawl
${BEAST_INCLUDES}
http_crawl.cpp
urls_large_data.cpp
)
add_executable (http-server
${BEAST_INCLUDES}
http_server.cpp
)
add_executable (http-example
${BEAST_INCLUDES}
http_example.cpp
)
add_executable (websocket-echo
${BEAST_INCLUDES}
websocket_echo.cpp
)
add_executable (websocket-example
${BEAST_INCLUDES}
websocket_example.cpp
)

View File

@@ -16,14 +16,14 @@ exe http_server :
http_server.cpp
;
exe websocket_echo :
websocket_echo.cpp
;
exe http_example :
http_example.cpp
;
exe websocket_echo :
websocket_echo.cpp
;
exe websocket_example :
websocket_example.cpp
;