Hello,
it is possible to add a custom command to cmake with a static
pattern rule? My problem is the following, I have a coding convention
checker that for each c++ source file creates a "violation" file. The
rule I had in my makefile was
$(SRCS:.cxx=.viol) : %.viol : %.cxx
bla bla
How can I do this in cmake? The only way that seems to work is to
create a single rule for each file with foreach. Is there a better
way? best,
Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake