Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions vinca/templates/bld_ament_cmake.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set CXX=cl.exe
:: If defined, can use a custom CMake build directory which can be useful
:: to avoid too long path problems on windows
if defined VINCA_CUSTOM_CMAKE_BUILD_DIR (
if not exist "%VINCA_CUSTOM_CMAKE_BUILD_DIR%\" (
mkdir "%VINCA_CUSTOM_CMAKE_BUILD_DIR%"
)
cd /d "%VINCA_CUSTOM_CMAKE_BUILD_DIR%"
)
rd /s /q build
Expand Down
1 change: 1 addition & 0 deletions vinca/templates/build_ament_cmake.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
set -eo pipefail

if [[ -n "$VINCA_CUSTOM_CMAKE_BUILD_DIR" ]]; then
mkdir -p "$VINCA_CUSTOM_CMAKE_BUILD_DIR"
cd "$VINCA_CUSTOM_CMAKE_BUILD_DIR"
fi
rm -rf build
Expand Down