[PyQt] configuring pykde from the kdebindings module
Marcos Dione
mdione at grulic.org.ar
Mon Jul 14 23:09:04 BST 2008
I've been trying to compile pykde4 from the kde4's kdebindings
module. the problem is that I want to install everything in my user's
home instead of the system, more explicitly, in /home/mdione/local/, but
I don't know how to force cmake to set certain options, like the install
directory. the cmake_install.cmake ends with snipetts like this:
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
IF("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg][Ff][Uu][Ll][Ll])$")
FILE(INSTALL DESTINATION "/usr/lib/python2.5/site-packages/PyKDE4" TYPE SHARED_LIBRARY FILES "/home/mdione/src/system/kde4/build/kdebindings/lib/kdecore.so")
IF(EXISTS "$ENV{DESTDIR}/usr/lib/python2.5/site-packages/PyKDE4/kdecore.so")
IF(CMAKE_INSTALL_DO_STRIP)
EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/lib/python2.5/site-packages/PyKDE4/kdecore.so")
ENDIF(CMAKE_INSTALL_DO_STRIP)
ENDIF(EXISTS "$ENV{DESTDIR}/usr/lib/python2.5/site-packages/PyKDE4/kdecore.so")
ENDIF("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg][Ff][Uu][Ll][Ll])$")
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" MATCHES "^(Unspecified)$")
is there anyway? if not, and I find time to dig into it, is there
any interest in such a thing?
More information about the PyQt
mailing list