Remove SOAP support
This commit is contained in:
+5
-86
@@ -13,95 +13,14 @@ configure_file(
|
||||
# Adhere to GNU filesystem layout conventions.
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(HEADERS
|
||||
base64.h
|
||||
common.h
|
||||
globals.h
|
||||
http_client.h
|
||||
http_client_pool.h
|
||||
http_client_session.h
|
||||
http_connection.h
|
||||
http_connection_pool.h
|
||||
http_message.h
|
||||
http_parser.h
|
||||
http_request.h
|
||||
http_request_builder.h
|
||||
http_request_handler.h
|
||||
http_request_parser.h
|
||||
http_response.h
|
||||
http_response_parser.h
|
||||
http_server.h
|
||||
http_socket.h
|
||||
queue.h
|
||||
rest_request_handler.h
|
||||
rest_server.h
|
||||
rest_service.h
|
||||
rest_service_manager.h
|
||||
url.h
|
||||
utility.h
|
||||
version.h
|
||||
zlib_wrapper.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
base64.cc
|
||||
common.cc
|
||||
globals.cc
|
||||
http_client.cc
|
||||
http_client_pool.cc
|
||||
http_client_session.cc
|
||||
http_connection.cc
|
||||
http_connection_pool.cc
|
||||
http_message.cc
|
||||
http_parser.cc
|
||||
http_request.cc
|
||||
http_request_builder.cc
|
||||
http_request_handler.cc
|
||||
http_request_parser.cc
|
||||
http_response.cc
|
||||
http_response_parser.cc
|
||||
http_server.cc
|
||||
http_socket.cc
|
||||
logger.cc
|
||||
rest_request_handler.cc
|
||||
rest_service_manager.cc
|
||||
rest_service.cc
|
||||
url.cc
|
||||
utility.cc
|
||||
zlib_wrapper.cc
|
||||
)
|
||||
|
||||
if(WEBCC_ENABLE_SOAP)
|
||||
set(SOAP_HEADERS
|
||||
soap_client.h
|
||||
soap_globals.h
|
||||
soap_message.h
|
||||
soap_parameter.h
|
||||
soap_response.h
|
||||
soap_request.h
|
||||
soap_request_handler.h
|
||||
soap_server.h
|
||||
soap_service.h
|
||||
soap_xml.h
|
||||
)
|
||||
|
||||
set(SOAP_SOURCES
|
||||
soap_client.cc
|
||||
soap_globals.cc
|
||||
soap_message.cc
|
||||
soap_response.cc
|
||||
soap_request.cc
|
||||
soap_request_handler.cc
|
||||
soap_xml.cc
|
||||
)
|
||||
|
||||
set(HEADERS ${HEADERS} ${SOAP_HEADERS})
|
||||
set(SOURCES ${SOURCES} ${SOAP_SOURCES})
|
||||
endif()
|
||||
file(GLOB SRCS
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.cc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.h)
|
||||
|
||||
set(TARGET webcc)
|
||||
|
||||
add_library(${TARGET} STATIC ${HEADERS} ${SOURCES})
|
||||
add_library(${TARGET} STATIC ${SRCS})
|
||||
|
||||
# Install lib and header files.
|
||||
# On Linux, if CMAKE_INSTALL_PREFIX is ~, the lib (libwebcc.a) will be installed
|
||||
|
||||
Reference in New Issue
Block a user