You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ab...@apache.org on 2019/11/06 12:13:00 UTC

[nifi-minifi-cpp] branch master updated: MINIFICPP-1071 - Fix variable substitution on Windows build script

This is an automated email from the ASF dual-hosted git repository.

aboda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new 51caa6f  MINIFICPP-1071 - Fix variable substitution on Windows build script
51caa6f is described below

commit 51caa6fdf1b10d4777fddbdb56e9e2040e56c1ba
Author: Andre Araujo <as...@gmail.com>
AuthorDate: Thu Oct 24 06:29:59 2019 +0000

    MINIFICPP-1071 - Fix variable substitution on Windows build script
    
    Signed-off-by: Arpad Boda <ab...@apache.org>
    
    This closes #667
---
 win_build_vs.bat | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/win_build_vs.bat b/win_build_vs.bat
index 2eda497..963510c 100644
--- a/win_build_vs.bat
+++ b/win_build_vs.bat
@@ -64,10 +64,10 @@ cd %builddir%\
 
 
 cmake -G %generator% -DCMAKE_BUILD_TYPE_INIT=%cmake_build_type% -DCMAKE_BUILD_TYPE=%cmake_build_type% -DWIN32=WIN32 -DENABLE_LIBRDKAFKA=%build_kafka% -DENABLE_JNI=%build_jni% -DOPENSSL_OFF=OFF -DENABLE_COAP=%build_coap% -DUSE_SHARED_LIBS=OFF -DDISABLE_CONTROLLER=ON  -DBUILD_ROCKSDB=ON -DFORCE_WINDOWS=ON -DUSE_SYSTEM_UUID=OFF -DDISABLE_LIBARCHIVE=ON -DDISABLE_SCRIPTING=ON -DEXCLUDE_BOOST=ON -DENABLE_WEL=TRUE -DFAIL_ON_WARNINGS=OFF -DSKIP_TESTS=%skiptests% .. && msbuild /m nifi-minifi-cpp. [...]
-if [cpack] EQU [ON] ( 
+if [%cpack%] EQU [ON] ( 
 	cpack
     )
-if [skiptests] NEQ [OFF] ( 
+if [%skiptests%] NEQ [ON] ( 
 	ctest -C %build_type%
 	IF %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
 	)
@@ -76,4 +76,4 @@ goto :eof
 
 :usage
 @echo "Usage: %0 <build_dir> options"
-exit /B 1
\ No newline at end of file
+exit /B 1