set(TARGET_NAME soap_book_server) set(SRCS ../common/book.cc ../common/book.h ../common/book_xml.cc ../common/book_xml.h book_service.cc book_service.h main.cc) add_executable(${TARGET_NAME} ${SRCS}) target_link_libraries(${TARGET_NAME} webcc pugixml ${Boost_LIBRARIES}) target_link_libraries(${TARGET_NAME} "${CMAKE_THREAD_LIBS_INIT}") # Install VLD DLLs to build dir so that the example can be launched from # inside VS. if(WEBCC_ENABLE_VLD) install(DIRECTORY ${THIRD_PARTY_DIR}/win32/bin/debug/vld/ CONFIGURATIONS Debug DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/Debug) endif()