On 2008-06-09 23:22+0200 Steven Van Ingelgem wrote:
I am building an executable which I need to pre-process some files [...]
Please be more specific about your actual needs. For example, do you want
to preprocess at cmake time or at build time? If the latter just use
add_executable to build
On Monday 09 June 2008, Steven Van Ingelgem wrote:
> I am building an executable which I need to pre-process some files (much
> like QT does).
You mean like moc, which is then used to generate source which will be built ?
You don't have to do that at cmake time, you can do this at build time.
Wit
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 <[EMAIL
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 ?
Al
Hi,
I want to compile a file when parsing the CMakeLists.txt...
I tried the following:
TRY_COMPILE(
PROJ_OK
${PROJECT_SOURCE_DIR}/bin
${PROJECT_SOURCE_DIR}/externals/proj
proj
)
But this is returning "false"... What could I have done wrong?
It is doing something, but I don't k