-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add support for feature selection #108
Commits on Sep 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 79e498d - Browse repository at this point
Copy the full SHA 79e498dView commit details -
Initial implementation of feature support via target property
This patch builds on the parent commit, but changes the API to use a target property. Since this approach requires CMake >= 3.19, the rust2cpp test that received features was copied into the new features test and reverted from the old test, so that it can still be run with older cmake versions.
Configuration menu - View commit details
-
Copy full SHA for a10009d - Browse repository at this point
Copy the full SHA a10009dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c77c89e - Browse repository at this point
Copy the full SHA c77c89eView commit details -
Fix support for multiple features with CORROSION_FEATURES
* Make sure to use a space separator for the cargo command line * Join the target property list to the expected comma delimiter for the generator
Configuration menu - View commit details
-
Copy full SHA for 7651db7 - Browse repository at this point
Copy the full SHA 7651db7View commit details -
Simplify CMake syntax slightly for features command line
And $<IF> without the else part can be rewritten as plain $<>
Configuration menu - View commit details
-
Copy full SHA for 8891682 - Browse repository at this point
Copy the full SHA 8891682View commit details -
Configuration menu - View commit details
-
Copy full SHA for c671ed9 - Browse repository at this point
Copy the full SHA c671ed9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d2eb07 - Browse repository at this point
Copy the full SHA 9d2eb07View commit details -
Reference the second function that's guarded by the second feature, otherwise we don't know if both were passed.
Configuration menu - View commit details
-
Copy full SHA for dd2cf71 - Browse repository at this point
Copy the full SHA dd2cf71View commit details -
Re-add support for FEATURES when importing crates
This restores what 79e498d added initially, the most convenience API for the common case of importing just one crate.
Configuration menu - View commit details
-
Copy full SHA for 691ddba - Browse repository at this point
Copy the full SHA 691ddbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0350841 - Browse repository at this point
Copy the full SHA 0350841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80e530a - Browse repository at this point
Copy the full SHA 80e530aView commit details
Commits on Sep 3, 2021
-
Fix all-features/no-default-featurtes target property override
The target property is empty, if it does not exist. If it is not empty, then map it to the correct value (--foo) or the empty string.
Configuration menu - View commit details
-
Copy full SHA for bb7b047 - Browse repository at this point
Copy the full SHA bb7b047View commit details