diff options
| author | John Eivind Helset <jehelset@gmail.com> | 2022-04-02 07:39:52 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2022-04-02 08:24:51 +0200 |
| commit | defce6e6bb504bdfab1e091550e2f709310327b9 (patch) | |
| tree | 604c4c4082f7aca08b996d402b4e6246780df247 /projectile.el | |
| parent | f3468e8d20b9d3c0da58fe5d779bd2ff35e310a9 (diff) | |
Fix support for preset-based installs in CMake projects.
Diffstat (limited to 'projectile.el')
| -rw-r--r-- | projectile.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/projectile.el b/projectile.el index 1963ed1..7db137f 100644 --- a/projectile.el +++ b/projectile.el @@ -2885,7 +2885,8 @@ files such as test/impl/other files as below: (defconst projectile--cmake-command-presets-minimum-version-alist '((:configure-command . (3 19)) (:compile-command . (3 20)) - (:test-command . (3 20)))) + (:test-command . (3 20)) + (:install-command . (3 20)))) (defun projectile--cmake-command-presets-supported (command-type) "Check if CMake supports presets for COMMAND-TYPE." @@ -2904,7 +2905,8 @@ files such as test/impl/other files as below: (defconst projectile--cmake-command-preset-array-id-alist '((:configure-command . "configurePresets") (:compile-command . "buildPresets") - (:test-command . "testPresets"))) + (:test-command . "testPresets") + (:install-command . "buildPresets"))) (defun projectile--cmake-command-preset-array-id (command-type) "Map from COMMAND-TYPE to id of command preset array in CMake preset." |
