how to order include directories best ?

2006-04-23 Thread Alexander Neundorf
Hi, in the KDE cmake files we a variable called KDE4_INCLUDES. It contains the directory where the KDE headers are installed, the Qt include dirs, with X11 also the X11 include dirs, under Windows also the kdewin32 include dir. In cmake include dirs are added using INCLUDE_DIRECTORIES(the inclu

install_files() or install()?

2006-04-23 Thread Dmitry Suzdalev
Hi! Recently I noticed that "cmake --help-command INSTALL_FILES" mentions that this command is deprecated in favour of "INSTALL" command, but I see that all current CMakeLists.txt use the old one. Is this intentional or they aren't converted yet? :) And what's better to use for new CMakeLists.t

UI - files not processed with vcproj generator?

2006-04-23 Thread Christian Ehrlicher
Hi, When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the other ui_foo.h are not generated. Any ideas? Christian ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread Albert Astals Cid
A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: > Hi, > > When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the > other ui_foo.h are not generated. Need to run qmake? Albert > > Any ideas? > > Christian > ___ > Kde-builds

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread Christian Ehrlicher
Albert Astals Cid schrieb: > A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: >> Hi, >> >> When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the >> other ui_foo.h are not generated. > > Need to run qmake? What should I do with qmake? It's a cmake-project ... :) Chris

Re: install_files() or install()?

2006-04-23 Thread Alexander Neundorf
On Sunday 23 April 2006 16:53, Dmitry Suzdalev wrote: > Hi! > > Recently I noticed that "cmake --help-command INSTALL_FILES" mentions that > this command is deprecated in favour of "INSTALL" command, but I see that > all current CMakeLists.txt use the old one. > Is this intentional or they aren't c

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread Albert Astals Cid
A Diumenge 23 Abril 2006 17:46, Christian Ehrlicher va escriure: > Albert Astals Cid schrieb: > > A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: > >> Hi, > >> > >> When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the > >> other ui_foo.h are not generated. > > > > Ne

Re: install_files() or install()?

2006-04-23 Thread Dmitry Suzdalev
On Sunday 23 April 2006 19:59, Alexander Neundorf wrote: > Since the automake 2 cmake conversion script was written before the new > install() command existed, it is not used. > I'd suggest using the new one. Then how would I rewrite: install_files( ${some_install_dir} .*\\.png ) ? It uses regexps

Re: install_files() or install()?

2006-04-23 Thread Alexander Neundorf
On Sunday 23 April 2006 18:42, you wrote: > On Sunday 23 April 2006 19:59, Alexander Neundorf wrote: > > Since the automake 2 cmake conversion script was written before the new > > install() command existed, it is not used. > > I'd suggest using the new one. > > Then how would I rewrite: > install_

kdeinit modules and GUI/NOGUI

2006-04-23 Thread David Faure
I just tried running kde apps on Mac OS and while most run, they can't be focused, probably because they don't have a bundle. Most apps are indeed kdeinit modules, and those don't have a bundle right now. This was easy to add unconditionally, but then I found out that not all kdeinit modules are g

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread William A. Hoffman
At 11:46 AM 4/23/2006, Christian Ehrlicher wrote: >Albert Astals Cid schrieb: >> A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: >>> Hi, >>> >>> When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the >>> other ui_foo.h are not generated. >> >> Need to run qmake? >What

Re: how to order include directories best ?

2006-04-23 Thread David Faure
On Sun, Apr 23, 2006 at 11:33:53AM +0200, Alexander Neundorf wrote: > Hi, Hi, why the cross-post? This is definitely a buildsystem question... Removing kde-core-devel from the cc. > When building a KDE module, it is required that it prefers the headers in the > module sources over the installed h

Re: Need help on HAVE_SMTH stuff ;)

2006-04-23 Thread David Faure
On Sun, Apr 23, 2006 at 05:08:14PM +0200, Thiago Macieira wrote: > Dmitry Suzdalev wrote: > >There's a bunch of > >#if HAVE_ARTS > >... > >#endif > > They were defined to either 0 or 1 in KDE3. That's why there wasn't a > problem. In general, no, HAVE_FOO was undefined or set to 1. That's how mo

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread Christian Ehrlicher
William A. Hoffman schrieb: > At 11:46 AM 4/23/2006, Christian Ehrlicher wrote: >> Albert Astals Cid schrieb: >>> A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: Hi, When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the other ui_foo.h are not gener

Re: install_files() or install()?

2006-04-23 Thread Dmitry Suzdalev
On Sunday 23 April 2006 21:03, Alexander Neundorf wrote: > I didn't test yet, but probably something like: > > file(GLOB pngFiles "*.png") > install(FILES ${pngFiles) DESTINATION ${installDir}) So the new INSTALL doesn't have support for regexps (that was what I asked) :). Ok, then I'll rewrite i

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread Alexander Neundorf
On Sunday 23 April 2006 21:19, William A. Hoffman wrote: > At 11:46 AM 4/23/2006, Christian Ehrlicher wrote: > >Albert Astals Cid schrieb: > >> A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: > >>> Hi, > >>> > >>> When trying to compile kdeui with mscv/vcproj ui_kspellui.h and the

Re: kdeinit modules and GUI/NOGUI

2006-04-23 Thread Alexander Neundorf
On Sunday 23 April 2006 21:11, David Faure wrote: > I just tried running kde apps on Mac OS and while most run, they can't be > focused, probably because they don't have a bundle. Most apps are indeed > kdeinit modules, and those don't have a bundle right now. This was easy to > add unconditionally

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread William A. Hoffman
At 03:37 PM 4/23/2006, Christian Ehrlicher wrote: >William A. Hoffman schrieb: >> At 11:46 AM 4/23/2006, Christian Ehrlicher wrote: >>> Albert Astals Cid schrieb: A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: > Hi, > > When trying to compile kdeui with mscv/vcpro

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread William A. Hoffman
At 05:00 PM 4/23/2006, Alexander Neundorf wrote: >On Sunday 23 April 2006 21:19, William A. Hoffman wrote: >> At 11:46 AM 4/23/2006, Christian Ehrlicher wrote: >> >Albert Astals Cid schrieb: >> >> A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: >> >>> Hi, >> >>> >> >>> When trying

Re: kdeinit modules and GUI/NOGUI

2006-04-23 Thread Thiago Macieira
Alexander Neundorf wrote: >Do actually all combinations make sense ? Do we need RUN_UNINSTALLED for >kdeinit apps ? In order to "run uninstalled kdeinit" programs, it's necessary that: 1) the libkdeinit file be relinked with the correct rpaths 2) the executable be relinked with the modified libkde

Re: kdeinit modules and GUI/NOGUI

2006-04-23 Thread David Faure
On Sun, Apr 23, 2006 at 11:09:57PM +0200, Alexander Neundorf wrote: > On Sunday 23 April 2006 21:11, David Faure wrote: > > I just tried running kde apps on Mac OS and while most run, they can't be > > focused, probably because they don't have a bundle. Most apps are indeed > > kdeinit modules, and

Re: UI - files not processed with vcproj generator?

2006-04-23 Thread Christian Ehrlicher
William A. Hoffman schrieb: > At 03:37 PM 4/23/2006, Christian Ehrlicher wrote: >> William A. Hoffman schrieb: >>> At 11:46 AM 4/23/2006, Christian Ehrlicher wrote: Albert Astals Cid schrieb: > A Diumenge 23 Abril 2006 17:24, Christian Ehrlicher va escriure: >> Hi, >> >> When t