Skip to content
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

[FEA]: Setup CMake presets for common build configurations #252

Closed
1 task done
Tracked by #248
jrhemstad opened this issue Jul 20, 2023 · 1 comment · Fixed by #324
Closed
1 task done
Tracked by #248

[FEA]: Setup CMake presets for common build configurations #252

jrhemstad opened this issue Jul 20, 2023 · 1 comment · Fixed by #324
Assignees

Comments

@jrhemstad
Copy link
Collaborator

Is this a duplicate?

Area

Infrastructure

Is your feature request related to a problem? Please describe.

CCCL uses a variety of build/test scripts that simplify and standardize the process for building/testing the various components. This includes setting up cmake configuration/build/test options.

With the addition of the Windows scripts, there is now quite a bit of redundancy between the Windows and Linux scripts. This invites the opportunity for the configurations to drift apart between Linux and Windows, which makes maintenance more difficult and risks discrepancies between Windows and Linux.

Describe the solution you'd like

CMake has a feature called "presets" that allow you to specify common configuration/build/test settings for a variety of different use cases.

We should move as much of the build/test logic in our scripts into cmake presets, so that way it can be shared between Windows and Linux.

Describe alternatives you've considered

No response

Additional context

No response

@alliepiper
Copy link
Collaborator

Added a CMakePresets.txt file as part of #177.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants