Hi Alex,
> > Do you have another idea?
>
> Hmm, so you need to execute something in case something will actually be
> built. I don't see a clean way, only hacks:
>
> Maybe you can do something with add_custom_target() ?
>
> add_custom_target(DateHelperTarget COMMAND your_fancy_date_tool)
>
>
I'm trying to convert the following script into CMake add_custom_command:
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal
..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp
On 17.04.08 07:03:32, David Cole wrote:
> Try quoting the whole thing:
> cmake "-DCMAKE_CXX_FLAGS=-pedantic -g3 -O0"
Doesn't work either. Shall I open a bugreport?
Andreas
--
You are the only person to ever get this message.
___
CMake mailing list
CMa
Hi,
> I am currently trying to convert a big project containing Fortran and C
> sources to use CMake. There are lots of circular dependencies between
> libraries,
> so I either have to specify libraries on the link line multiple times or
> use the linker options --start-group and --end-group for
2008/4/21, Alejandro Morell García <[EMAIL PROTECTED]>:
>
> I'm trying to convert the following script into CMake add_custom_command:
>
> echo #include "glib-object.h" > gstmarshal.c.tmp
> echo #include "gstmarshal.h" >> gstmarshal.c.tmp
> glib-genmarshal --body --prefix=gst_marsha
Quoting Horacio Sanson <[EMAIL PROTECTED]>:
I can use IF(WIN32) and IF(UNIX) to set some variables depending if
cmake is executed in Windows or UNIX systems. The problem is that UNIX
in this context includes both Linux and FreeBSD.
Has CMake a way to know if it is running in a Linux box or a Fr
I can use IF(WIN32) and IF(UNIX) to set some variables depending if
cmake is executed in Windows or UNIX systems. The problem is that UNIX
in this context includes both Linux and FreeBSD.
Has CMake a way to know if it is running in a Linux box or a FreeBSD box??
regards,
Horacio
_
When you say it doesn't work, is it because you do not see the value in the
cache editor or in your CMakeCache.txt file or is it because the flags are
not used in the make files...?
Do you have any code in any CMakeLists.txt files that manipulate the
CMAKE_CXX_FLAGS variable?
If you want to see t
Falko Bilz schrieb am 21.04.2008 15:05
_
Hello,
How can I set specific link libraries for the two different targets
'Debug' and 'Release' ? I've tried
'TARGET_LINK_LIBRARIES ( fooexe DEBUG lib_debug )' (remark: lib_debug is
n
On Monday 21 April 2008 17:05:32 [EMAIL PROTECTED] wrote:
> Falko Bilz schrieb am 21.04.2008 15:05
> _
>
> Hello,
>
>
>
> How can I set specific link libraries for the two different targets
> 'Debug' and 'Release' ? I've tried
>
>
On 21.04.08 08:36:48, David Cole wrote:
> When you say it doesn't work, is it because you do not see the value in the
> cache editor or in your CMakeCache.txt file or is it because the flags are
> not used in the make files...?
Both actually.
> Do you have any code in any CMakeLists.txt files tha
That did the trick (editing the FindwxWidgets.cmake)
Thanks so much!
eric
Alan W. Irwin wrote:
To see what is going on, check the FindwxWidgets.cmake file. For
example,
on my Debian testing system with CMake 2.4.8, that file is located at
/usr/share/cmake-2.4/Modules/FindwxWidgets.cmake. The
On Mon, Apr 21, 2008 at 10:55 AM, Eric Torstenson wrote:
> Alan W. Irwin wrote:
> > To see what is going on, check the FindwxWidgets.cmake file. For example,
> > on my Debian testing system with CMake 2.4.8, that file is located at
> > /usr/share/cmake-2.4/Modules/FindwxWidgets.cmake. There is a
Hi Miguel,
Well, with this in mind, I did a bit of playing, and decided that the
problem wasn't so much that FindwxWidgets.cmake needed to be changed,
but instead, I was calling it incorrectly.
What I had to do was as follows:
SET (wxWidgets_USE_LIBS aui richtext adv html core xml base xrc q
On Mon, Apr 21, 2008 at 1:36 PM, Eric Torstenson wrote:
> On Mon, Apr 21, 2008 at 12:27 PM, Miguel A. Figueroa-Villanueva wrote:
> > Hello Eric,
> >
> > I'm glad to here this worked. Now, I would like to understand the
> > problem, so that I can fix the FindwxWidgets module. Can you post
> > exactl
It's works. Thanks :)
I don't agree using no VERBATIM option, but it wouldn't be the first
hack in computer science, hehehe.
Support of cross-platform stdout redirecting would be a great feature
in future versions of cmake. Maybe implementing all options of
EXECUTE_PROCESS in ADD_CUSTOM_COMMAN
On Friday 18 April 2008, Hendrik Sattler wrote:
> Hi,
>
> there are two small problem with Assembler support in cmake-2.6. Both
> are easily fixable:
>
> 1.
> in Modules/CMakeDetermineASMCompiler.cmake, an IF statement does not
> match its endif statement (line 33):
>IF(NOT _CMAKE_USER_ASM_COMP
On Saturday 19 April 2008, Wakan wrote:
> Alexander Neundorf ha scritto:
> On Thursday 17 April 2008, Carlo Loiudice wrote:
>
> I'm trying to write a simple hello world program using APR.
> I'm using Eclipse + Mingw + Cmake on Windows platform, but I need to
> develop a cross platform application.
On Mon, Apr 21, 2008 at 7:01 PM, Pau Garcia i Quiles
<[EMAIL PROTECTED]> wrote:
>
> Quoting Horacio Sanson <[EMAIL PROTECTED]>:
>
>
> > I can use IF(WIN32) and IF(UNIX) to set some variables depending if
> > cmake is executed in Windows or UNIX systems. The problem is that UNIX
> > in this context
Zitat von Alexander Neundorf <[EMAIL PROTECTED]>:
2.
When using gcc, the compile flag "-c" is missing when creating a .S.o
object file, thus it always fails.
/usr/bin/as -o
/main-linux-x86-gas.s.o //Tests/Assembler/main-linux-x86-gas.s
It doesn't need a -c here.
Are you using gcc or as/gas as a
2008/4/21, Alejandro Morell García <[EMAIL PROTECTED]>:
>
> It's works. Thanks :)
> I don't agree using no VERBATIM option, but it wouldn't be the first hack
> in computer science, hehehe.
Yep looks like a bug unless I miss something.
Would you please file a bug for this issue, in order to make
21 matches
Mail list logo