Re: [CMake] How to remove debug target from Makefiles

2006-03-14 Thread Alexander Neundorf
Hallo Christian :-), > Von: "Christian Ehrlicher" <[EMAIL PROTECTED]> > > Hi, > > Is there a way to disable the debug target from the makefile/vcproj by > modifiing CMakeLists.txt? I need it to avoid crashes when I link a > release executable against my debug lib (this is msvc...). Or ma

[CMake] How to remove debug target from Makefiles

2006-03-14 Thread Christian Ehrlicher
Hi, Is there a way to disable the debug target from the makefile/vcproj by modifiing CMakeLists.txt? I need it to avoid crashes when I link a release executable against my debug lib (this is msvc...). Or maybe give the debug lib a different name like Qt does (kdewin32d.dll instead kdewin32.dll)?

Re: [CMake] Use of -fPIC when linking executables

2006-03-14 Thread Lars Nordlund
On Tue, 14 Mar 2006 09:05:07 -0500 Brad King <[EMAIL PROTECTED]> wrote: > If any of the libraries to which the executable links are shared then > -fPIC must be used in the link. It isn't absolutely necessary on all > platforms but the same code generates the rules for other platforms too. > I

Re: [CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Brad King
Filipe Sousa wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad King wrote: Filipe Sousa wrote: QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: QtCanvas\CMakeFiles\QtCanvas.dir\flags.make QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: ..\

Re: [CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad King wrote: > Filipe Sousa wrote: >> QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: >> QtCanvas\CMakeFiles\QtCanvas.dir\flags.make >> QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: >> ..\..\devel\Pnd

RE: [CMake] cmake and VS 2003 problem

2006-03-14 Thread Ian . Appru
Great thanks, I'll download a copy -Original Message- From: Brad King [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 15:19 To: Appru, Ian Cc: cmake@cmake.org Subject: Re: [CMake] cmake and VS 2003 problem [EMAIL PROTECTED] wrote: > Hi, > > I am generating project files for VS 2003. > >

Re: [CMake] error tracing

2006-03-14 Thread Brad King
Bitter, Ingmar (NIH/CC/DRD) [E] wrote: cmake is complaining about a file it can not find that I think it should not be searching for in the first place. How do I tell cmake to echo each CMakeLists file and line that it is working on so I can trace where the source of this problem comes from? Re

Re: [CMake] Cmake and VTK 5.0

2006-03-14 Thread Brad King
Philippe Poilbarbe wrote: I have just installed VTK 5.0 under Linux and this version breaks the FindVTK.cmake mechanism used to find vtk. FindVTK.cmake (from CMake 2.2.3) tries to find vtk from the path entries in directories ../lib/vtk but VTK installs itself in lib/vtk-5.0 Attached there i

Re: [CMake] cmake and VS 2003 problem

2006-03-14 Thread Brad King
[EMAIL PROTECTED] wrote: Hi, I am generating project files for VS 2003. With cmake version 2.2-patch 3 the cmake config files - eg CMakeLists.txt - formed were part of the source list. So changes to them would force cmake to rerun and regen the project files. This doesn't seem to be the case

Re: [CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Brad King
Filipe Sousa wrote: QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: QtCanvas\CMakeFiles\QtCanvas.dir\flags.make QtCanvas\CMakeFiles\QtCanvas.dir\c:\devel\PndK\QtCanvas\qtcanvas.obj: ..\..\devel\PndK\QtCanvas\qtcanvas.cpp Okay, I've committed a fix to avoid this error in

Re: [CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad King wrote: > Filipe Sousa wrote: >> NMake is complaining about ':' >> >> QtCanvas\CMakeFiles\QtCanvas.dir/build.make(55) : fatal error U1033: >> syntax error : ':' unexpected > > Please post the actual contents of this file about which it is com

[CMake] cmake and VS 2003 problem

2006-03-14 Thread Ian . Appru
Title: cmake and VS 2003 problem Hi, I am generating project files for VS 2003. With cmake version 2.2-patch 3 the cmake config files - eg CMakeLists.txt - formed were part of the source list. So changes to them would force cmake to rerun and regen the project files. This doesn't seem

Re: [CMake] Use of -fPIC when linking executables

2006-03-14 Thread Brad King
Lars Nordlund wrote: This simple CMakeLists.txt will (on NetBSD at least) cause the binary 'bar' to be linked with -fPIC. Is this really necessary? I know that it must be used when producing the shared object 'foo', but I did not know it was needed for the executable also? I have checked the flag

Re: [CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Brad King
Filipe Sousa wrote: NMake is complaining about ':' QtCanvas\CMakeFiles\QtCanvas.dir/build.make(55) : fatal error U1033: syntax error : ':' unexpected Please post the actual contents of this file about which it is complaining. Thanks, -Brad ___ CMake

[CMake] Cmake and VTK 5.0

2006-03-14 Thread Philippe Poilbarbe
Hello, I have just installed VTK 5.0 under Linux and this version breaks the FindVTK.cmake mechanism used to find vtk. FindVTK.cmake (from CMake 2.2.3) tries to find vtk from the path entries in directories ../lib/vtk but VTK installs itself in lib/vtk-5.0 Attached there is a file named Fin

Re: [CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Filipe Sousa
s.obj > C:\PROGRA~1\MICROS~1.NET\Vc7\bin\cl.exe @<< > /nologo $(CXX_FLAGS) /TP > /FoQtCanvas/CMakeFiles/QtCanvas.dir/c:/devel/PndK/QtCanvas/qtcanvas.obj > -c c:\devel\PndK\QtCanvas\qtcanvas.cpp > << > > cmake version 2.3-20060314 > The problem is in So

Re: [CMake] how to use external gnu make library

2006-03-14 Thread Jan Woetzel
[EMAIL PROTECTED] wrote: c++    -fPIC "CMakeFiles/test1.dir/main.o"   -o test1 -rdynamic -lgsl_sf_bessel_j0 /usr/bin/ld: cannot find -lgsl_sf_bessel_j0 You should read the output - the lib is not found. Have  a look at the find script and you will get the idea to use teh GSL_LIBRARIES vari

[CMake] I can't compile with nmake using cmake version 2.3-20060314

2006-03-14 Thread Filipe Sousa
XX_FLAGS) /TP /FoQtCanvas/CMakeFiles/QtCanvas.dir/c:/devel/PndK/QtCanvas/qtcanvas.obj - -c c:\devel\PndK\QtCanvas\qtcanvas.cpp << cmake version 2.3-20060314 - -- Filipe Sousa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEFpcwbQdNYqwwwCwRAs7KAJ9J+kcbT