| 
									
										
										
										
											2017-08-23 18:03:52 +00:00
										 |  |  | project(httpserver)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set(httpserver_SOURCES | 
					
						
							|  |  |  |    httpglobal.cpp
 | 
					
						
							|  |  |  |    httplistener.cpp
 | 
					
						
							|  |  |  |    httpconnectionhandler.cpp
 | 
					
						
							|  |  |  |    httpconnectionhandlerpool.cpp
 | 
					
						
							|  |  |  |    httprequest.cpp
 | 
					
						
							|  |  |  |    httpresponse.cpp
 | 
					
						
							|  |  |  |    httpcookie.cpp
 | 
					
						
							|  |  |  |    httprequesthandler.cpp
 | 
					
						
							|  |  |  |    httpsession.cpp
 | 
					
						
							|  |  |  |    httpsessionstore.cpp
 | 
					
						
							|  |  |  |    staticfilecontroller.cpp
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set(httpserver_HEADERS | 
					
						
							|  |  |  |    httpglobal.h
 | 
					
						
							|  |  |  |    httplistener.h
 | 
					
						
							|  |  |  |    httpconnectionhandler.h
 | 
					
						
							|  |  |  |    httpconnectionhandlerpool.h
 | 
					
						
							|  |  |  |    httprequest.h
 | 
					
						
							|  |  |  |    httpresponse.h
 | 
					
						
							|  |  |  |    httpcookie.h
 | 
					
						
							|  |  |  |    httprequesthandler.h
 | 
					
						
							|  |  |  |    httpsession.h
 | 
					
						
							|  |  |  |    httpsessionstore.h
 | 
					
						
							|  |  |  |    staticfilecontroller.h
 | 
					
						
							| 
									
										
										
										
											2017-11-13 00:01:15 +00:00
										 |  |  |    httplistenersettings.h
 | 
					
						
							|  |  |  |    httpdocrootsettings.h
 | 
					
						
							|  |  |  |    httpsessionssettings.h
 | 
					
						
							| 
									
										
										
										
											2017-08-23 18:03:52 +00:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | include_directories( | 
					
						
							| 
									
										
										
										
											2018-03-09 12:48:14 +00:00
										 |  |  |     ${CMAKE_SOURCE_DIR}/exports
 | 
					
						
							| 
									
										
										
										
											2017-08-23 18:03:52 +00:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | add_library(httpserver SHARED | 
					
						
							|  |  |  | 	${httpserver_SOURCES}
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | target_link_libraries(httpserver | 
					
						
							| 
									
										
										
										
											2019-05-01 09:54:58 +00:00
										 |  |  |     Qt5::Core
 | 
					
						
							|  |  |  |     Qt5::Network
 | 
					
						
							| 
									
										
										
										
											2017-08-23 18:03:52 +00:00
										 |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-01 09:54:58 +00:00
										 |  |  | install(TARGETS httpserver DESTINATION ${INSTALL_LIB_DIR})
 |