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

2550 Коммитов

Автор SHA1 Сообщение Дата
Bob Brown 9f1a4e0556
Set resource scope for settings access (#2221) 2021-11-01 23:54:34 -07:00
Bob Brown bbbe9b7fa2
bump version for out of band releases 2021-10-29 15:17:28 -07:00
Bob Brown 07c6f281f7
point 'develop' references to 'main' instead (#2217) 2021-10-29 15:04:10 -07:00
Bob Brown 24b1d0bdd1
Merge pull request #2215 from microsoft/develop
merge develop to main (and remove develop after this)
2021-10-29 13:09:15 -07:00
Gustavo Varo d987ac445c
Merge pull request #2213 from microsoft/dev/gugavaro/2210_presets
Adding inheritedPresetCondition field to be able to correctly evaluate preset conditions
2021-10-29 15:51:14 -04:00
Andreea Isac 6207997a5e
Merge branch 'develop' into dev/gugavaro/2210_presets 2021-10-29 11:59:49 -07:00
Bob Brown 58905af63d
Fix Show Build Command (#2214)
* Fix Show Build Command

* also remove a logging message that shouldn't be there
2021-10-29 11:41:19 -07:00
Bob Brown 051941292c
Merge branch 'develop' into dev/gugavaro/2210_presets 2021-10-29 11:38:44 -07:00
Gustavo Varo 71d529720f Adding __inheritedPresetCondition field to control evaluation of preset conditions 2021-10-29 14:36:16 -04:00
csigs 4606e0674b
[Auto] Localization - Translated Strings (#2209) 2021-10-28 10:27:06 -07:00
Andreea Isac 18bca249ed
Merge pull request #2206 from microsoft/develop
Merge from develop into main for 1.9.1
2021-10-25 14:52:25 -07:00
Andreea Isac 5e9a9aa5ef
Fix C standard reroute for c2x and update changelog. (#2205)
* Fix C standard reroute for c2x and update changelog.

* Changelog update
2021-10-25 14:37:11 -07:00
csigs c9d116843a
[Auto] Localization - Translated Strings (#2170) 2021-10-25 14:20:42 -07:00
Bob Brown b8ec02b4c4
More logging around IntelliSense configurations (#2199)
* Log partial matches with config provider

* Move logging around and fix issue with config selection

* small change
2021-10-25 12:43:54 -07:00
Bob Brown 1f993743fb
Merge pull request #2198 from microsoft/develop
merge to main for 1.9.1
2021-10-21 12:08:56 -07:00
Andreea Isac 62aa14905d
Release CMT 1.9.1 (#2195) 2021-10-21 12:06:55 -07:00
Mark Ulrich 1a6976565a
Don't add '-j' argument if parallelJobs <= 1 (#2187) 2021-10-21 12:05:11 -07:00
Bob Brown 3190111f67
Fix presets using conditions (#2193) 2021-10-21 11:20:31 -07:00
Andreea Isac b608c1ba0c
Fixes for 2180 and 2181 (#2191) 2021-10-20 12:34:29 -07:00
Bob Brown fd511b4d2a
Don't update cpptools if IntelliSense is disabled (#2189) 2021-10-19 10:53:01 -07:00
Bob Brown 6f2f5155c6
Don't add extra quotes to args (#2182) 2021-10-15 16:02:54 -07:00
Andreea Isac 684c02c2d7
Merge pull request #2177 from microsoft/develop
Bring in 2 more bug fixes for 1.9 from develop
2021-10-14 12:33:35 -07:00
Bob Brown bb88432e35
Re-merge two PR's (#2176)
Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-14 12:00:11 -07:00
Bob Brown 0470334b80
Add a setting to allow comments in CMakePresets files (#2175)
* Add a setting to allow comments in CMakePresets

* lint

* changelog
2021-10-14 11:43:34 -07:00
Andreea Isac 210797cbaa
Merge pull request #2173 from microsoft/develop
Merge from develop into main for CMT 1.9.0
2021-10-13 16:25:07 -07:00
Andreea Isac 95235e280d
Package version bump up and changelog updates for CMT 1.9 (#2172)
* Package version bump up and changelog updates for CMT 1.9

* Correct PR description in changelog
2021-10-13 16:11:37 -07:00
xisui-MSFT 40c9453797
Enable target selection when using presets (#2162)
* Enable target selection when using presets

* Try to fix tests

* Fix bad merge

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
Co-authored-by: Andreea Isac <andris@microsoft.com>
2021-10-13 15:11:42 -07:00
xisui-MSFT ab67ee3ea5
Auto select build preset when switching configure preset (#2146)
Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-13 08:27:41 -07:00
csigs 0d9c8f13d7
[Auto] Localization - Translated Strings (#2166) 2021-10-12 09:43:09 -07:00
Felix L 73358f92e2
compdb: mergedCompileCommands for CMake subprojects (#2029)
* compdb: opt to use any compile_commands.json in build dir

Signed-off-by: Felix Lelchuk <felix-el@users.noreply.github.com>

* Introduce mergeCompileCommands configuration

This replaces the collectCompileCommands addition,
which altered the behavior of copyCompileCommands
into a standalone mergeCompileCommands config option
so both can co-exist without cross-interference.

* Emit a warning in case both copyCompileCommands and mergedCompileCommands are set, notifying the developer that the copy setting is ignored.

* Fix merge

Co-authored-by: Felix Lelchuk <felix-el@users.noreply.github.com>
Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
Co-authored-by: Felix Lelchuk <felix.2.sausmikat@aptiv.com>
Co-authored-by: Andreea Isac <andris@microsoft.com>
2021-10-11 14:39:53 -07:00
xisui-MSFT d28a4f872c
Add build and configure commands to show cmake commands without running them (#1767)
* Add dry run commands

* Change 'dry run' to 'log * command'

* Change 'log' to 'show'

* Pass in build target for kits and vars

* Stop logging any extra besides the configure command, when command showConfigureCommand is used

* Simplify IF condition

Co-authored-by: Elaheh Rashedi <elahehrashedi@gmail.com>
Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
Co-authored-by: Andreea Isac <andris@microsoft.com>
2021-10-11 14:17:42 -07:00
Bob Brown d7f00a9ea4
Shorten the configuration title (#2161) 2021-10-11 09:28:06 -07:00
csigs c41cb7962e
[Auto] Localization - Translated Strings (#2163) 2021-10-11 09:27:45 -07:00
csigs 2c391036a3
Localization - Translated Strings (#2154) 2021-10-08 09:07:44 -07:00
Bob Brown 92b86931c9
Update build-vsix.yml (#2158) 2021-10-07 00:09:28 -07:00
Andreea Isac 74dd500a16
Reroute -std=gnu++2b passed to cmake towards gnu++20 or c++20, since CppTools didn't implement 2b yet. (#2157) 2021-10-06 15:08:25 -07:00
Andreea Isac 4c72b08910
Don't delete cache when generator extension default differs from cache value and configure is disabled (#2156) 2021-10-06 11:58:51 -07:00
Bob Brown ace260dc3b
reorder some logic in the debugger override case (#2123)
* reorder some logic in the debugger override case

* update tests

* update paths

* Get absolute path

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-06 02:52:16 -07:00
Bob Brown db75715e55
Don't keep variables that point to the wrong toolset (#2151)
* temporary revert of 2089

* re-enable benign variables.

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-05 09:31:10 -07:00
Bob Brown 93e98fed7b
Don't scan the whole workspace for CMakeLists.txt, just a few folders (#2152)
Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-05 09:14:54 -07:00
Elaheh Rashedi ba075eed9c
double quote sysroot flag if necessary [don't merge yet] (#2003)
* quote sysroot if necessary

* keep arguments

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-05 08:41:17 -07:00
Elaheh Rashedi 002a522d39
support clang compilers without full path (#2007)
* stash

* stash

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-05 00:22:06 -07:00
csigs 998267565b
Localization - Translated Strings (#2149) 2021-10-04 12:09:51 -07:00
Bob Brown 3dbb36e6ce
Add strong typing for cmake.debugConfig (#2080)
* Add strong typing for cmake.debugConfig

* rename interface and move a property

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-04 09:12:36 -07:00
Yonggang Luo 682d3daa87
Patch Windows SDK bin path in a more reliable way. (#2021)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
2021-10-04 04:00:49 -07:00
Abdullah Amr 54db06f2ff
Trigger a reconfiguration, on all cmake files change (#2010)
* Trigger a reconfiguration, on all cmake files change

* find relatable cmakelists

* Remove await resulted from bad merge

Co-authored-by: Abdullah Amr Sobh <abdullahamrsobh@gmail.com>
Co-authored-by: elrashed <elahehrashedi@gmail.com>
Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
Co-authored-by: Andreea Isac <andris@microsoft.com>
2021-10-04 03:40:25 -07:00
csigs 383e1beee7
Localization - Translated Strings (#2148) 2021-10-01 09:48:52 -07:00
Andreea Isac 6c789de27a
Merge pull request #2031 from jameslahm/develop
feat: enable default copy to compile_commands.json
2021-09-30 12:45:02 -07:00
Andreea Isac 7f5352aa23
Merge branch 'develop' into develop 2021-09-30 12:23:12 -07:00
Andreea Isac 01e5441097
Merge pull request #2129 from microsoft/bobbrow/cacheMissing
Force a reconfigure if the cache folder is expected, but missing
2021-09-30 12:23:02 -07:00