Closed theblackunknown closed 5 months ago
Hi there!
Sorry for the late reply. We are in the middle of changing so the the entire code for the image metric is located in a single header with no dependencies on any other image headers etc. Hopefully, we are done within a week or so. Would that make your life easier? I.e., no library is needed then.
/Tomas
The single header version of FLIP has now been pushed to main
.
Hi @inversepixel sorry for the late reply too :) This should definitely be helpful, I'll have a look when the times allow to incorporate those new changes !
Closing since we switched to a single header file. Hoping this helps, otherwise post again.
Hi @inversepixel sorry for the long silence, the new approach should help me to do things in a better way I think ! It is fine to close this for now, I'll re-open or open a new one if needed !
This PR suggests some changes to the CMake setup to allow to build both FLIP library and executable in a single build.
The rationale why I chose to make the executable and not the library optional is because I am in the process of writing a port (i.e. a package) for
flip
to microsoft/vcpkg (cf. microsoft/vcpkg#36013). In the context of (this) package manager, we usually create library by default, and then can optionally opt-in to create tool too.