Skip to content

david-cattermole/cxx-demo-example: CXX with cbindgen and CMake #461

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

Closed
wants to merge 28 commits into from

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 12, 2020

Import https://github.com/david-cattermole/cxx-demo-example as a PR in case that repo were to go away, because it looks like a nicely done CMake starting point.

david-cattermole and others added 28 commits November 7, 2020 21:55
We are not linking to any rust code, it's not needed.
A flag seems more trustworthy that Window's Command Prompt redirection.
It shouldn't make a difference each way, but a flag is easier to read,
IMHO.
std::make_unique is only in C++14 and above.
Otherwise the cxxbridge symbols will not be compiled into our
static library.
@dtolnay dtolnay closed this Nov 12, 2020
@dtolnay dtolnay deleted the david-cattermole/cxx-demo-example branch November 12, 2020 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants