-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
CMake revived #150
CMake revived #150
Conversation
a5f0971
to
005ed94
Compare
Thanks a lot. This looks very promising and I am going to check it. Please do add yourself to the Acknowledgements section of both README and README.md. I am currently working on the conan support, but not yet based on cmake generator. |
Can you please check that |
Do not worry about AppVeyor CI: I cancelled the jobs to check out CMake support there. |
I have made the config input files an exact copy of the files that are used as input for configure (but with CMake defines). I'm aware that this probably breaks building with older Visual Studio versions because it uses a modified |
I think these are all my changes for now. If you need help with AppVeyor, let me know. I'd suggest to not run CMake in the main directory, but create and go into e.g.
|
💯 Thank you.
Yes, something is broken, but I have no clue how to fix the env variable check for |
Do you know why
It is missing in lines 199, 208 and 244 of matioConfig.h. |
Maybe it is a protected name, its also used by https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html. I see Travis does not build |
The environment value |
Thank you again so far. What is left for me to do is to update the NEWS (requires a rebase of this branch) and to mention CMake support in the two README files. |
I'll rebase it and smash all these small commits into one. |
OK, I'll wait then. |
I first need to fix Travis. It doesn't like the version number: https://travis-ci.org/github/tbeu/matio/jobs/723872609#L846 |
Changing |
Ah, now I see. The line number L846 was not correctly displayed when clicking the link. hence my first confusion. |
I added you as a contributor such that you should be able to cancel or restart the Travis jobs. |
Thanks. CMake jobs are building successful now, so I'll rebase, squash and force-push. Then I think it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very valuable contribution. Thanks a lot. It always is a pleasure to work with experts of Git, CI and CMake.
Awesome work guys!!! |
I though I'd give it a try as well. It is based on #107. I tried to fix the issues mentioned there.
I moved the commands for Travis CI into separate scripts, to make them easier to read and modify.