TuononenP / pkg-config-support-for-eclipse-cdt

Provides automation of configuration needed for projects using pkg-config, such as GTK+ and gtkmm. Very useful time-saving tool for all C, C++ programmers using Eclipse.
4 stars 2 forks source link

Fix for issue with path missing last character #19

Closed sheldonrobinson closed 7 years ago

sheldonrobinson commented 7 years ago

Path being added as /usr/includ instead of /usr/include.

Updated to use regex parsing for paths Include paths parse by (-I)(/[^/\s]*)+, that is, '-I' followed by '/' followed by anything other than white-space or '/', repeat until end. Similarly, for LibPath using '-L' instead of '-I'

lib are parsed by (-l)([^/\s]*)+, anything characters besides white-space and '/'. We are not expecting relative path for libs.

Added fix to handled defined symbols provided by pkgconfig --cflags

sheldonrobinson commented 7 years ago

Fix to handled defined symbols provided by pkgconfig --cflags