[CMake] howto "compile always"

Alexander Neundorf a.neundorf-work at gmx.net
Thu Nov 25 02:49:00 EST 2004


Hi, 
 
how can I enforce that a special source file is compiled always new ? 
I tried  
ADD_CUSTOM_TARGET(recompile_always ALL touch sourcefile.cpp) 
 
and this kindof works, but it touches sourcefile.cpp *after* my executable
has been 
built. Is there a way to have it touched before everything else ? 
 
Bye 
Alex 
 

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++


More information about the CMake mailing list