<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">IŽd like to integrate PC-Lint (www.gimpel.com,
a source code checker for C/C++) to my cmake build system </font>
<br><font size=2 face="sans-serif">(Cross-Compile for an embedded Power
PC with WindRiver Compiler, which is running on Windows).</font>
<br><font size=2 face="sans-serif">My first idea was to add a command to
CMAKE_C_COMPILE_OBJECT, but I don't know how to extract the include and
definition command line options from <FLAGS> or <DEFINES>.:</font>
<br>
<br><font size=2 face="sans-serif">SET(CMAKE_C_COMPILE_OBJECT </font>
<br><font size=2 face="sans-serif"> "<CMAKE_C_COMPILER>
<DEFINES> <FLAGS> -Wa,-l -o <OBJECT> -c <SOURCE>"</font>
<br><font size=2 face="sans-serif"> "${PCLINT_EXECUTABLE}
+v -iC:\Lint std.lint <??Include and Definition Flags??> <SOURCE>
)</font>
<br>
<br><font size=2 face="sans-serif">How could i do this (is there a possibility
to make string manipulation?), or is there an other way to integrate lint?</font>
<br><font size=2 face="sans-serif">PC-Lint should check each c-File, which
is compiled by the Compiler.</font>
<br>
<br><font size=2 face="sans-serif">Thanks a lot</font>
<br>
<br><font size=1><br>
Engineering Center Steyr GmbH & Co KG<br>
Geschaeftsfuehrende Gesellschaft: Engineering Center Steyr GmbH<br>
Geschaeftsfuehrer der geschaeftsfuehrenden Gesellschaft: Dipl. Ing. Franz
Dorfer<br>
Sitz der geschaeftsfuehrenden Gesellschaft: 4300 St. Valentin, Oesterreich<br>
Firmenbuchgericht: St. Poelten / FN 140816h<br>
Sitz der Gesellschaft: 4300 St. Valentin, Steyrer Strasse 32, Oesterreich<br>
Firmenbuchgericht: St. Poelten / FN 222001y<br>
<br>
CONFIDENTIALITY NOTE: This message contains information which may be privileged
or confidential, or exempt from disclosure under applicable law. If the
reader of this message is not the intended recipient, or the employee or
agent responsible for delivering the message to the intended recipient,
you are hereby notified that any dissemination, distribution, retention,
archiving, or copying of this communication is strictly prohibited. If
you have received this e-mail in error, please notify us immediately by
return e-mail to the sender of this message.</font><font size=3 face="sans-serif"><br>
</font>
<br>
<br>