Skip to content

add "Compile a C library while setting custom defines" example #295

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
Tracked by #236
budziq opened this issue Sep 25, 2017 · 1 comment
Closed
Tracked by #236

add "Compile a C library while setting custom defines" example #295

budziq opened this issue Sep 25, 2017 · 1 comment

Comments

@budziq
Copy link
Collaborator

budziq commented Sep 25, 2017

Use cc crate to compile a C library from a build.rs file while setting custom defines/CFLAGS.

Please note that it will be important to mention that this is a build time crate.
Most likely we will dedicate a separate (last) chapter like "build_time.md"

cc #236

@dmfutcher
Copy link

I can take a look at this one

@budziq budziq added the claimed label Oct 8, 2017
budziq pushed a commit that referenced this issue Oct 12, 2017
Add 'Compile a C library while setting custom defines'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants