This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git
The following commit(s) were added to refs/heads/main by this push:
new df62a5e More realistic cmake user presets file (#15)
df62a5e is described below
commit df62a5e1799892593698990773f768a37927dae9
Author: Dewey Dunnington <[email protected]>
AuthorDate: Tue Aug 9 13:43:52 2022 -0300
More realistic cmake user presets file (#15)
* more realistic cmake user presets file
* remove unneeded vars
* newline at end of all files
---
CMakePresets.json | 2 +-
CMakeUserPresets.json.example | 26 +++++++++++++++++++-------
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/CMakePresets.json b/CMakePresets.json
index f209935..0c52315 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -25,4 +25,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/CMakeUserPresets.json.example b/CMakeUserPresets.json.example
index 694eb9f..2a89693 100644
--- a/CMakeUserPresets.json.example
+++ b/CMakeUserPresets.json.example
@@ -7,13 +7,25 @@
},
"configurePresets": [
{
- "name": "paleolimbot-local",
- "inherits": ["default"],
- "displayName": "(paleolimbot) local build",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "CMAKE_CXX_FLAGS_DEBUG": "-g"
- }
+ "name": "user-local",
+ "inherits": ["default-with-tests"],
+ "displayName": "(user) local build",
+ "cacheVariables": {
+ "Arrow_DIR": "/path/to/arrow/dist/lib/cmake/arrow",
+ "ArrowTesting_DIR": "/path/to/arrow/dist/lib/cmake/arrow",
+ "GTest_DIR": "/path/to/googletest/1.11.0/lib/cmake/GTest"
}
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "user-test-preset",
+ "description": "",
+ "displayName": (user) test preset)",
+ "configurePreset": "user-local",
+ "environment": {
+ "CTEST_OUTPUT_ON_FAILURE": "1"
+ }
+ }
]
}