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.

17 lines
263 B
CMake

if(UNIX)
add_definitions(-D_GLIBCXX_USE_WCHAR_T -std=c++11)
endif()
file(GLOB SRCS *.cc *.h)
add_executable(demo ${SRCS})
if(CSOAP_USE_TINYXML)
set(XML_LIB tinyxml)
else()
set(XML_LIB pugixml)
endif()
target_link_libraries(demo csoap ${XML_LIB})