You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ad...@apache.org on 2021/02/19 14:19:05 UTC

[nifi-minifi-cpp] branch main updated: MINIFICPP-1505 - Add SFTP build support to win built bat

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 420c205  MINIFICPP-1505 - Add SFTP build support to win built bat
420c205 is described below

commit 420c2055c2aec9e9e48bcb4988644ebcf5183b10
Author: Arpad Boda <ab...@apache.org>
AuthorDate: Fri Feb 19 15:01:35 2021 +0100

    MINIFICPP-1505 - Add SFTP build support to win built bat
    
    Signed-off-by: Adam Debreceni <ad...@apache.org>
    
    This closes #1008
---
 win_build_vs.bat | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/win_build_vs.bat b/win_build_vs.bat
index 222f2df..61ab032 100755
--- a/win_build_vs.bat
+++ b/win_build_vs.bat
@@ -28,6 +28,7 @@ set build_coap=OFF
 set build_jni=OFF
 set build_SQL=OFF
 set build_AWS=OFF
+set build_SFTP=OFF
 set test_custom_wel_provider=OFF
 set generator="Visual Studio 15 2017"
 set cpack=OFF
@@ -44,9 +45,10 @@ for %%x in (%*) do (
     if [%%~x] EQU [/K]           set build_kafka=ON
     if [%%~x] EQU [/J]           set build_JNI=ON
     if [%%~x] EQU [/S]           set build_SQL=ON
-    if [%%~x] EQU [/M]           set installer_merge_modules=ON
     if [%%~x] EQU [/C]           set build_coap=ON
     if [%%~x] EQU [/A]           set build_AWS=ON
+    if [%%~x] EQU [/SFTP]        set build_SFTP=ON
+    if [%%~x] EQU [/M]           set installer_merge_modules=ON
     if [%%~x] EQU [/2019]        set generator="Visual Studio 16 2019"
     if [%%~x] EQU [/64]          set build_platform=x64
     if [%%~x] EQU [/D]           set cmake_build_type=RelWithDebInfo
@@ -58,7 +60,7 @@ for %%x in (%*) do (
 mkdir %builddir%
 pushd %builddir%\
 
-cmake -G %generator% -A %build_platform% -DINSTALLER_MERGE_MODULES=%installer_merge_modules% -DTEST_CUSTOM_WEL_PROVIDER=%test_custom_wel_provider% -DENABLE_SQL=%build_SQL% -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% -DENABLE_AWS=%build_AWS% -DUSE_SHARED_LIBS=OFF -DDISABLE_CONTROLLER=ON  -DBUILD_ROCKSDB=ON -DFORCE_WINDOWS=ON -DUSE_SYSTE [...]
+cmake -G %generator% -A %build_platform% -DINSTALLER_MERGE_MODULES=%installer_merge_modules% -DTEST_CUSTOM_WEL_PROVIDER=%test_custom_wel_provider% -DENABLE_SQL=%build_SQL% -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% -DENABLE_AWS=%build_AWS% -DENABLE_SFTP=%build_SFTP%  -DUSE_SHARED_LIBS=OFF -DDISABLE_CONTROLLER=ON  -DBUILD_ROCKSDB=ON -D [...]
 IF %ERRORLEVEL% NEQ 0 EXIT /b %ERRORLEVEL%
 if [%cpack%] EQU [ON] (
     cpack -C %cmake_build_type%