RPATH again - different types of executables

Alexander Neundorf neundorf at kde.org
Mon Mar 27 21:14:45 CEST 2006


Hi,

we have several different types of applications with different requirements 
for the RPATH:

1) "normal" GUI applications - on OS X frameworks should be generated, RPATH 
to the install dir

2) non-GUI applications (e.g. kde-config) - no frameworks on OS X, RPATH to 
the install dir

3) tools required only during the build of the current software (genembed, 
makekdewidgets) - no OS X framework, RPATH to the build dir

4) tools required during the build of the current software and also later 
(kconfig_compiler, dcopidl2cpp) - no OS X framework, either RPATH to the 
builddir during the build and relinking to the install dir during the 
install, or suing wrapper scripts to execute them during the build


Maybe 2) and 4) should be considered the same.
In cmake files this could look like:
kde4_add_executable( foo <SOME_KEYWORD> sources...)

So we would need some keywords for the different types of applications.

1) - no keyword required, it's the default
2) - NOGUI
3) - "BUILDONLY", "BUILDHELPER", "HELPER", "LOCAL" ?
4) - either merge with 2) or "BUILDTOOL" or something

So, we need some good suggestions :-)

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list