MaJerle / lwgps

Lightweight GPS NMEA parser for embedded systems
MIT License
393 stars 128 forks source link

Simplified CMake handling #21

Closed robamu closed 3 years ago

robamu commented 3 years ago

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.