Skip to content

CMake presets to enable faster development cmake setup #3137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 19, 2021

Conversation

9prady9
Copy link
Member

@9prady9 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 9prady9 added this to the 3.8.1 milestone May 15, 2021
@9prady9 9prady9 requested review from umar456 and syurkevi May 15, 2021 06:13
umar456
umar456 previously approved these changes May 19, 2021
@9prady9 9prady9 merged commit c5cd3fd into arrayfire:master May 19, 2021
@9prady9 9prady9 deleted the cmake_presets branch May 19, 2021 08:54
9prady9 added 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)
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