This PR introduces cmake compilation as an alternative to the makefile.
It allows to build 2 targets:
the StrobeMap binary (binary will be in /bin)
a strobemer static library (built in /lib)
For the latter, it makes sure that the library is correctly recognized as a cmake-compatible library, e.g. the library can be found and linked by any CMakeList.txt after adding these lines :
@ksahlin
This PR introduces cmake compilation as an alternative to the makefile. It allows to build 2 targets:
StrobeMap
binary (binary will be in /bin)strobemer
static library (built in /lib)For the latter, it makes sure that the library is correctly recognized as a cmake-compatible library, e.g. the library can be found and linked by any CMakeList.txt after adding these lines :
Among other advantages, this just made it much easier for us to load and link the library in our CLion projects.