-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Timm Ruppert <[email protected]>
- Loading branch information
1 parent
9dcc389
commit d514b7e
Showing
14 changed files
with
30 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
# Create executables for each example | ||
add_executable(example_mcap_writer example_mcap_writer.cpp) | ||
add_executable(example_native_binary_reader example_native_binary_reader.cpp) | ||
add_executable(example_text_reader example_text_reader.cpp) | ||
add_executable(example_txth_reader example_txth_reader.cpp) | ||
add_executable(convert_osi2mcap convert_osi2mcap.cpp) | ||
|
||
# Link against OSI made available by parent CMakeLists.txt | ||
if(LINK_WITH_SHARED_OSI) | ||
target_link_libraries(example_mcap_writer PRIVATE open_simulation_interface) | ||
target_link_libraries(example_native_binary_reader PRIVATE open_simulation_interface) | ||
target_link_libraries(example_text_reader PRIVATE open_simulation_interface) | ||
target_link_libraries(example_txth_reader PRIVATE open_simulation_interface) | ||
target_link_libraries(convert_osi2mcap PRIVATE open_simulation_interface) | ||
else() | ||
target_link_libraries(example_mcap_writer PRIVATE open_simulation_interface_pic) | ||
target_link_libraries(example_native_binary_reader PRIVATE open_simulation_interface_pic) | ||
target_link_libraries(example_text_reader PRIVATE open_simulation_interface_pic) | ||
target_link_libraries(example_txth_reader PRIVATE open_simulation_interface_pic) | ||
target_link_libraries(convert_osi2mcap PRIVATE open_simulation_interface_pic) | ||
include_directories(${OSI_INCLUDE_DIR}) | ||
endif() | ||
|
||
# Link each example against the library | ||
target_link_libraries(example_mcap_writer PRIVATE OSIUtilities) | ||
target_link_libraries(example_native_binary_reader PRIVATE OSIUtilities) | ||
target_link_libraries(example_text_reader PRIVATE OSIUtilities) | ||
target_link_libraries(example_txth_reader PRIVATE OSIUtilities) | ||
target_link_libraries(convert_osi2mcap PRIVATE OSIUtilities) | ||
|
||
# Specify the public headers for the library for clean access | ||
target_include_directories(example_mcap_writer PUBLIC ${PROJECT_SOURCE_DIR}/include) | ||
target_include_directories(example_native_binary_reader PUBLIC ${PROJECT_SOURCE_DIR}/include) | ||
target_include_directories(example_text_reader PUBLIC ${PROJECT_SOURCE_DIR}/include) | ||
target_include_directories(example_txth_reader PUBLIC ${PROJECT_SOURCE_DIR}/include) | ||
target_include_directories(convert_osi2mcap PUBLIC ${PROJECT_SOURCE_DIR}/include) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
#include <mcap/mcap.hpp> | ||
|
||
#include "Writer.h" | ||
#include "../Writer.h" | ||
|
||
namespace osi3 { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.