[CMake] Applying command to source files
Mike Jackson
imikejackson at gmail.com
Thu Nov 15 15:11:33 EST 2007
What about looking at the FindQt4.cmake file. Aren't there macros
that run 'moc' over a list of files and produce new source code files
from that? Might be a good place to start...
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Nov 15, 2007, at 3:04 PM, Eric Noulard wrote:
> 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
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list