[CMake] Lib / Examples cmake sample ?

2006-01-31 Thread Asmodehn Shade
Hi,I am currently working with CMake on a library with some examples...CMakeLists.txttest/CMakeLists.txtI tried to include one in the other, to add_subdirectory(test) in the first, but none of them gives me what I would like. And both projects variable gets confused with the paths...But I am also n

Re: [CMake] Link to cmake viewcvs ?

2006-01-31 Thread Brad King
Alexander Neundorf wrote: While you're at it, how about adding the link to the FAQ on this page http://www.cmake.org/HTML/Documentation.html below the link to the CMake Wiki page ? I know the FAQ link is on the bar on the left side, but I always at first click the "Documentation" link

Re: [CMake] Link to cmake viewcvs ?

2006-01-31 Thread Alexander Neundorf
> Von: Brad King <[EMAIL PROTECTED]> > > Alexander Neundorf wrote: > > maybe I don't find it, but I always have to struggle to find the > > cmake cvs web interface: > > http://public.kitware.com/cgi-bin/viewcvs.cgi/?root=CMake > > > > How about adding a link to it on > > htt

Re: [CMake] Link to cmake viewcvs ?

2006-01-31 Thread Brad King
Alexander Neundorf wrote: maybe I don't find it, but I always have to struggle to find the cmake cvs web interface: http://public.kitware.com/cgi-bin/viewcvs.cgi/?root=CMake How about adding a link to it on http://www.cmake.org/HTML/Download.html ? Done. -Brad _

Re: [CMake] VS.NEt generator flag missing

2006-01-31 Thread Brad King
Jorgen Bodde wrote: Well should it be enabled by default? Because I am doing nothing else but generating my project (I am not changing GUI settings) so by default it is not included right ? My question wasn't whewre it went, it seems to be missing from the generated project as VS.NET complain

[CMake] Link to cmake viewcvs ?

2006-01-31 Thread Alexander Neundorf
Hi, maybe I don't find it, but I always have to struggle to find the cmake cvs web interface: http://public.kitware.com/cgi-bin/viewcvs.cgi/?root=CMake How about adding a link to it on http://www.cmake.org/HTML/Download.html ? Bye Alex -- 10 GB Mailbox, 100 FreeSMS/Monat http:/

Re: [CMake] CMake generated rule is not recognized by make or dependency order?

2006-01-31 Thread Brad King
Tao Zhang wrote: I have an executable depends on some nonexisting files.I use ADD_CUSTOM_COMMAND to produce these files. http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_generate_a_source_file_during_the_build.3F -Brad ___ CMake mailing list CMake@cmak

Re: [CMake] IF(LINUX) don't work

2006-01-31 Thread Brad King
Christian Ehrlicher wrote: Sorry, what's the difference between WIN32 and MINGW? And why do you want WIN32 instead of WINDOWS? The name WIN32 instead of WINDOWS is historical, just like _WIN32 is defined by MS compilers even on 64-bit windows. I've made a note to add WINDOWS. When building

Re: [CMake] Why does CMAKE_DEBUG_POSTFIX not apply to executables?

2006-01-31 Thread Brad King
[EMAIL PROTECTED] wrote: However I believe the cvs version has fixed this now. It is almost fixed in the development version, see below. does anyone know, why the CMAKE_DEBUG_POSTFIX is not applied to executables? I want to add a suffix (or postfix) "d" to debug-libs and -executables to be ab

Re: [CMake] IF(LINUX) don't work

2006-01-31 Thread Christian Ehrlicher
> --- Ursprüngliche Nachricht --- > Von: "Alexander Neundorf" <[EMAIL PROTECTED]> > An: Xavier Delannoy <[EMAIL PROTECTED]> > Kopie: cmake@cmake.org > Betreff: Re: [CMake] IF(LINUX) don't work > Datum: Tue, 31 Jan 2006 15:26:58 +0100 (MET) > > > --- Ursprüngliche Nachricht --- > > Von: Xavier Del

Re: [CMake] IF(LINUX) don't work

2006-01-31 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Neundorf wrote: >> --- Ursprüngliche Nachricht --- >> Von: Xavier Delannoy <[EMAIL PROTECTED]> >> An: cmake@cmake.org >> Betreff: [CMake] IF(LINUX) don't work >> Datum: Tue, 31 Jan 2006 15:13:16 +0100 >> >> hi all, >> >> is this a

Re: [CMake] IF(LINUX) don't work

2006-01-31 Thread Alexander Neundorf
> --- Ursprüngliche Nachricht --- > Von: Xavier Delannoy <[EMAIL PROTECTED]> > An: cmake@cmake.org > Betreff: [CMake] IF(LINUX) don't work > Datum: Tue, 31 Jan 2006 15:13:16 +0100 > > hi all, > > is this a bug ? or do I do something wrong ? It's a known missing feature, the cmake deve

Re: [CMake] IF(LINUX) don't work

2006-01-31 Thread Xavier Delannoy
I use CMake 2.2.p3 regards, ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] IF(LINUX) don't work

2006-01-31 Thread Xavier Delannoy
hi all, is this a bug ? or do I do something wrong ? with this CMakeLists.txt : I have : PROJECT(TEST C) IF(WIN32) MESSAGE(STATUS "WIN32") ENDIF(WIN32) IF(LINUX) MESSAGE(STATUS "LINUX") ENDIF(LINUX) IF(UNIX) MESSAGE(STATUS "UNIX") ENDIF(UNIX) [EMAIL PROTECTED]:~/Pr

RE: [CMake] Why does CMAKE_DEBUG_POSTFIX not apply to executables?

2006-01-31 Thread Ian . Appru
Hi Marco, I had a similar problem with shared libraries with v2.2.3 I made a changes to cmTarget.cxx GetFullNameInternal() and GetBaseName() to get this working. However I believe the cvs version has fixed this now. Regards Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[CMake] Why does CMAKE_DEBUG_POSTFIX not apply to executables?

2006-01-31 Thread wedekind
Hello list, does anyone know, why the CMAKE_DEBUG_POSTFIX is not applied to executables? I want to add a suffix (or postfix) "d" to debug-libs and -executables to be able to have debug _and_ release versions in one directory. In cmTarget::GetFullNameInternal(...) the CMAKE_DEBUG_POSTFIX is not app