← 返回首页
CMake presets to enable faster development cmake setup by 9prady9 · Pull Request #3137 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

CMake presets to enable faster development cmake setup#3137

Merged
9prady9 merged 3 commits into
arrayfire:masterfrom
9prady9:cmake_presets
May 19, 2021
Merged

CMake presets to enable faster development cmake setup#3137
9prady9 merged 3 commits into
arrayfire:masterfrom
9prady9:cmake_presets

Conversation

Copy link
Copy Markdown
Member

9prady9 commented May 15, 2021

Description

Run cmake .. --list-presets to see the list of presets available.

Run cmake .. --preset <name_of_preset> to setup build folder using the
options in the particular preset.

Note that these presets feature will only work with cmake 3.20 or later. If it is earlier than cmake 3.20, then the all options need to be set the old way i.e. command line or ccmake or cmake-gui

Changes to Users

None

Checklist

  • Rebased on latest master
  • Code compiles
  • [ ] Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

Run `cmake .. --list-presets` to see the list of presets available. Run `cmake .. --preset <name_of_preset>` to setup build folder using the options in the particular preset.
9prady9 added this to the 3.8.1 milestone May 15, 2021
9prady9 requested review from syurkevi and umar456 May 15, 2021 06:13
umar456 previously approved these changes May 19, 2021
9prady9 merged commit c5cd3fd into arrayfire:master May 19, 2021
9prady9 deleted the cmake_presets branch May 19, 2021 08:54
9prady9 pushed a commit to 9prady9/arrayfire that referenced this pull request Aug 2, 2021
Run `cmake .. --list-presets` to see the list of presets available. Run `cmake .. --preset <name_of_preset>` to setup build folder using the options in the particular preset. (cherry picked from commit c5cd3fd)
syurkevi pushed a commit that referenced this pull request Dec 28, 2021
Run `cmake .. --list-presets` to see the list of presets available. Run `cmake .. --preset <name_of_preset>` to setup build folder using the options in the particular preset. (cherry picked from commit c5cd3fd)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.