[CMake] Compiling a file during CMake creation

Steven Van Ingelgem steven at vaningelgem.be
Mon Jun 9 17:22:20 EDT 2008


I am building an executable which I need to pre-process some files (much
like QT does).

I think I found it though... I set the project and it seems to work, but it
only compiles in debug mode, no matter what I set... Do you have any idea
about that?

Greetings

2008/6/9 Alexander Neundorf <a.neundorf-work at gmx.net>:

> On Monday 09 June 2008, Steven Van Ingelgem wrote:
> > Hi,
> >
> >
> > I want to compile a file when parsing the CMakeLists.txt...
>
> Why ? Maybe there is already a ready-to-use macro which does what you want
> t
> do ?
> Do you want to test for something or do you want to build something you
> need
> later on ?
>
> Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080609/2c77f6fb/attachment-0001.htm>


More information about the CMake mailing list