diff --git a/CMakeLists.txt b/CMakeLists.txt index 59f4b072..37701e19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,37 +23,37 @@ find_package(Libmsgpack REQUIRED) find_package(Threads REQUIRED) set(PUBLIC_HEADERS - autobahn/autobahn.hpp - autobahn/exceptions.hpp - autobahn/wamp_arguments.hpp - autobahn/wamp_call.hpp - autobahn/wamp_call.ipp - autobahn/wamp_call_result.hpp - autobahn/wamp_call_result.ipp - autobahn/wamp_event.hpp - autobahn/wamp_event.ipp - autobahn/wamp_event_handler.hpp - autobahn/wamp_invocation.hpp - autobahn/wamp_invocation.ipp - autobahn/wamp_invocation_result.hpp - autobahn/wamp_invocation_result.ipp - autobahn/wamp_message.hpp - autobahn/wamp_message_type.hpp - autobahn/wamp_procedure.hpp - autobahn/wamp_publication.hpp - autobahn/wamp_publication.ipp - autobahn/wamp_register_request.hpp - autobahn/wamp_register_request.ipp - autobahn/wamp_registration.hpp - autobahn/wamp_registration.ipp - autobahn/wamp_session.hpp - autobahn/wamp_session.ipp - autobahn/wamp_subscribe_request.hpp - autobahn/wamp_subscribe_request.ipp - autobahn/wamp_subscription.hpp - autobahn/wamp_subscription.ipp - autobahn/wamp_unsubscribe_request.hpp - autobahn/wamp_unsubscribe_request.ipp) + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/autobahn.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/exceptions.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_arguments.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_call.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_call.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_call_result.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_call_result.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_event.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_event.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_event_handler.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_invocation.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_invocation.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_invocation_result.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_invocation_result.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_message.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_message_type.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_procedure.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_publication.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_publication.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_register_request.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_register_request.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_registration.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_registration.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_session.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_session.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_subscribe_request.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_subscribe_request.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_subscription.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_subscription.ipp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_unsubscribe_request.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/autobahn/wamp_unsubscribe_request.ipp) foreach(h ${PUBLIC_HEADERS}) get_filename_component(HEADER_INCLUDE_DIRECTORY include/${h} DIRECTORY) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 3168ff19..9b354bef 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -14,15 +14,15 @@ set(STDIO_SOURCES stdio.cpp) set(SUBSCRIBE1_SOURCES subscribe1.cpp) set(UNSUBSCRIBE1_SOURCES subscribe1.cpp) -add_executable(call1 ${CALL1_SOURCES}) -add_executable(call1_uds ${CALL1_UDS_SOURCES}) -add_executable(call2 ${CALL2_SOURCES}) -add_executable(call3 ${CALL3_SOURCES}) -add_executable(publish1 ${PUBLISH1_SOURCES}) -add_executable(publish2 ${PUBLISH2_SOURCES}) -add_executable(register1_cb ${REGISTER1_CB_SOURCES}) -add_executable(register1 ${REGISTER1_SOURCES}) -add_executable(register2 ${REGISTER2_SOURCES}) -add_executable(stdio ${STDIO_SOURCES}) -add_executable(subscribe1 ${SUBSCRIBE1_SOURCES}) -add_executable(unsubscribe1 ${SUBSCRIBE1_SOURCES}) +add_executable(call1 ${CALL1_SOURCES} ${PUBLIC_HEADERS}) +add_executable(call1_uds ${CALL1_UDS_SOURCES} ${PUBLIC_HEADERS}) +add_executable(call2 ${CALL2_SOURCES} ${PUBLIC_HEADERS}) +add_executable(call3 ${CALL3_SOURCES} ${PUBLIC_HEADERS}) +add_executable(publish1 ${PUBLISH1_SOURCES} ${PUBLIC_HEADERS}) +add_executable(publish2 ${PUBLISH2_SOURCES} ${PUBLIC_HEADERS}) +add_executable(register1_cb ${REGISTER1_CB_SOURCES} ${PUBLIC_HEADERS}) +add_executable(register1 ${REGISTER1_SOURCES} ${PUBLIC_HEADERS}) +add_executable(register2 ${REGISTER2_SOURCES} ${PUBLIC_HEADERS}) +add_executable(stdio ${STDIO_SOURCES} ${PUBLIC_HEADERS}) +add_executable(subscribe1 ${SUBSCRIBE1_SOURCES} ${PUBLIC_HEADERS}) +add_executable(unsubscribe1 ${SUBSCRIBE1_SOURCES} ${PUBLIC_HEADERS})