From 8be712c59c97d6d1b7fc1a06341910601b8f939a Mon Sep 17 00:00:00 2001 From: Johnson Shih Date: Thu, 20 Sep 2018 15:55:37 -0700 Subject: [PATCH 1/2] Add batch script for general use (#13) --- cmake/templates/script.bat.in | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cmake/templates/script.bat.in diff --git a/cmake/templates/script.bat.in b/cmake/templates/script.bat.in new file mode 100644 index 000000000..ab782dc8d --- /dev/null +++ b/cmake/templates/script.bat.in @@ -0,0 +1,4 @@ +@echo off +REM generated from catkin/cmake/templates/script.bat.in + +"@BAT_SCRIPT@" %* From fa4bf27b6a4efe6b2df55d8fe68ea8a7a6651b34 Mon Sep 17 00:00:00 2001 From: Johnson Shih Date: Fri, 21 Sep 2018 10:19:01 -0700 Subject: [PATCH 2/2] Use call when invoking batch script (#14) --- cmake/templates/script.bat.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/templates/script.bat.in b/cmake/templates/script.bat.in index ab782dc8d..d18d6bd9e 100644 --- a/cmake/templates/script.bat.in +++ b/cmake/templates/script.bat.in @@ -1,4 +1,4 @@ @echo off REM generated from catkin/cmake/templates/script.bat.in -"@BAT_SCRIPT@" %* +call "@BAT_SCRIPT@" %*