C++: add conversions.h to CMakeLists.txt#3671
Conversation
Without conversions.h in lib/include/omero, compiling a client is all but impossible.
|
The change looks fine and good to merge if everything is green. Were any other headers added since the cmake conversion which might also be missing? There weren't last time I checked, but I haven't looked in detail over the last few months at what might have been added in the interim. On the CI side, we might want to develop some OmeroCpp clients independent of openmicroscopy.git to be built against the installed library/headers. Or have an alternative CMakeLists.txt for the examples so they can be built independently against external headers/libs. Either would allow validation of the install which we don't currently have. |
Was just checking this. This seems to say, "no": |
Agreed. In fact, I thought that was still happening. |
|
@joshmoore The examples are a standard part of the cmake build, so they build in-tree every time you do a build. The reason was so that they wouldn't bitrot (they hadn't been built for well over a year or so with scons as far as I could tell and needed fixing up). We can easily add a second alternatively-named file here to set up the include/library paths and then source the regular CMakeLists.txt. Could probably be added to the same build job, even. |
|
I've done a test build and install and I can confirm the header is now installed correctly. Please merge. |
C++: add conversions.h to CMakeLists.txt
Without conversions.h in lib/include/omero, compiling
a client is all but impossible.
cc: @rleigh-dundee @emilroz
--no-rebase