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

2011-05-04 Thread Rosen Diankov
:35 AM, Rosen Diankov wrote: 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

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

2011-05-02 Thread Rosen Diankov
to codenames inside DebSourcePPA.cmake.. rosen, 2011/5/1 Rolf Eike Beer e...@sf-mail.de: On Sa., 30. Apr. 2011 11:51:58 CEST, Rosen Diankov rosen.dian...@gmail.com wrote: Hi guys, Since there was no object to the proposed dependency method, we completed the DebSourcePPA.cmake script

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

2011-05-02 Thread Rosen Diankov
to store a mapping of all versions to codenames inside DebSourcePPA.cmake.. rosen, 2011/5/1 Rolf Eike Beer e...@sf-mail.de: On Sa., 30. Apr. 2011 11:51:58 CEST, Rosen Diankov rosen.dian...@gmail.com wrote: Hi guys, Since there was no object to the proposed dependency method, we completed

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

2011-04-30 Thread Rosen Diankov
CPACK_DEBIAN_PACKAGE_DEPENDS_UBUNTU CPACK_DEBIAN_PACKAGE_DEPENDS rosen, 2011/4/24 Rosen Diankov rosen.dian...@gmail.com: That's a great idea! So we'll have a 3 tier depends checking then? X_DEPENDS_DISTRO_VERSION X_DEPENDS_DISTRO X_DEPENDS i'm not sure how opensuse works, but in ubuntu/debian all packages need

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

2011-04-24 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))

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

2011-04-24 Thread Rosen Diankov
After thinking about it, perhaps it would make most sense to have DISTRO be ubuntu, debian, fedora, etc, rather than the code name. rosen, 2011/4/24 Rosen Diankov rosen.dian...@gmail.com: Perhaps it would be better to have support for set(X_DEPENDS_${DISTRO} gcc4.4) If this is missing

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

2011-04-24 Thread Rosen Diankov
X_DEPENDS_DISTRO_CODENAME might be more appropriate rosen, 2011/4/24 Rolf Eike Beer e...@sf-mail.de: Am Sonntag, 24. April 2011, 16:24:54 schrieb Rosen Diankov: After thinking about it, perhaps it would make most sense to have DISTRO be ubuntu, debian, fedora, etc, rather than the code name. Well

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

2011-04-23 Thread Rosen Diankov
such depends in DebSourcePPA.cmake would be very cool and shouldn't take that much programming time for a cmake dev ;0) thank you, rosen, 2011/4/23 Eric Noulard eric.noul...@gmail.com: 2011/4/23 Rosen Diankov rosen.dian...@gmail.com: Hi Eric, Thanks for the response. In another email to cmake.org, I

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 rosen.dian...@gmail.com: Hi Eric, Great, I'm all for the idea of helping add DebSourcePPA.cmake

[CMake] Better handling of library dependencies for CPack

2011-04-22 Thread Rosen Diankov
Hi all, We've recently started generating (debian) packages with CPack and discovered that handling library dependencies for particular distributions was not as smooth as it can be. The *_DEPENDS string just gets copied over to the final package so it puts all the burden on the user side to

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

2011-04-22 Thread Rosen Diankov
Hi Guys, You are right about shlibdeps, but this is not the whole story. Debian source packages required build dependencies to be preinstalled before cmake even runs. This tells each distribution what it needs so that cmake can find it with find_package. Afterwards, it isn't necessary to

[CMake] Release of new Debian Source Package Generator

2011-04-22 Thread Rosen Diankov
# # Copyright (c) 2010 Daniel Pfeifer dan...@pfeifer-mail.de # Many modifications by Rosen Diankov rosen.dian...@gmail.com # # Creates source debian files and manages library dependencies # # Features: # # - Automatically generates symbols and run-time dependencies from the build dependencies # - Custom

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

2011-04-22 Thread Rosen Diankov
. rosen, 2011/4/23 Eric Noulard eric.noul...@gmail.com: 2011/4/22 Rosen Diankov rosen.dian...@gmail.com: Hi Guys, You are right about shlibdeps, but this is not the whole story. Debian source packages required build dependencies to be preinstalled before cmake even runs. This tells each

Re: [CMake] Release of new Debian Source Package Generator

2011-04-22 Thread Rosen Diankov
Hi all, There was a problem with the previous script on certain versions of tar. I'm attaching a new file that fixes it. rosen, 2011/4/22 Rosen Diankov rosen.dian...@gmail.com: Hi all, We just finished a new debian source package generator script for cmake: https

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

2011-04-22 Thread Rosen Diankov
/22 Rosen Diankov rosen.dian...@gmail.com: Hi Eric, Before I start running things, basically the script sets CPACK_DEBIAN_PACKAGE_DEPENDS right? What does this effect have on cpack? On CPack generic part none but the CPack Debian generator use it when building the binary debian package

Re: [cmake-developers] Adding the OpenRAVE library module

2011-04-15 Thread Rosen Diankov
where the configuration file is in: C:\Program Files\OpenRAVE-0.3\lib\cmake\openrave-0.3 thanks! rosen, 2011/4/15 Brad King brad.k...@kitware.com: On 04/15/2011 08:49 AM, Rosen Diankov wrote: thanks for the answers! for now i'm not sure if i want to spend time tweaking

Re: [cmake-developers] Adding the OpenRAVE library module

2011-04-15 Thread Rosen Diankov
After thinking about it, it really doesn't make sense for static libraries to be part of the exports. rosen, 2011/4/15 Rosen Diankov rosen.dian...@gmail.com:  set_property(TARGET mysharedlib PROPERTY LINK_INTERFACE_LIBRARIES ) but wouldn't that also affect how the libraries are linked

Re: [cmake-developers] Adding the OpenRAVE library module

2011-04-13 Thread Rosen Diankov
/? rosen, 2011/4/13 Brad King brad.k...@kitware.com: On 04/12/2011 08:02 PM, Rosen Diankov wrote: Perhaps I missed something, but FindX.cmake packages will look for that, while the configuration method you are suggesting will not. Correct.  I've been meaning to address this for a long time

Re: [cmake-developers] MSVC LinkLibraryDependencies settable flag

2011-04-12 Thread Rosen Diankov
failed to load because of missing symbols, the only way was to enable LinkLibraryDependencies. rosen, 2011/4/12 Brad King brad.k...@kitware.com: On 04/11/2011 09:29 PM, Rosen Diankov wrote: When creating a complex project with DLLs depending on static libraries in MSVC, it is necessary to set

Re: [cmake-developers] MSVC LinkLibraryDependencies settable flag

2011-04-12 Thread Rosen Diankov
I replaced all add_dependency calls with target_link_libraries and initial results show that things are working! it makes me very happy to be able to remove this hack ;0) thanks, rosen, 2011/4/13 Brad King brad.k...@kitware.com: On 04/12/2011 10:29 AM, Rosen Diankov wrote: are you saying

[cmake-developers] Adding the OpenRAVE library module

2011-04-11 Thread Rosen Diankov
Dear CMake Developers, My name is Rosen Diankov and am the main developer for a robotics motion planning environment named OpenRAVE. http://openrave.programmingvision.com OpenRAVE is all managed with cmake and compiles on any *nix, windows, and mac osx. Most of the users (about 200

Re: [cmake-developers] Adding the OpenRAVE library module

2011-04-11 Thread Rosen Diankov
-config.cmake and then have openrave_XXX variables set? what is your advice here? what about Windows? i doubt all users will be installing to C:\Program Files\... thanks, rosen, 2011/4/12 Brad King brad.k...@kitware.com: On 04/11/2011 02:20 AM, Rosen Diankov wrote: My name is Rosen Diankov and am

[cmake-developers] MSVC LinkLibraryDependencies settable flag

2011-04-11 Thread Rosen Diankov
Dear cmake devs, When creating a complex project with DLLs depending on static libraries in MSVC, it is necessary to set the LinkLibraryDependencies=true in the project file, or otherwise things won't work correctly. Because there's no option in cmake for this, we've been using the following

Re: [cmake-developers] Adding the OpenRAVE library module

2011-04-11 Thread Rosen Diankov
, Rosen Diankov wrote: My name is Rosen Diankov and am the main developer for a robotics motion planning environment named OpenRAVE. Great, thanks for coming to us with this contribution. Because we'll be always updating the URL, do you think we can setup some automated way of cmake grabbing