Skip to content

Commit

Permalink
v0.69 --> mandeye_single_session_viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
JanuszBedkowski committed Jan 5, 2025
1 parent 8876729 commit 6df7259
Show file tree
Hide file tree
Showing 3 changed files with 577 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15.0)
project(hd-mapping)

set (HDMAPPING_VERSION_MAJOR 0)
set (HDMAPPING_VERSION_MINOR 68)
set (HDMAPPING_VERSION_MINOR 69)
set (HDMAPPING_VERSION_PATCH 0)

add_definitions(-DHDMAPPING_VERSION_MAJOR=${HDMAPPING_VERSION_MAJOR})
Expand Down Expand Up @@ -104,6 +104,7 @@ add_subdirectory(apps/mandeye_raw_data_viewer)
add_subdirectory(apps/compare_trajectories)
add_subdirectory(apps/quick_start_demo)
add_subdirectory(apps/mandeye_mission_recorder_calibration)
add_subdirectory(apps/mandeye_single_session_viewer)

# CPack configuration
set(CPACK_PACKAGE_NAME "hd_mapping")
Expand Down
51 changes: 51 additions & 0 deletions apps/mandeye_single_session_viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
cmake_minimum_required(VERSION 3.15.0)

project(mandeye_raw_data_viewer)

add_executable(
mandeye_single_session_viewer
mandeye_single_session_viewer.cpp
../lidar_odometry_step_1/lidar_odometry_utils.cpp
)

target_include_directories(
mandeye_single_session_viewer
PRIVATE include
${REPOSITORY_DIRECTORY}/core/include
${REPOSITORY_DIRECTORY}/core_hd_mapping/include
${EXTERNAL_LIBRARIES_DIRECTORY}
${EXTERNAL_LIBRARIES_DIRECTORY}/glm
${EIGEN3_INCLUDE_DIR}
${EXTERNAL_LIBRARIES_DIRECTORY}/imgui
${EXTERNAL_LIBRARIES_DIRECTORY}/imgui/backends
${EXTERNAL_LIBRARIES_DIRECTORY}/ImGuizmo
${EXTERNAL_LIBRARIES_DIRECTORY}/glew-2.2.0/include
${FREEGLUT_INCLUDE_DIR}
${EXTERNAL_LIBRARIES_DIRECTORY}/json/include
${EXTERNAL_LIBRARIES_DIRECTORY}/portable-file-dialogs-master
${LASZIP_INCLUDE_DIR}/LASzip/include
${EXTERNAL_LIBRARIES_DIRECTORY}/observation_equations/codes
${EXTERNAL_LIBRARIES_DIRECTORY}/Fusion/Fusion)

target_link_libraries(
mandeye_single_session_viewer
PRIVATE Fusion
${FREEGLUT_LIBRARY}
${OPENGL_gl_LIBRARY}
OpenGL::GLU
${PLATFORM_LASZIP_LIB}
${CORE_LIBRARIES}
${GUI_LIBRARIES}
${PLATFORM_MISCELLANEOUS_LIBS})

if(WIN32)
add_custom_command(
TARGET mandeye_single_session_viewer
POST_BUILD
COMMAND
${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:mandeye_single_session_viewer>
$<TARGET_FILE_DIR:mandeye_single_session_viewer>
COMMAND_EXPAND_LISTS)
endif()

install(TARGETS mandeye_single_session_viewer DESTINATION bin)
Loading

0 comments on commit 6df7259

Please sign in to comment.