Skip to content

Commit df808ce

Browse files
authored
Create symlinks for all cmake executables when reinstalling (#308)
1 parent 30269da commit df808ce

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/cpp-mariadb/.devcontainer/reinstall-cmake.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,8 @@ curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/
5555
sha256sum -c --ignore-missing "${CMAKE_CHECKSUM_NAME}"
5656
sh "${TMP_DIR}/${CMAKE_BINARY_NAME}" --prefix=/opt/cmake --skip-license
5757

58+
ln -s /opt/cmake/bin/ccmake /usr/local/bin/ccmake
5859
ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
60+
ln -s /opt/cmake/bin/cmake-gui /usr/local/bin/cmake-gui
61+
ln -s /opt/cmake/bin/cpack /usr/local/bin/cpack
62+
ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest

src/cpp/.devcontainer/reinstall-cmake.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,8 @@ curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/
5555
sha256sum -c --ignore-missing "${CMAKE_CHECKSUM_NAME}"
5656
sh "${TMP_DIR}/${CMAKE_BINARY_NAME}" --prefix=/opt/cmake --skip-license
5757

58+
ln -s /opt/cmake/bin/ccmake /usr/local/bin/ccmake
5859
ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
60+
ln -s /opt/cmake/bin/cmake-gui /usr/local/bin/cmake-gui
61+
ln -s /opt/cmake/bin/cpack /usr/local/bin/cpack
5962
ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest

0 commit comments

Comments
 (0)