We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bf948 commit 6785f5eCopy full SHA for 6785f5e
vinca/templates/bld_ament_cmake.bat.in
@@ -1,6 +1,7 @@
1
:: Generated by vinca http://github.com/ros-forge/vinca.
2
:: DO NOT EDIT!
3
-setlocal
+setlocal EnableDelayedExpansion
4
+
5
set "PYTHONPATH=%LIBRARY_PREFIX%\lib\site-packages;%SP_DIR%"
6
7
:: MSVC is preferred.
@@ -11,8 +12,14 @@ rd /s /q build
11
12
mkdir build
13
pushd build
14
15
+set "CMAKE_GENERATOR=Ninja"
16
17
+if "%PKG_NAME%" == "ros-@(ros_distro)-mimick-vendor" (
18
+ set "CMAKE_GENERATOR=Visual Studio %VS_MAJOR% %VS_YEAR% Win64"
19
+)
20
21
cmake ^
- -G "Ninja" ^
22
+ -G "%CMAKE_GENERATOR%" ^
23
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
24
-DCMAKE_BUILD_TYPE=Release ^
25
-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True ^
0 commit comments