You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "szaszm (via GitHub)" <gi...@apache.org> on 2023/09/14 14:34:46 UTC

[GitHub] [nifi-minifi-cpp] szaszm commented on a diff in pull request #1654: MINIFICPP-2214 Fix extension list inconsistencies in build scripts

szaszm commented on code in PR #1654:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1654#discussion_r1326050777


##########
win_build_vs.bat:
##########
@@ -65,34 +63,33 @@ for %%x in (%*) do (
     if [%%~x] EQU [/T]                set skiptests=ON
     if [%%~x] EQU [/R]                set skiptestrun=ON
     if [%%~x] EQU [/P]                set cpack=ON
-    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 [/C]                set build_coap=ON
-    if [%%~x] EQU [/A]                set build_AWS=ON
-    if [%%~x] EQU [/SFTP]             set build_SFTP=ON
-    if [%%~x] EQU [/PDH]              set build_PDH=ON
-    if [%%~x] EQU [/SPLUNK]           set build_SPLUNK=ON
-    if [%%~x] EQU [/GCP]              set build_GCP=ON
-    if [%%~x] EQU [/ELASTIC]          set build_ELASTIC=ON
+    if [%%~x] EQU [/NO_KAFKA]         set enable_kafka=OFF
+    if [%%~x] EQU [/J]                set enable_jni=ON
+    if [%%~x] EQU [/NO_SQL]           set enable_sql=OFF
+    if [%%~x] EQU [/C]                set enable_coap=ON
+    if [%%~x] EQU [/NO_AWS]           set enable_aws=OFF
+    if [%%~x] EQU [/PDH]              set enable_pdh=ON
+    if [%%~x] EQU [/NO_SPLUNK]        set enable_splunk=OFF
+    if [%%~x] EQU [/NO_GCP]           set enable_gcp=OFF
+    if [%%~x] EQU [/NO_ELASTIC]       set enable_elastic=OFF
     if [%%~x] EQU [/M]                set installer_merge_modules=ON
-    if [%%~x] EQU [/Z]                set build_azure=ON
-    if [%%~x] EQU [/N]                set build_nanofi=ON
-    if [%%~x] EQU [/O]                set build_opencv=ON
-    if [%%~x] EQU [/PR]               set build_prometheus=ON
+    if [%%~x] EQU [/NO_AZURE]         set enable_azure=OFF
+    if [%%~x] EQU [/N]                set enable_nanofi=ON
+    if [%%~x] EQU [/O]                set enable_opencv=ON
+    if [%%~x] EQU [/NO_PROMETHEUS]    set enable_prometheus=OFF
     if [%%~x] EQU [/BUSTACHE]         set enable_bustache=ON
     if [%%~x] EQU [/COAP]             set enable_coap=ON
-    if [%%~x] EQU [/ENCRYPT_CONFIG]   set enable_encrypt_config=ON
-    if [%%~x] EQU [/LUA_SCRIPTING]    set enable_lua_scripting=ON
-    if [%%~x] EQU [/MQTT]             set enable_mqtt=ON
-    if [%%~x] EQU [/OPC]              set enable_opc=ON
+    if [%%~x] EQU [/NO_ENCRYPT_CONFIG] set enable_encrypt_config=OFF
+    if [%%~x] EQU [/NO_LUA_SCRIPTING] set enable_lua_scripting=OFF
+    if [%%~x] EQU [/NO_MQTT]          set enable_mqtt=OFF
+    if [%%~x] EQU [/NO_OPC]           set enable_opc=OFF
     if [%%~x] EQU [/OPENWSMAN]        set enable_openwsman=ON
-    if [%%~x] EQU [/OPS]              set enable_ops=ON
+    if [%%~x] EQU [/NO_OPS]           set enable_ops=OFF
     if [%%~x] EQU [/PCAP]             set enable_pcap=ON
-    if [%%~x] EQU [/PYTHON_SCRIPTING] set enable_python_scripting=ON
+    if [%%~x] EQU [/NO_PYTHON_SCRIPTING] set enable_python_scripting=OFF

Review Comment:
   I want to keep the changes as minimal as possible. Would `/MQTT` (meaning on) and `/MQTT:OFF` (meaning off) be enough for all features?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org