Skip to content

Commit

Permalink
Update bld_catkin_merge.bat.in
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Jan 24, 2023
1 parent dff8f29 commit 7df81c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vinca/templates/bld_catkin_merge.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ setlocal
set CC=cl.exe
set CXX=cl.exe

:: ROS_BUILD_SHARED_LIBS is always defined in CMake by catkin
:: if ROS (1) is build as shared library . However, some packages are not
:: passing compilation flags from CMake to other build systems (such as qmake),
:: so we enable it explicitly via the CL environment variable, see
:: https://learn.microsoft.com/en-us/cpp/build/reference/cl-environment-variables?view=msvc-170
set CL=/DROS_BUILD_SHARED_LIBS=1

set CATKIN_MAKE_ISOLATED=src\ros-@(ros_distro)-catkin\bin\catkin_make_isolated
set CMAKE_PREFIX_PATH=%CMAKE_PREFIX_PATH:\=/%

Expand Down

0 comments on commit 7df81c2

Please sign in to comment.