-
Notifications
You must be signed in to change notification settings - Fork 94
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
[OUTDATED] Fix the pkgconfig file generation #63
Conversation
Hi @bradbell , if there is anything we can do to help the process of merging this PR, feel free to let us know, thanks! |
The title of #62 is: I have been using the following documentation for pkgconfig: It seems to say that the definitions at the top are just an example. In fact, exec_prefix is equal to prefix and there is no discussion of how it might be different. I can guess at the specifications for the other definitions: prefix, includedir, and libdir. There is another issue here. I recently made use of Libs.private and Requires.private to get cppad_mixed.pc to work properly. I should be making use of them in the cppad.pc file. |
I am working on a new version of how pkg-config is used by cppad during the cmake command and need to better understand this pull request in terms of its requirements. For example, what is wrong with the current version of the cppad.pc file ? |
Hi @bradbell, thanks for the reply. I was pinging the issue that @GiulioRomualdi (another member of my lab, as we both work in the same research institute opened). I think that @GiulioRomualdi assume that the
However, by inspecting the pkg-config documentation I also fail to find any reference to the fact that the |
Hi all, I'm not an expert of |
This means any used variable needs to be defined because otherwise the variable expansion will fail. There are some exception from the rules since on windows |
Thanks @Neumann-A for chiming in! |
As I understand, vcpkg has some special requirements for the pkg-config files *.pc. There should be a place in the vcpkg documentation where theses requirements are specified. It not, perhaps you could list them on this issue page. |
I think I have the definitions I am looking for: |
The newer version of cppad.pc,in
Does this fufill the requirements of this pull requrest ? |
Hi @bradbell I tried to use the latest version of
So I investigated a bit and I noticed some typos in the Let me know if you are interested in a PR. (I can close this one and open a new one) |
Closing in favor of the #95 |
This PR fixes #62