-
Notifications
You must be signed in to change notification settings - Fork 68
Initial support for cmake.preset
#994
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"version": 1, | ||
"configurePresets": [ | ||
{ | ||
"name": "scikit", | ||
"cacheVariables": { | ||
"PRESET_ONLY_VAR": "defined", | ||
"OVERWRITTEN_VAR": "original" | ||
}, | ||
"binaryDir": "/dev/null", | ||
"generator": "Ninja" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Windows disapproves, but empty generator is only available in version There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. scikit-build-core installs ninja via pip anyway, doesn't it? It should be ok to set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Windows is the black sheep here, and there is some logic on scikit-build-core around it. Don't remember the details though. There is also the logic around |
||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I am handling this part correctly. Generally it should not be tied to the
auto-cmake
version, but not sure where to feed it to override potential values set by the user. Or we just fail it atbuilder.cmake
?