[CMake] sorting alphabetically

Alexander Neundorf a.neundorf-work at gmx.net
Wed May 10 04:57:53 EDT 2006


Hi, 
 
> Von: Jan Woetzel <jw at mip.informatik.uni-kiel.de> 
>  
> Hi, 
> does cmake support alphabetically sorting? 
> Something like: 
>  
> SET (SRC a c b) 
> SORT(SRC) --> a b c 
>  
> My problem is I am adding sources files in random order (due to  
> dependency checks) but they shoudl appear in alphabetical order in MSVS  
> IDE. 
 
cmake 2.4.1 has LIST(SORT SRCS) which should do what you want (but I 
didn't test). 
 
Bye 
Alex 
 

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


More information about the CMake mailing list