schwehr / libais

C++ decoder for Automatic Identification System for tracking ships and decoding maritime information
Other
218 stars 97 forks source link

Restore CMake-default NDEBUG behaviour #166

Closed jamtho closed 6 years ago

jamtho commented 6 years ago

"CMake defines NDEBUG by default on Release builds. Forcing through a command line argument in this way also breaks non GCC-style compilers."

This is the only potentially build breaking thing I'm worried about.

I'll supply another PR to bring vdm.h and decode_body.h into the CMake fold soon. (CMake is an acquired taste that I'm not so sure I'm glad I've acquired.)