[CMake] Applying command to source files
    Eric Noulard 
    eric.noulard at gmail.com
       
    Thu Nov 15 15:04:04 EST 2007
    
    
  
Hi All,
I plan to use CMake to apply possibly automatic
re-indentation programs like indent or astyle
to every C/C++ source files in a project.
Has anybody here done such thing using CMake?
I did plan some CMake scripting using EXECUTE_PROCESS
to launch the command but
I currently lack a command which could give me
all sources files in a directory. SInce I may be annoying
to re-specify sources files which has already been
specified in ADD_LIBRARY or ADD_EXECUTABLE commands.
Any clues?
-- 
Erk
    
    
More information about the CMake
mailing list