Servus Liste, ich habe eine Frage zu meiner CMakeLists.txt. Ich habe mit einem Patch die Prefixes gepatcht. Normalerweise würde das Programm in /home/abuild/freeremote/etc/freeremoted und so weiter gespeichert werden. Ich habs jetzt umgebogen auf /etc/freeremoted, /usr/bin und /usr/lib. Der Patch sieht so aus (unter anderem) -SET( CONFIGFILE_PATH ${PREFIX}/etc/freeremoted CACHE PATH "Path find config file" FORCE ) -SET( MODULEFILE_PATH ${PREFIX}/lib/freeremoted CACHE PATH "Path find module file" FORCE ) +SET( CONFIGFILE_PATH /etc/freeremoted CACHE PATH "Path find config file" FORCE ) +SET( MODULEFILE_PATH /usr/lib CACHE PATH "Path find module file" FORCE ) Jetzt kann ich natürlich nicht die libs für 64 in /usr/lib packen. Gibs ne Möglichkeit in der CMake sowas zu machen? %ifarch %ix86 SET(CONFIGFILE_PATH /usr/lib) %else SET(CONFIGFILE_PATH /usr/lib64) %endif -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill DISCLAIMER: Please note that in accordance with the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. http://www.vorratsdatenspeicherung.de http://www.ccc.de -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Servus Liste, On Dienstag 03 März 2009 14:26:40 Sascha 'saigkill' Manns wrote:
Gibs ne Möglichkeit in der CMake sowas zu machen?
%ifarch %ix86 SET(CONFIGFILE_PATH /usr/lib) %else SET(CONFIGFILE_PATH /usr/lib64) %endif Weiß jemand was über CMake, womit man das machen kann?
-- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill DISCLAIMER: Please note that in accordance with the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. http://www.vorratsdatenspeicherung.de http://www.ccc.de -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Am Freitag, 6. März 2009 22:28 schrieb Sascha 'saigkill' Manns:
Servus Liste,
On Dienstag 03 März 2009 14:26:40 Sascha 'saigkill' Manns wrote:
Gibs ne Möglichkeit in der CMake sowas zu machen?
%ifarch %ix86 SET(CONFIGFILE_PATH /usr/lib) %else SET(CONFIGFILE_PATH /usr/lib64) %endif
Weiß jemand was über CMake, womit man das machen kann?
Soweit ich weiss gibt es eine eigene CMake Skriptsprache, damit kannst Du eigentlich alles machen... Die CMake jungs haben auch eine Art "configure", musst Du nur selber Skripten. Musst Du mal bei denen auf der Homepage gucken... http://www.cmake.org/ HTH Andre -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
participants (2)
-
Andre Heine
-
Sascha 'saigkill' Manns