summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeScheme.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Source: Fix IWYU warnings in Xcode generatorsNAKAMURA Takumi2021-11-161-2/+8
|
* Xcode: Support "GPU Frame Capture" scheme propertyJake Turner2021-10-191-0/+12
| | | | | | | | | | | Added XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE variable which sets the scheme property value for "GPU Frame Capture" in the Options section by setting the Xcode project variable "enableGPUFrameCaptureMode". Example values are "Metal" (1) and "Disabled" (3). XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE is initialized by the property CMAKE_XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE. Implements: #22700
* Rename cmProp in cmValueMarc Chevrier2021-09-211-4/+4
|
* Source: Remove unnecessary comparisons to nullptrVitaly Stakhovsky2021-05-101-1/+1
|
* cmIsOn: add overload accepting const std::string*Vitaly Stakhovsky2020-07-141-2/+1
|
* Clean a few string conversionsVitaly Stakhovsky2020-07-091-1/+1
|
* cmGeneratorTarget: Remove default config from Get* methodsBrad King2020-05-181-1/+2
| | | | Ensure all call sites pass an explicit configuration.
* GetSafeProperty: return std::string const&Vitaly Stakhovsky2020-04-301-2/+3
|
* cmGeneratorTarget::GetProperty: return cmPropVitaly Stakhovsky2020-04-291-8/+9
|
* Refactoring: add cm::contains to <cmext/algorithm>Marc Chevrier2020-04-171-1/+3
|
* Xcode: Add custom working directory propertyGregor Jasny2019-11-181-4/+24
| | | | Closes: #19967
* xcode: Add XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING propertyGregor Jasny2019-10-011-2/+21
|
* Source sweep: Replace cmExpandList with the shorter cmExpandedListSebastian Holtermann2019-08-231-4/+2
| | | | | | | | | | | | This replaces the code pattern ``` std::vector<std::string> args; cmExpandList(valueStr, args, ...) ``` with ``` std::vector<std::string> args = cmExpandedList(valueStr, ...) ```
* Source sweep: Use cmStrCat for string concatenationSebastian Holtermann2019-08-221-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is generated by a python script that uses regular expressions to search for string concatenation patterns of the kind ``` std::string str = <ARG0>; str += <ARG1>; str += <ARG2>; ... ``` and replaces them with a single `cmStrCat` call ``` std::string str = cmStrCat(<ARG0>, <ARG1>, <ARG2>, ...); ``` If any `<ARGX>` is itself a concatenated string of the kind ``` a + b + c + ...; ``` then `<ARGX>` is split into multiple arguments for the `cmStrCat` call. If there's a sequence of literals in the `<ARGX>`, then all literals in the sequence are concatenated and merged into a single literal argument for the `cmStrCat` call. Single character strings are converted to single char arguments for the `cmStrCat` call. `std::to_string(...)` wrappings are removed from `cmStrCat` arguments, because it supports numeric types as well as string types. `arg.substr(x)` arguments to `cmStrCat` are replaced with `cm::string_view(arg).substr(x)`
* cmAlgorithms: Add cmContainsRegina Pfeifer2019-08-191-3/+1
| | | | Also, use the new function where applicable.
* Source code: Use cmExpandList instead of cmSystemTools::ExpandListArgumentSebastian Holtermann2019-08-141-2/+2
|
* XCode: Add scheme option XCODE_SCHEME_DEBUG_AS_ROOTHarry Mallon2019-03-111-0/+5
|
* clang-tidy: Pass by valueRegina Pfeifer2019-01-221-2/+3
|
* clang-tidy: fix warnings in macOS-only codeBrad King2018-11-271-2/+2
|
* Xcode: Add variables and properties to configure schemesGregor Jasny2018-08-011-0/+167
| | | | | | | | | Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
* Fix some occurrences of readability-braces-around-statementsMatthias Maennich2017-09-281-1/+2
| | | | | | Fix issues diagnosed by clang-tidy [readability-braces-around-statements] Signed-off-by: Matthias Maennich <matthias@maennich.net>
* Convert some leftover loops to C++11 range-based loopMatthias Maennich2017-09-281-3/+2
| | | | | | Fix issues diagnosed by clang-tidy [modern-loop-convert] Signed-off-by: Matthias Maennich <matthias@maennich.net>
* Fix some occurrences using string by value rather than by const&Matthias Maennich2017-09-281-5/+5
| | | | | | | | Fix issues diagnosed by clang-tidy - performance-unnecessary-value-param - performance-unnecessary-copy-initialization Signed-off-by: Matthias Maennich <matthias@maennich.net>
* Replace several occurrences of empty string comparisons by string::empty()Matthias Maennich2017-09-281-1/+1
| | | | | | Fix issues diagnosed by clang-tidy [readability-container-size-empty] Signed-off-by: Matthias Maennich <matthias@maennich.net>
* Xcode: Add XCTest support to schema generatorGregor Jasny2017-06-281-3/+24
| | | | Closes: #16961
* Xcode: Prepare schema generator for XCTestGregor Jasny2017-06-281-18/+16
| | | | Issue: #16961
* Xcode: Use proper buildable name for schemaGregor Jasny2017-02-281-2/+3
|
* Xcode: Select executable target for execution in schemaGregor Jasny2017-02-281-2/+21
|
* Xcode: Fix schema container location calculationGregor Jasny2017-02-281-10/+10
|
* Xcode: Use proper indentation for schemesGregor Jasny2017-02-281-0/+1
|
* Xcode: Write shared schemes based on the default files generated by XcodeGusts Kaksis2017-02-281-0/+206
Issue: #15441