You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
380 B
CMake
18 lines
380 B
CMake
if(UNIX)
|
|
add_definitions(-D_GLIBCXX_USE_WCHAR_T -std=c++11)
|
|
endif()
|
|
|
|
option(CSOAP_ENABLE_OUTPUT "Enable output for request & response?" OFF)
|
|
|
|
if(CSOAP_ENABLE_OUTPUT)
|
|
add_definitions(-DCSOAP_ENABLE_OUTPUT)
|
|
endif()
|
|
|
|
# Don't use any deprecated definitions (e.g., io_service).
|
|
add_definitions(-DBOOST_ASIO_NO_DEPRECATED)
|
|
|
|
file(GLOB SRCS *.cc *.h)
|
|
|
|
add_library(csoap ${SRCS})
|
|
|