all CMakeLists are referenced by the top level one
This commit is contained in:
		| @@ -118,3 +118,6 @@ set( IXWEBSOCKET_INCLUDE_DIRS | |||||||
|     . |     . | ||||||
|     ../../shared/OpenSSL/include) |     ../../shared/OpenSSL/include) | ||||||
| target_include_directories( ixwebsocket PUBLIC ${IXWEBSOCKET_INCLUDE_DIRS} ) | target_include_directories( ixwebsocket PUBLIC ${IXWEBSOCKET_INCLUDE_DIRS} ) | ||||||
|  |  | ||||||
|  | add_subdirectory(ws) | ||||||
|  | add_subdirectory(examples) | ||||||
|   | |||||||
							
								
								
									
										7
									
								
								examples/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								examples/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | |||||||
|  | add_subdirectory(broadcast_server) | ||||||
|  | add_subdirectory(ping_pong) | ||||||
|  | add_subdirectory(chat) | ||||||
|  | add_subdirectory(echo_server) | ||||||
|  | add_subdirectory(ws_connect) | ||||||
|  |  | ||||||
|  | # add_subdirectory(cobra_publisher) | ||||||
| @@ -15,8 +15,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ixwebsocket) |  | ||||||
|  |  | ||||||
| include_directories(broadcast_server .) | include_directories(broadcast_server .) | ||||||
|  |  | ||||||
| add_executable(broadcast_server  | add_executable(broadcast_server  | ||||||
|   | |||||||
| @@ -11,8 +11,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ixwebsocket) |  | ||||||
|  |  | ||||||
| add_executable(cmd_websocket_chat cmd_websocket_chat.cpp) | add_executable(cmd_websocket_chat cmd_websocket_chat.cpp) | ||||||
|  |  | ||||||
| if (APPLE AND USE_TLS) | if (APPLE AND USE_TLS) | ||||||
|   | |||||||
| @@ -15,8 +15,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ixwebsocket) |  | ||||||
|  |  | ||||||
| include_directories(cobra_publisher ${OPENSSL_PREFIX}/include) | include_directories(cobra_publisher ${OPENSSL_PREFIX}/include) | ||||||
| include_directories(cobra_publisher .) | include_directories(cobra_publisher .) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -15,8 +15,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ixwebsocket) |  | ||||||
|  |  | ||||||
| include_directories(echo_server .) | include_directories(echo_server .) | ||||||
|  |  | ||||||
| add_executable(echo_server  | add_executable(echo_server  | ||||||
|   | |||||||
| @@ -10,8 +10,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ixwebsocket) |  | ||||||
|  |  | ||||||
| add_executable(ping_pong ping_pong.cpp) | add_executable(ping_pong ping_pong.cpp) | ||||||
|  |  | ||||||
| if (APPLE AND USE_TLS) | if (APPLE AND USE_TLS) | ||||||
|   | |||||||
| @@ -10,8 +10,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ixwebsocket) |  | ||||||
|  |  | ||||||
| add_executable(ws_connect ws_connect.cpp) | add_executable(ws_connect ws_connect.cpp) | ||||||
|  |  | ||||||
| if (APPLE AND USE_TLS) | if (APPLE AND USE_TLS) | ||||||
|   | |||||||
| @@ -13,8 +13,6 @@ set (CMAKE_CXX_STANDARD 14) | |||||||
|  |  | ||||||
| option(USE_TLS "Add TLS support" ON) | option(USE_TLS "Add TLS support" ON) | ||||||
|  |  | ||||||
| add_subdirectory(${PROJECT_SOURCE_DIR}/.. ixwebsocket) |  | ||||||
|  |  | ||||||
| include_directories(ws .) | include_directories(ws .) | ||||||
| include_directories(ws ../third_party) | include_directories(ws ../third_party) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user