[CMake] adding a 'make altinstall' to cmake?

2011-04-23 Thread Rosen Diankov
Hi all, We would like to add a 'make altinstall' option similar to python's altinstall so that it doesn't install symlinks that clobber the system install's symlinks for our program. Basically, a normal install does: program0.3 program -> program0.3(using install(CODE)) libprogram.so.0.

Re: [CMake] Better handling of library dependencies for CPack

2011-04-23 Thread Rosen Diankov
Perhaps it would be better to have support for set(X_DEPENDS_${DISTRO} gcc4.4) If this is missing, the dependencies will fall back to the regular X_DEPENDS variable rosen, 2011/4/23 Rosen Diankov : > Hi Eric, > > Great, I'm all for the idea of helping add DebSourcePPA.cmake to the > official cm

Re: [CMake] How to change the sidebar image with cpack?

2011-04-23 Thread NoRulez
Hello, I think I figured it out, for those how also want to know how it is done, add the following lines to your CPack configuration (and replace ${SIDEBAR_IMAGE} with your image): SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "!define MUI_WELCOMEFINISHPAGE_BITMAP \\\"${SIDEBAR_IMAGE}\\\"

Re: [CMake] BundleUtilities and super-build

2011-04-23 Thread Michael Wild
On 04/23/2011 03:04 PM, Michael Jackson wrote: > BundleUtilities can not seem to find the QtLibraries. Are you passing in the > path to the Qt Libraries as part of the arguments to fixup_bundle? Yes. As mentioned, the strange thing is that it works when I open the solution of the sub-project in V

[CMake] How to use PNG instead of BMP for NSIS installer generator?

2011-04-23 Thread NoRulez
Hello, is it possible to use *.PNG images instead of the BMP images for header/sidebar? Thanks in advance Best Regards NoRulez ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opens

[CMake] How to change the sidebar image with cpack?

2011-04-23 Thread NoRulez
Hello, I successfully changed the header image of the installer with SET(CPACK_PACKAGE_ICON …) but how can I change the sidebar image? I found something like MUI_WELCOMEFINISHPAGE_BITMAP but I don’t know how to use this with cpack. Much thanks in advance Best Regards NoRulez ___

Re: [CMake] Better handling of library dependencies for CPack

2011-04-23 Thread Rosen Diankov
Hi Eric, Great, I'm all for the idea of helping add DebSourcePPA.cmake to the official cmake modules list. Because there's overlap with CPackDeb.cmake, perhaps there is some way to merge the functionality? I would still like to resolve the dependencies setting this email initially started with. I

Re: [CMake] BundleUtilities (was RPATH on Mac)

2011-04-23 Thread tog
To mixup a framework. From my project I would like to create a framework with the libs. Then with the framework I would like to create the .app. Nota: I would like to do that from a "neutral" location i.e. without installing on my machine On Apr 23, 2011, at 6:37 PM, Michael Jackson wrote: >

Re: [CMake] BundleUtilities (was RPATH on Mac)

2011-04-23 Thread Michael Jackson
To Copy in a framework into a .app bundle or to fixup a framework? In the first case things should "just work" as I copy in Qt Frameworks all the time. -- Mike Jackson On Apr 22, 2011, at 10:31 PM, tog wrote: > Hi > > Do we have something similar to BundleUtilities for Frameworks ? > > Best

Re: [CMake] BundleUtilities and super-build

2011-04-23 Thread Michael Jackson
BundleUtilities can not seem to find the QtLibraries. Are you passing in the path to the Qt Libraries as part of the arguments to fixup_bundle? I gave up on bundleUtilities for Windows platforms and use the following macro in its place: # --

Re: [CMake] Better handling of library dependencies for CPack

2011-04-23 Thread Eric Noulard
2011/4/23 Rosen Diankov : > Hi Eric, > > Thanks for the response. In another email to cmake.org, I sent a > DebSourcePPA.cmake file that shows what i'm doing to generate deb > source packages. Yes I saw that one, this is interesting, may be it could go upstream, if you want it to go upstream pleas

[CMake] BundleUtilities and super-build

2011-04-23 Thread Michael Wild
Hi all I'm trying to use BundleUtilities with MSVC 9 to install the required Qt4 DLL's of the GUI sub-project into a common prefix in the super-build binary directory. The process fails with the (abbreviated) output at the end of this message. If I open the sub-project's .sln file directly and ru

[CMake] How to define datafiles?

2011-04-23 Thread YangXi
In my program, I have several pictures and plain-text data files. Usually in a unix system, they should be placed on /usr/share/my_program/some_place. How could I define those files in CMakeLists, and make their location known by the program?Thanks! _