[CMake] Add a simple suffix rule to makefile via cmake?

Christopher Lang christopher.lang at acurana.de
Tue Jan 15 05:04:51 EST 2008


Hi,

is it possible to add a custom suffix rule to a makefile like:

.po.mo:
	$(MSGFMT) -o $@ $<


Will the following do?

ADD_CUSTOM_TARGET (.po.mo
	...
)

many thanks
Chris


http://www.acurana.de/



More information about the CMake mailing list