|  | @@ -60,6 +60,10 @@ set(CIVETWEB_THREAD_STACK_SIZE 102400 CACHE STRING
 | 
											
												
													
														|  |  set_property(CACHE CIVETWEB_THREAD_STACK_SIZE PROPERTY VALUE ${CIVETWEB_THREAD_STACK_SIZE})
 |  |  set_property(CACHE CIVETWEB_THREAD_STACK_SIZE PROPERTY VALUE ${CIVETWEB_THREAD_STACK_SIZE})
 | 
											
												
													
														|  |  message(STATUS "Thread Stack Size - ${CIVETWEB_THREAD_STACK_SIZE}")
 |  |  message(STATUS "Thread Stack Size - ${CIVETWEB_THREAD_STACK_SIZE}")
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +# Serve no files from the web server
 | 
											
												
													
														|  | 
 |  | +option(CIVETWEB_ENABLE_SERVE_FILES "Configures the server to serve static files" ON)
 | 
											
												
													
														|  | 
 |  | +message(STATUS "Serve files - ${CIVETWEB_ENABLE_SERVE_FILES}")
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  # C++ wrappers
 |  |  # C++ wrappers
 | 
											
												
													
														|  |  option(CIVETWEB_ENABLE_CXX "Enables the C++ wrapper library" OFF)
 |  |  option(CIVETWEB_ENABLE_CXX "Enables the C++ wrapper library" OFF)
 | 
											
												
													
														|  |  message(STATUS "C++ wrappers - ${CIVETWEB_ENABLE_CXX}")
 |  |  message(STATUS "C++ wrappers - ${CIVETWEB_ENABLE_CXX}")
 | 
											
										
											
												
													
														|  | @@ -337,6 +341,9 @@ endif()
 | 
											
												
													
														|  |  if (CIVETWEB_ENABLE_WEBSOCKETS)
 |  |  if (CIVETWEB_ENABLE_WEBSOCKETS)
 | 
											
												
													
														|  |    add_definitions(-DUSE_WEBSOCKET)
 |  |    add_definitions(-DUSE_WEBSOCKET)
 | 
											
												
													
														|  |  endif()
 |  |  endif()
 | 
											
												
													
														|  | 
 |  | +if (NOT CIVETWEB_ENABLE_SERVE_FILES)
 | 
											
												
													
														|  | 
 |  | +  add_definitions(-DNO_FILES)
 | 
											
												
													
														|  | 
 |  | +endif()
 | 
											
												
													
														|  |  if (CIVETWEB_ENABLE_LUA)
 |  |  if (CIVETWEB_ENABLE_LUA)
 | 
											
												
													
														|  |    add_definitions(-DUSE_LUA)
 |  |    add_definitions(-DUSE_LUA)
 | 
											
												
													
														|  |  endif()
 |  |  endif()
 |