Skip to content

Commit

Permalink
[build] reactivate capnproto and flatbuffers sapmles
Browse files Browse the repository at this point in the history
  • Loading branch information
KerstinKeller committed May 6, 2024
1 parent a65a831 commit 1ac8a98
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ add_subdirectory(cpp/measurement/measurement_read)
add_subdirectory(cpp/measurement/measurement_write)
endif(HAS_HDF5)

if (HAS_CAPNPROTO)
add_subdirectory(cpp/pubsub/capnp/addressbook_rec)
add_subdirectory(cpp/pubsub/capnp/addressbook_rec_cb)
add_subdirectory(cpp/pubsub/capnp/addressbook_rec_dynamic)
add_subdirectory(cpp/pubsub/capnp/addressbook_snd)
endif(HAS_CAPNPROTO)

if (HAS_FLATBUFFERS)
add_subdirectory(cpp/pubsub/flatbuffer/monster_rec)
add_subdirectory(cpp/pubsub/flatbuffer/monster_snd)
endif(HAS_FLATBUFFERS)

# services
add_subdirectory(cpp/services/ecalplayer_client)
if(HAS_QT)
Expand Down
2 changes: 1 addition & 1 deletion samples/cpp/pubsub/capnp/addressbook_rec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ target_link_options(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/ignore:40

ecal_install_sample(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnp/addressbook)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnproto)
2 changes: 1 addition & 1 deletion samples/cpp/pubsub/capnp/addressbook_rec_cb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ target_link_options(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/ignore:40

ecal_install_sample(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnp/addressbook)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnproto)
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ target_link_options(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/ignore:40

ecal_install_sample(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnp/addressbook)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnproto)
2 changes: 1 addition & 1 deletion samples/cpp/pubsub/capnp/addressbook_snd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ target_link_options(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/ignore:40

ecal_install_sample(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnp/addressbook)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/capnproto)
2 changes: 1 addition & 1 deletion samples/cpp/pubsub/flatbuffer/monster_rec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ target_link_libraries(${PROJECT_NAME}

ecal_install_sample(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/monster)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/flatbuffers)
2 changes: 1 addition & 1 deletion samples/cpp/pubsub/flatbuffer/monster_snd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ target_link_libraries(${PROJECT_NAME}

ecal_install_sample(${PROJECT_NAME})

set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/monster)
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER samples/cpp/pubsub/flatbuffers)

0 comments on commit 1ac8a98

Please sign in to comment.