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

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 24442530a6 GH-35315: [C++][CMake] Add presets for Flight SQL (#35317)
24442530a6 is described below

commit 24442530a6573cbf80df1548a2ba1b0ea5d53f82
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Apr 26 09:23:58 2023 +0900

    GH-35315: [C++][CMake] Add presets for Flight SQL (#35317)
    
    ### Rationale for this change
    
    The `ninja-release-maximal` preset doesn't enable Flight SQL.
    
    ### What changes are included in this PR?
    
    Add Flight SQL related presets.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    Yes.
    
    * Closes: #35315
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/CMakePresets.json | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/cpp/CMakePresets.json b/cpp/CMakePresets.json
index d714af54dd..7882be57a0 100644
--- a/cpp/CMakePresets.json
+++ b/cpp/CMakePresets.json
@@ -110,6 +110,14 @@
         "ARROW_FLIGHT": "ON"
       }
     },
+    {
+      "name": "features-flight-sql",
+      "inherits": "features-flight",
+      "hidden": true,
+      "cacheVariables": {
+        "ARROW_FLIGHT_SQL": "ON"
+      }
+    },
     {
       "name": "features-gandiva",
       "inherits": "features-basic",
@@ -151,7 +159,7 @@
       "inherits": [
         "features-cuda",
         "features-filesystems",
-        "features-flight",
+        "features-flight-sql",
         "features-gandiva",
         "features-main",
         "features-python-minimal"
@@ -168,7 +176,7 @@
         "features-main",
         "features-cuda",
         "features-filesystems",
-        "features-flight",
+        "features-flight-sql",
         "features-gandiva",
         "features-python-maximal"
       ],
@@ -241,6 +249,15 @@
       "displayName": "Debug build with tests and Flight",
       "cacheVariables": {}
     },
+    {
+      "name": "ninja-debug-flight-sql",
+      "inherits": [
+        "base-debug",
+        "features-flight-sql"
+      ],
+      "displayName": "Debug build with tests and Flight SQL",
+      "cacheVariables": {}
+    },
     {
       "name": "ninja-debug-gandiva",
       "inherits": [
@@ -331,6 +348,15 @@
       "displayName": "Release build with Flight",
       "cacheVariables": {}
     },
+    {
+      "name": "ninja-release-flight-sql",
+      "inherits": [
+        "base-release",
+        "features-flight-sql"
+      ],
+      "displayName": "Release build with Flight SQL",
+      "cacheVariables": {}
+    },
     {
       "name": "ninja-release-gandiva",
       "inherits": [

Reply via email to