Re: [CMake] prefered header version?

2007-08-17 Thread Alan W. Irwin
On 2007-08-18 00:11+0200 Stefan Kögl wrote: How to prefer a header e.g "/usr/local/include/foo-0.25/foo/*.h" over "/usr/include/foo/*.h" ? Use the cmake command-line option -DCMAKE_INSTALL_PREFIX to install your stable library wherever you want and your development library wherever you want.

Re: [CMake] [CPACK] Create package from multiple builds and project configurations

2007-08-17 Thread Tristan Carel
On 8/13/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Sunday 12 August 2007 12:37, Tristan Carel wrote: > > If I am still right, "NMake Makefiles" and "Visual .." are `dynamic > > generators' as the build configuration is determined at build > > time. > > AFAIK the nmake makefile generator

Re: [CMake] prefered header version?

2007-08-17 Thread Hendrik Sattler
Am Samstag 18 August 2007 00:11 schrieb Stefan Kögl: > I'm not new to c++ programming, but new to cmake . > > I have started an opensource project at berlios. > I don't know if I'm allowed to name it here, but if you want to know, feel > free to ask me for the url and name. > > Now I want to make a

[CMake] prefered header version?

2007-08-17 Thread Stefan Kögl
Hi, I'm not new to c++ programming, but new to cmake . I have started an opensource project at berlios. I don't know if I'm allowed to name it here, but if you want to know, feel free to ask me for the url and name. Now I want to make a library version bump while keeping the stable version. The

Re: [CMake] KDevelop, QT and CMake

2007-08-17 Thread Alexander Neundorf
On Friday 17 August 2007 10:07, Pau Garcia i Quiles wrote: > Quoting Alexander Neundorf <[EMAIL PROTECTED]>: ... > > Do you mean the project templates for cmake projects which come with > > KDevelop ? > > I didn't look after them for a long time... > > Yes, those templates. Ok, I'll have a look.

Re: [CMake] KDevelop, QT and CMake

2007-08-17 Thread Pau Garcia i Quiles
Quoting Alexander Neundorf <[EMAIL PROTECTED]>: On Friday 17 August 2007 09:45, Pau Garcia i Quiles wrote: Quoting Marcin Gil <[EMAIL PROTECTED]>: > Hi! > > I am a bit frustrated, since I haven't found any good value tutorial > how to develop QT4 software using KDevelop and CMake instead of QMa

Re: [CMake] KDevelop, QT and CMake

2007-08-17 Thread Alexander Neundorf
On Friday 17 August 2007 09:45, Pau Garcia i Quiles wrote: > Quoting Marcin Gil <[EMAIL PROTECTED]>: > > Hi! > > > > I am a bit frustrated, since I haven't found any good value tutorial > > how to develop QT4 software using KDevelop and CMake instead of QMake. > > > > QMake automatically parses .ui

Re: [CMake] KDevelop, QT and CMake

2007-08-17 Thread Pau Garcia i Quiles
Quoting Marcin Gil <[EMAIL PROTECTED]>: Hi! I am a bit frustrated, since I haven't found any good value tutorial how to develop QT4 software using KDevelop and CMake instead of QMake. QMake automatically parses .ui files, creates includes, .moc files etc. How can this be achieved by using CMa

Re: [CMake] KDevelop, QT and CMake

2007-08-17 Thread Alexander Neundorf
On Friday 17 August 2007 08:36, you wrote: > On 8/17/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > > http://www.cmake.org/Wiki/CMake#Tutorials > > Follow the link "Qt with CMake". > > > > To get this as a project into kdevelop, ran cmake -G KDevelop3 . > > Does this mean that anytime I cr

Re: [CMake] long library names

2007-08-17 Thread Bill Hoffman
James Bigler wrote: Add this flag to your CMAKE_EXE_LINKER_FLAGS: -search_paths_first This did the trick, but I had to pass it to the linker explicitly since g++ was used for link invocation: -Wl,-search_paths_first I have made this the default: Checking for path: /cvsroot/CMake/CMake/Mo

Re: [CMake] long library names

2007-08-17 Thread James Bigler
Add this flag to your CMAKE_EXE_LINKER_FLAGS: -search_paths_first This did the trick, but I had to pass it to the linker explicitly since g++ was used for link invocation: -Wl,-search_paths_first That will fix the problem on the Mac, I think I am going to make this a default flag on the M

Re: [CMake] KDevelop, QT and CMake

2007-08-17 Thread Alexander Neundorf
On Friday 17 August 2007 08:20, Marcin Gil wrote: > Hi! > > I am a bit frustrated, since I haven't found any good value tutorial > how to develop QT4 software using KDevelop and CMake instead of QMake. > > QMake automatically parses .ui files, creates includes, .moc files etc. > > How can this be a

[CMake] KDevelop, QT and CMake

2007-08-17 Thread Marcin Gil
Hi! I am a bit frustrated, since I haven't found any good value tutorial how to develop QT4 software using KDevelop and CMake instead of QMake. QMake automatically parses .ui files, creates includes, .moc files etc. How can this be achieved by using CMake? Can anyone point me to a good tutorial

[CMake] Using CMake with WxWidgets...

2007-08-17 Thread Jay Hoinville
I am using CMake to put together a project that includes WxWidgets. I am using VC++ 2005 and I have two questions: 1) CMake is not setting the libraries correctly between the debug and release versions of WxWidgets. It only sets the the library files to the release version. When I compile

Re: [CMake] linux kernel module, output directory and clean issues

2007-08-17 Thread Tim Schooley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alan, Many thanks for all your help. I've finally understood what's going on. A rather important misunderstanding on my part was that cmake has no control over how the Kbuild makefile places files! *slaps forehead*. There is just one remaining "is