Re: [CMake] Disabling exception handling and RTTI in vs8

2008-04-17 Thread Andreas Pokorny
Hello, I beg your pardon, I just saw that the problem with the exception setting is a known issue currently worked on. Will look into mantis next time I bump into an issue. kind regards Andreas Pokorny 2008/4/17, Andreas Pokorny <[EMAIL PROTECTED]>: > Hello, > I have problems removing /EHsc an

[CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-04-17 Thread Alan W. Irwin
The LIST command has issues when dealing with a list with some empty elements. To see this try the following CMakeLists.txt set(list_example "1;;;2;3;4") message("list_example = ${list_example}") list(APPEND list_example "5") message("list_example = ${list_example}") list(LENGTH list_example lis

Re: [CMake] CPack/NSIS installation of specific components

2008-04-17 Thread Doug Gregor
On Thu, Apr 17, 2008 at 11:50 AM, David Cole <[EMAIL PROTECTED]> wrote: > Wow. Very ambitious. I like it... > > Your patch is not all that ugly... :-) But it does refer to some things that > are not actually in the patch. D'oh! > How about adding a feature request to the bug tracker for this and

[CMake] Supporting the Intel Compiler -- building static libraries

2008-04-17 Thread Blezek, Daniel J., Ph.D.
Hi all, We're using the Intel compiler for some of our builds of ITK. The "-fast" option tries to statically link. So I thought I'd build Insight statically. The problem occurred when I tried to use the static libraries generated by "/usr/bin/ar", and the symbols could not be found. Turns ou

Re: [CMake] Problem with add_definitions on CMake 2.6.0 RC 6 and RC 8 on AIX

2008-04-17 Thread Alexander Neundorf
On Thursday 17 April 2008, Dieter Rosch wrote: > Hi, > > > > I have a project that compiles perfectly on AIX with CMake 2.4.8. > > However, I create a new build directory and use CMake 2.6.0 RC 6 or 8 to > build and it fails. The problem seems to be that the 2 newer version are > ignoring my ADD_DE

[CMake] Problem with add_definitions on CMake 2.6.0 RC 6 and RC 8 on AIX

2008-04-17 Thread Dieter Rosch
Hi, I have a project that compiles perfectly on AIX with CMake 2.4.8. However, I create a new build directory and use CMake 2.6.0 RC 6 or 8 to build and it fails. The problem seems to be that the 2 newer version are ignoring my ADD_DEFINITIONS statements. Has anyone else experienced this?

Re: [CMake] CPack/NSIS installation of specific components

2008-04-17 Thread Doug Gregor
On Thu, Apr 17, 2008 at 4:21 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Thursday 17 April 2008, Doug Gregor wrote: > > Hello all, > ... > > > Comments? Ideas? Rotten tomatoes? > > > > - Doug > > Could this in some way be related with this one ? > http://www.cmake.org/pipermail/c

Re: [CMake] CPack/NSIS installation of specific components

2008-04-17 Thread Alexander Neundorf
On Thursday 17 April 2008, Doug Gregor wrote: > Hello all, ... > Comments? Ideas? Rotten tomatoes? > > - Doug Could this in some way be related with this one ? http://www.cmake.org/pipermail/cmake/2008-April/021142.html I think the component support could use some enhancements in cpack :-) Alex

Re: [CMake] How to compile a file only when linking anyhow?

2008-04-17 Thread Alexander Neundorf
On Thursday 17 April 2008, Mark Jonas wrote: > Hi Alex, > > thanks for your input. > > > > How do I tell the custom command to run when the linker will be > > > called? It should not run always because that would cause the linker > > > to be called whenever I call make. > > > > You could use so

Re: [CMake] cmake 2.6 cross compilation for WINCE

2008-04-17 Thread Alexander Neundorf
On Thursday 17 April 2008, Andreas Pokorny wrote: > Hi, > We currently use cmake-2.4-8 and embedded visual c (evc) 4.0 to build for > armv4 WinCE5. I plan to upgrade the project to cmake-2.6 soon. Then I will > probably make use of the cross compile feature. > > Right now we simply include a cmake

[CMake] Some minor issues for 2.6.0-RC-8

2008-04-17 Thread Alan W. Irwin
On my Debian testing system, here are the results of wx-config --libs -pthread -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 Consistent with this result, FindwxWidgets.cmake yields wxWidgets

Re: [CMake] problem using Apache Portable Runtime (APR)

2008-04-17 Thread Alexander Neundorf
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. > When compiling, the object file was created, but there're linking problem >

Re: [CMake] CPack is memory leaking

2008-04-17 Thread David Cole
Not anymore. http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/CPack/cpack.cxx?root=CMake&r1=1.42&r2=1.43 Thanks, Mathieu. Dave On Thu, Apr 17, 2008 at 5:08 AM, Mathieu Malaterre < [EMAIL PROTECTED]> wrote: > ==31752== 55,457 (272 direct, 55,185 indirect) bytes in 1 blocks are > defin

Re: [CMake] FindX11.cmake needs some work for 2.6.0

2008-04-17 Thread Alan W. Irwin
On 2008-04-14 15:56-0700 Alan W. Irwin wrote: Furthermore, making X11_LIBRARIES fullpath would benefit the PLplot build (and presumably other builds as well). When first setting up the CMake-based build system for PLplot, I either copied from our previous autotools-based build system or I may ha

Re: [CMake] CPack/NSIS installation of specific components

2008-04-17 Thread David Cole
Wow. Very ambitious. I like it... Your patch is not all that ugly... :-) But it does refer to some things that are not actually in the patch. How about adding a feature request to the bug tracker for this and attaching a zip file (or .tar.gz) with the patch and all the new files that it refers to

[CMake] Disabling exception handling and RTTI in vs8

2008-04-17 Thread Andreas Pokorny
Hello, I have problems removing /EHsc and /GR, and adding /GR- from the compiler flags. I first thought that this is done using CMAKE_CXX_FLAGS and CMAKE_CXXFLAGS_INIT. It seems to be configured somewhere else. Looking through the generated vcproj files I found this setting: ExceptionHandling="FALS

[CMake] problem finding and linking APR (apache portable runtime): help please!

2008-04-17 Thread Wakan
Please refer to: [CMake] problem using Apache Portable Runtime (APR) message.. I need help... someone can help me? thanks in advance ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] cmake 2.6 cross compilation for WINCE

2008-04-17 Thread Andreas Pokorny
Hi, We currently use cmake-2.4-8 and embedded visual c (evc) 4.0 to build for armv4 WinCE5. I plan to upgrade the project to cmake-2.6 soon. Then I will probably make use of the cross compile feature. Right now we simply include a cmake file containing the settings required for WinCE. With that fi

Re: [CMake] CMake doesn't accept multiple entries for a variable on the commandline

2008-04-17 Thread David Cole
Try quoting the whole thing: cmake "-DCMAKE_CXX_FLAGS=-pedantic -g3 -O0" On Thu, Apr 17, 2008 at 6:05 AM, Pau Garcia i Quiles <[EMAIL PROTECTED]> wrote: > Quoting Andreas Pakulat <[EMAIL PROTECTED]>: > > Hi, > > > > trying to execute > > > > cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0" > > > > d

[CMake] dpkg: filepath with > 100 characters do not get installed

2008-04-17 Thread Mathieu Malaterre
Hi there, CMake CVS does not correctly produces debian package, when filenames are longer than 100 chars (default tar implementation). To handle longer filepath, there are two extensions: GNU and POSIX. By default (except on cygwin), cmake will generate POSIX tarball: Is there a way to tell cpa

Re: [CMake] CMake doesn't accept multiple entries for a variable on the commandline

2008-04-17 Thread Pau Garcia i Quiles
Quoting Andreas Pakulat <[EMAIL PROTECTED]>: Hi, trying to execute cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0" doesn't work. The CMake cache only contains the last one, -O0, in that case. This is with cmake 2.6 rc7, not sure wether this works in 2.4 and I can't test before next week. Anybody

[CMake] CMake doesn't accept multiple entries for a variable on the commandline

2008-04-17 Thread Andreas Pakulat
Hi, trying to execute cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0" doesn't work. The CMake cache only contains the last one, -O0, in that case. This is with cmake 2.6 rc7, not sure wether this works in 2.4 and I can't test before next week. Anybody else seeing that, especially with newer rc's?

[CMake] CPack is memory leaking

2008-04-17 Thread Mathieu Malaterre
==31752== 55,457 (272 direct, 55,185 indirect) bytes in 1 blocks are definitely lost in loss record 10 of 18 ==31752==at 0x4C22809: operator new(unsigned long) (vg_replace_malloc.c:230) ==31752==by 0x59641F: cmGlobalGenerator::CreateLocalGenerator() (cmGlobalGenerator.cxx:1223) ==31752==

Re: [CMake] How to compile a file only when linking anyhow?

2008-04-17 Thread Mark Jonas
Hi Alex, thanks for your input. > > How do I tell the custom command to run when the linker will be > > called? It should not run always because that would cause the linker > > to be called whenever I call make. > You could use something like: > ADD_CUSTOM_COMMAND(TARGET target POST_BUILD >