You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My org has been moving away from using EXCLUDE_FROM_ALL for test targets, as it generally makes building + testing easier, but this means we need to specify which targets to build in the package.
Currently, we do the following:
cmake.build(cli_args=["--target", "my_library"])
As a minor QOL, it would be nice if we could say something like
cmake.build(targets=["my_library"])
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
Excellent, that is quite useful, it must have been added since the last time I checked.
However, it only supports one argument, so if I have multiple things to build, I would either need two calls (which avoids potential parallelism) or resorting to the method described above. Could the target parameter be made to take either a string or list of strings?
What is your suggestion?
My org has been moving away from using
EXCLUDE_FROM_ALL
for test targets, as it generally makes building + testing easier, but this means we need to specify which targets to build in the package.Currently, we do the following:
As a minor QOL, it would be nice if we could say something like
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: