Skip to content

Commit

Permalink
improved info window
Browse files Browse the repository at this point in the history
  • Loading branch information
authaldo committed Aug 20, 2023
1 parent 82e8bfe commit 4b9bae8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ install(TARGETS ${PROJECT_NAME}
DESTINATION lib/${PROJECT_NAME}
)

install(FILES resource/rig_reconfigure.png
install(FILES resource/rig_reconfigure.png resource/rig_reconfigure_text.png
DESTINATION share/${PROJECT_NAME}/resource
)

Expand Down
7 changes: 6 additions & 1 deletion cmake/CheckGit.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# adapted from https://gitlab.com/jhamberg/cmake-examples/-/blob/master/cmake/CheckGit.cmake

set(CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_DIR})
if (NOT DEFINED pre_configure_inc_dir)
set(pre_configure_inc_dir ${CMAKE_SOURCE_DIR}/include)
endif ()

if (NOT DEFINED pre_configure_dir)
set(pre_configure_dir ${CMAKE_SOURCE_DIR}/src)
endif ()
Expand Down Expand Up @@ -40,7 +44,7 @@ function(CheckGitVersion)
endif ()

if (NOT EXISTS ${post_configure_dir}/git_version.hpp)
file(COPY ${pre_configure_dir}/git_version.hpp DESTINATION ${post_configure_dir})
file(COPY ${pre_configure_inc_dir}/git_version.hpp DESTINATION ${post_configure_dir})
endif()

if (NOT DEFINED GIT_HASH_CACHE)
Expand All @@ -63,6 +67,7 @@ function(CheckGitSetup)

add_custom_target(AlwaysCheckGit COMMAND ${CMAKE_COMMAND}
-DRUN_CHECK_GIT_VERSION=1
-Dpre_configure_inc_dir=${pre_configure_inc_dir}
-Dpre_configure_dir=${pre_configure_dir}
-Dpost_configure_file=${post_configure_dir}
-DGIT_HASH_CACHE=${GIT_HASH_CACHE}
Expand Down
Binary file modified resource/rig_reconfigure_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4b9bae8

Please sign in to comment.