[CMake] Lint and cmake
Steve Atkins
steve at blighty.com
Sat Feb 3 13:19:51 EST 2007
I have a project based on Qt4 that's building nicely with cmake.
I'm trying to add support for lint (actually flexelint) and am having
some problems generating the lint command line. All it needs is the -
I and -D flags passed to the compiler and a list of all the source
files. The latter is easy enough, but I'm not seeing any easy way to
find the former.
So... is there any easy way to retrieve the equivalent of CPPFLAGS,
the -I and -D parameters, from within cmake?
Cheers,
Steve
More information about the CMake
mailing list