Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
efab8560
Commit
efab8560
authored
Oct 14, 2020
by
Kyle Edwards
Browse files
Help: Show environment field
parent
2208db11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Help/manual/presets/example.json
View file @
efab8560
...
...
@@ -19,6 +19,10 @@
},
"SECOND_CACHE_VARIABLE"
:
"ON"
},
"environment"
:
{
"MY_ENVIRONMENT_VARIABLE"
:
"Test"
,
"PATH"
:
"$env{HOME}/ninja/bin:$penv{PATH}"
},
"vendor"
:
{
"example.com/ExampleIDE/1.0"
:
{
"autoFormat"
:
true
...
...
Tests/RunCMake/CMakePresets/DocumentationExample.cmake
View file @
efab8560
...
...
@@ -2,3 +2,4 @@ include(${CMAKE_CURRENT_LIST_DIR}/TestVariable.cmake)
test_variable
(
FIRST_CACHE_VARIABLE
"BOOL"
"OFF"
)
test_variable
(
SECOND_CACHE_VARIABLE
"UNINITIALIZED"
"ON"
)
test_environment_variable
(
MY_ENVIRONMENT_VARIABLE
"Test"
)
Kyle Edwards
@kyle.edwards
mentioned in commit
81c88bb2
·
Oct 20, 2020
mentioned in commit
81c88bb2
mentioned in commit 81c88bb26190da0d9f5a2ceda8239387c2fdcd73
Toggle commit list
Kyle Edwards
@kyle.edwards
mentioned in commit
54a5c026
·
Oct 20, 2020
mentioned in commit
54a5c026
mentioned in commit 54a5c026d0fbb215b29c15dd8864eb840a2e1a46
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment