Skip to content

Commit

Permalink
Support for BUILD_TYPE in Conda
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Dec 2, 2024
1 parent d98da15 commit fcbc6fb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions jenkins-scripts/lib/windows_library.bat
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,13 @@ set MAKEFLAGS=-j%MAKE_JOBS%
echo "COLCON_EXTRA_ARGS: %COLCON_EXTRA_ARGS% %COLCON_PACKAGE%"

if defined USE_PIXI (
if defined COLCON_EXTRA_CMAKE_ARGS (
set COLCON_EXTRA_CMAKE_ARGS_STR=--cmake-args %COLCON_EXTRA_CMAKE_ARGS% %COLCON_EXTRA_CMAKE_ARGS2%
echo "COLCON_EXTRA_CMAKE_ARGS_STR:" !COLCON_EXTRA_CMAKE_ARGS_STR!
)
@echo on
colcon build --build-base "build"^
--install-base "install"^
--parallel-workers %MAKE_JOBS%^
%COLCON_EXTRA_ARGS% %COLCON_PACKAGE%^
!COLCON_EXTRA_CMAKE_ARGS_STR!^
--cmake-args " -DCMAKE_BUILD_TYPE=%BUILD_TYPE%"^
%COLCON_EXTRA_CMAKE_ARGS% %COLCON_EXTRA_CMAKE_ARGS2%^
--event-handler console_cohesion+ || goto :error
) else (
echo "COLCON_EXTRA_CMAKE_ARGS: %COLCON_EXTRA_CMAKE_ARGS%"
Expand Down

0 comments on commit fcbc6fb

Please sign in to comment.