[Cmake] problem with ADDITIONAL_MAKE_CLEAN_FILES

Alexander Neundorf a.neundorf-work at gmx.net
Tue Jun 15 09:57:52 EDT 2004


> Hi  
>  
> Try: 
>  
> SET_DIRECTORY_PROPERTIES(PROPERTIES   
> ADDITIONAL_MAKE_CLEAN_FILES "foo;bar")  
> or  
> SET(addfiles foo bar) 
> SET_DIRECTORY_PROPERTIES(PROPERTIES   
> ADDITIONAL_MAKE_CLEAN_FILES "${addfiles}") 
>  
> 			Andy 
 
Ok, I got it working: 
 
SET_DIRECTORY_PROPERTIES(PROPERTIES   
 ADDITIONAL_MAKE_CLEAN_FILES "file1;file2;file3;") 
 
no spaces are allowed, they will be escaped so they will be part of the
actual 
filename. It works also if this string is the value of a variable. . 
 
Bye 
Alex 
 
P.S. cmake rocks 
 

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl



More information about the Cmake mailing list