Skip to content
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

Support a way to get taskchampion.h in a build script #2870

Closed
djmitche opened this issue Jul 10, 2022 · 3 comments
Closed

Support a way to get taskchampion.h in a build script #2870

djmitche opened this issue Jul 10, 2022 · 3 comments
Assignees

Comments

@djmitche
Copy link
Collaborator

Currently, to link against the taskchampion-lib C functions, you need to copy taskchampion.h out of the source directory (or, in Taskwarrior's case, put that directory in the include path). That's going to lead to sadness when the version of taskchampion-lib and of taskchampion.h inevitably fall out of sync.

Let's provide a function or constant on taskchampion-lib that contains the header file, so that consumers of the library can put the header file wherever they want using a simple build script (build.rs).

@djmitche djmitche self-assigned this Jul 10, 2022
@djmitche
Copy link
Collaborator Author

ffizz might help with this

@djmitche
Copy link
Collaborator Author

Working on this in my use-ffizz-header branch.

@djmitche
Copy link
Collaborator Author

Fixed in #3114.

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

No branches or pull requests

1 participant