Граф коммитов

30 Коммитов

Автор SHA1 Сообщение Дата
Garrett Campbell 227d9632cf
fix schema field in v8 schema (#3809) 2024-06-04 17:56:09 +00:00
Garrett Campbell 2d7a6145f9
Add support for CMakePresets.json v7 and v8 (#3609)
* Add most of what is needed for v7 and v8 support

Still need to update the schema.

* fix merge conflict

* add schemas for presets v7 and v8, update package.json

* update changelog
2024-03-06 15:13:31 -05:00
Andreea Isac aa46849ef6
Presets V6 support (package and workflow) (#3548)
* Draft incomplete - does not compile

* Remaining functionality, needs more cleanup and testing

* More bug fixes, not much cleanup

* More bug fixes and stabilization

* fix indentation issues, unused variables, etc.

* Implement first round of code review feedback

* Fix more subtle and complex merge conflicts

* Fix linter issues

* Forgot to dispose of package event subscription

* PR review round two

* Incomplete status bar support for V6 presets. Don't clear output when in workflow mode, regardless of cleanOutputBeforeBuild setting. More cleanup.

* Finish status bar UI support for package and workflow presets

* Add validation of presets structure (applies to all). Fix some bugs.

* Skip expanding strings when not necessary. Remember more presets associations in the workspace state when reseting configure preset. More cleanup.

---------

Co-authored-by: Garrett Campbell <gcampbell@microsoft.com>
2024-01-30 15:21:46 -08:00
Ben McMorran f1d849436d
Add trust to kit scanning paths (#3067)
* Add trust to kit scanning paths

* Update wording
2023-03-22 11:04:47 -07:00
Nicholas Sinlock f666577a98
Add support for CMake Presets V5 (#2995) 2023-02-03 07:51:23 -08:00
TisziV 3236cc864b
Add an optional description field to cmake-kits.json file (#2944) 2023-01-19 10:35:46 -08:00
chausner 2877a9df57
Implement support for v4 presets files (#2544) 2022-06-20 15:05:50 -07:00
csigs 07575eb7b3
[Auto] Localization - Translated Strings (#2348) 2022-02-16 08:43:38 -08:00
Bob Brown a86ffe409e
Set up localization for v3 presets schema (#2142) 2021-09-30 09:28:49 -07:00
Sam Freed 55a5868330
Add support for CMakePresets version 3 (#2102) 2021-09-07 13:01:42 -07:00
Bob Brown 390e7bfd08
Fix a schema problem and clean up a test issue (#1968) 2021-07-01 12:01:24 -07:00
Bob Brown cea9766e30
Update schema for cacheVariables (#1935) 2021-06-24 09:53:03 -07:00
BlueC0re 4e97d63a80
Fix typo in CMakePresets.json schema (#1809)
MinSizRel => MinSizeRel
2021-04-26 09:32:29 -07:00
xisui-MSFT 4293388501
CMake Presets (#1725) 2021-04-12 09:48:08 -07:00
Yonggang Luo 6bcd2e3b00
Add buildKitVersion buildKitTriple (#1337)
Add buildKitName buildKitHostOs buildKitTargetOs buildKitTargetArch buildKitVersionMajor buildKitVersionMinor attributes for kit.

The KitDetect result that can be configured by the user directly.

Detecting gcc triple and clang triple properly

Now detecting gcc triple and clang triple from Target: attribute.
Or from line starts with `Reading specs from` for very old compilers such as:
```
Reading specs from C:\\WindRiver-VxWorks653-2.2.0.0\\gnu\\3.3.2-vxworks653\\x86-win32\\bin\..\\lib\\gcc-lib\\powerpc-wrs-vxworksae\\3.3.2\\specs
Reading specs from ../lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/specs
```

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-02-19 05:46:28 -08:00
pisker 036a4e0f78 introduced changes requested by bobbrow 2020-04-02 13:40:01 +02:00
pisker 6c6cab3b90 Support shell script to set environment variables for a kit 2020-01-03 19:39:10 +01:00
vector-of-bool dff7889011 Prompt the user for action when a kit becomes unavailable. (Such as a compiler binary being deleted) [Close #393] 2018-06-09 01:48:28 -06:00
vector-of-bool 2319817894 Break down the borders between kit types. Permit all options on all types of kits. 2018-05-04 01:55:50 -06:00
vector-of-bool 993b5f6438 Update variant schema for environment variables 2018-03-25 18:51:57 -06:00
KoeMai a3c03dacb2 Replace visualStudioVersion by visualStudio
This fix the validation of the kit file.
Know we find the kits after a scan and on later starts of the extension.
2017-12-24 13:43:43 +01:00
vector-of-bool 69ab693c29 Fix schema-code mismatch 2017-12-18 20:09:24 -07:00
vector-of-bool 4dbd9bdcde Simplify and fix some variant behavior 2017-12-10 16:19:34 -07:00
vector-of-bool de0a539eff Working to bring back build variants 2017-10-17 00:18:39 -06:00
vector-of-bool c00a3ea40f We can find Visual Studio kits! (Not all plugged in yet, but we find
them.)
2017-10-10 21:14:07 -06:00
vector-of-bool 957f8daf52 Missing schema 2017-09-23 15:12:00 -06:00
vector-of-bool 1c4d6cc7fc Permit base$ in variants file (Not used ATM) 2017-06-04 14:38:52 -06:00
vector-of-bool baeb727957 Switch to a special token that is more YAML friendly 2016-10-06 23:08:10 -06:00
vector-of-bool c8ae4b3700 Tweak schema a variants format 2016-10-06 22:54:06 -06:00
vector-of-bool eccfcc6b35 Add a way to access and store variant information 2016-10-02 19:45:02 -06:00