In the previous version, LwGPS was built as a static library.
I think it is better if it is an INTERFACE target instead. This makes the CMakeLists.txt file significantly simpler and allows users to supply the build flags / defines / optimizations themselves. Users also don't have to set a specific variable to point to the lwgps_opts.h include path now, it is sufficient to put it in some application include path.
In the previous version, LwGPS was built as a static library. I think it is better if it is an INTERFACE target instead. This makes the
CMakeLists.txt
file significantly simpler and allows users to supply the build flags / defines / optimizations themselves. Users also don't have to set a specific variable to point to thelwgps_opts.h
include path now, it is sufficient to put it in some application include path.