Re: [CMake] configuration specific ADD_CUSTOM_COMMAND

2008-03-12 Thread Martin Lütken
used to it. The problem I suppose is that CMake is running before MSVC and thus have no way of knowing which configuration you will choose unless you tell so when generating the project. -Martin Lütken -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] på vegne af Zschocke, Florian

[CMake] Clearing the ADD_DEFINITIONS

2008-02-18 Thread Martin Lütken
Is there a way to clear this list ? Intrying to convert pango til Cmake I need to change a define inside the same source library. So I guess I need to clear this internal list or at least remove the define in question before adding it again to avoid compiler warnings. The problem with removing

RE: [CMake] @MY_VAR@ are replaced by empty string !

2008-02-14 Thread Martin Lütken
] @MY_VAR@ are replaced by empty string ! 2008/2/13 Martin Lütken [EMAIL PROTECTED]: SHORT: It's seems impossible to contruct a string containing something like this: @MY_VAR@. The whole thing gets replaced by an empty string regardless whether the MY_VAR variable is set or not. Well, I'm

[CMake] @MY_VAR@ are replaced by empty string !

2008-02-13 Thread Martin Lütken
as CMake does in it's CONFIGURE_FILE command. Any suggestions? Or do I need to file a bug-report ? -Martin Lütken ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Patch to apply! Changing the default name CMakeLists.txt!

2008-01-13 Thread Martin Lütken
the patch: - Put 'alternate_cmakelists_name.diff' in parent dir of CMake source dir. - run patch -p1 -i ../alternate_cmakelists_name.diff Diff file is made from cvs source of today january 13th around 3 pm GMT. Hope someone with write access to the cvs will apply it! -Regards Martin Lütken

RE: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Martin Lütken
PROTECTED] on behalf of Brandon Van Every Sent: Sun 1/13/2008 6:57 PM To: cmake@cmake.org Subject: Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! On Jan 13, 2008 12:13 PM, Martin Lütken [EMAIL PROTECTED] wrote: It's a long time since I said I might do this feature

RE: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Martin Lütken
Ok heres a new patch using '-f' as the option! -Martin Lütken -Original Message- From: [EMAIL PROTECTED] on behalf of Brandon Van Every Sent: Sun 1/13/2008 6:57 PM To: cmake@cmake.org Subject: Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! On Jan 13, 2008 12

RE: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Martin Lütken
nameCMakeLists.txt! On Jan 13, 2008 1:58 PM, Martin Lütken [EMAIL PROTECTED] wrote: Ok heres a new patch using '-f' as the option! Excellent, thanks! I could actually see a use for this, if it were available in a production version of CMake. The source tree I'm working on has multiple layers

[CMake] Logarithms in MATH expressions

2007-12-12 Thread Martin Lütken
Anyone who knows wheter it's possible to calculate logarithms in MATH expressions in CMake? Would like a log2 or alternatively ln (natural). -Martin -Original Message- From: [EMAIL PROTECTED] on behalf of Fernando Cacciola Sent: Wed 12/12/2007 2:29 PM To: cmake@cmake.org Subject:

RE: [CMake] Changing the default name CMakeLists.txt

2007-08-30 Thread Martin Lütken
From a simple grep in the cmake CVS sources I think that to add such an option first would require to have a unified place with the CMakeLists.txt string value because currently there are about 15 different places in code where the string is hardcoded, about 30 places where it appears in

[CMake] LIBRARY_OUTPUT_PATH with Nmake does not copy .pdb-files

2007-01-09 Thread Martin Lütken
Does anyone know why this is the case? Ofcourse it might just be a bug! Martin L, Software Engineer / Architect (see also www.doxys.org) ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Nmake creates empty dll's version 2.4.5

2006-12-14 Thread Martin Lütken
When compiling with the Nmake generator and compiling with VS.2005 All my dll files are of size zero. When compiling from VS.2005 IDE this does not happen. Anyone who has seen this? Martin L, Software Engineer / Architect (see also www.doxys.org)

RE: [CMake] Simple file copy

2006-11-22 Thread Martin Lütken
] On Behalf Of Eric Noulard Sent: 20. november 2006 19:29 To: CMake ML Subject: Re: [CMake] Simple file copy CONFIGURE_FILE(InputFile OutputFile COPYONLY) 2006/11/20, Martin Lütken [EMAIL PROTECTED]: Is it possible to simply copy files in cmake ? Or do I need to make a custom command? -Martin L