[CMake] equivalent target for Makefile construct

Alexander Stippler stip at mathematik.uni-ulm.de
Fri Feb 4 06:17:36 EST 2005


Hello,

I'm quite new to CMake and just evaluating it as an alternative to 
autotools. I'm just trying to port one of my projects to CMake and do 
not know how to transform a certain Makefile to it. Perhaps someone can 
give me a hint how the equivalent to the following targets would be 
modelled with CMake:

CUTEE=./cutee
t_runners=views.cutee.cc.

%.cutee.cc: $(srcdir)/%.h
	$(CUTEE) -o $@ $<


runtest.cc: cutee
	$(CUTEE) -m -o $@

How are such constructions realized?

regards,
	Alex



More information about the CMake mailing list