-
Notifications
You must be signed in to change notification settings - Fork 51
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
FIX: generate ncxx4-config in cmake builds #37
Conversation
Seems like I haven't correctly applied some CMAKE variables. Fixed. |
There is more missing to the final ncxx4-config file. I also get an |
Ok, I have a few other things on my plate but I'll try to nail this down today or possibly tomorrow. Thank you very much for contributing this, however, it is very much appreciated! |
Thanks for taking the time. Still, there is something not working correctly with this PR. I'll also have another look tomorrow (european time), If you want me something to do, just ping me. |
@WardF Any news on that? |
1 similar comment
@WardF Any news on that? |
Hi, none yet, we had some fires to put out but now that 4.4.1 is out I'll see if I can knock this out in short order. Thanks for your patience! |
I've identified and corrected the error; when the travis-ci checks finish I'll merge into master. Thanks again! |
Merged, thanks again! Incidentally, I used the command line utility |
Thanks for the hint, I'll keep that in mind for the future. As we are relying on releases, any plans for a 4.3.1 release? Otherwise we would need to build from the latest commit. |
There haven't been a lot of changes since the previous release, so there aren't any immediate plans for a new release. I can schedule one, but it will be in the near future; in the short-term (next few weeks) I have other priorities I have to attend to. |
That's fine. Shall #36 be closed then? |
\Brief Release notes file for the netcdf-cxx4 package. This file contains a high-level description of this package's evolution. Releases are in reverse chronological order (most recent first). Note that this file was created and maintained starting with the `netcdf-cxx4 4.3.0 release`. ## netCDF-CXX4 4.3.2 TBD ## netCDF-CXX4 v4.3.1 September 11, 2019 ### Requirements * netCDF-C 4.6.0 or greater ### Changes * [Enhancement] Added cmake support to distribution files created by `make dist`. * [Bug Fix] Added `ncFile::create()`, also added a new `open` function and constructor to allow for more flexibility when opening a file. See [GitHub #55](Unidata/netcdf-cxx4#55) for more information. * [Enhancement] Addressed an issue reported with `Intel Compilers 17.0.0`. See [GitHub #41](Unidata/netcdf-cxx4#41) for more information. * [Enhancement] Updated how `configure` determines information about the existing netCDF-C install. See [GitHub pull request #39](Unidata/netcdf-cxx4#39) for more information. * Corrected an issue where cmake-based builds weren't generating `ncxx4-config`. See [GitHub pull request #37](Unidata/netcdf-cxx4#37) for more information. ## netcdf-cxx4 v4.3.0 released May 13, 2016 * Fixed an issue where the tests were failing silently, and the underlying `NcType` class could not properly determine the type name or type size reliably. See [GitHub issue #30](Unidata/netcdf-cxx4#30) for more information. * Changed `NCXX_ENABLE_DOXYGEN` option to an easier-to-remember `ENABLE_DOXYGEN`. * Added `--enable-doxygen`, `-DNCXX_ENABLE_DOXYGEN=ON` options to allow generation of netCDF-CXX4 documentation via doxygen using either `configure` or `cmake`, respectively. * Added `netcdf-cxx4` to the [Coverity Scan Dashboard](https://scan.coverity.com/projects/unidata-netcdf-cxx4?tab=overview). * Added `open` and `close` methods for NcFile. See [Github Pull Request #18](Unidata/netcdf-cxx4#18) for more information. * Added `netcdf-cxx4` to travis-ci.org. See [https://travis-ci.org/Unidata/netcdf-cxx4](https://travis-ci.org/Unidata/netcdf-cxx4) for more details. * Added `NcCompoundType` methods `getMemberName` and `getMemberIndex`. See [Pull Request #19](Unidata/netcdf-cxx4#19) for more details. * Added `cmake` support to `netcdf-cxx4`, which will allow us to create a `CDash` continuous integration dashboard similar to those created for the `netcdf-c` and `netcdf-fortran` projects. * Added a `travis-ci` configuration file, `.travis.yml`. * Created `RELEASE_NOTES.md`.
This adds generation of ncxx4-config to the cmake build. Directly adapted from the configure approach. Tested locally.
Solves #36. In urgent need for conda-forge/netcdf-cxx4-feedstock#9.