[CMake] Problem using VTK with CMake

2011-07-07 Thread tog
Hi I want to build a package with my own VTK version. I have therefore compiled VTK and I have the following directories: sources - /Users/alleon/PROJECTS/vtk-5.6.1 build tree - /Users/alleon/PROJECTS/vtk-5.6.1_build install tree - /Users/alleon/PROJECTS/vtk-5.6.1_install I have the files:

Re: [CMake] Problem using VTK with CMake

2011-07-07 Thread tog
Thanks David, This is working fine Guillaume On Thu, Jul 7, 2011 at 7:47 PM, David Cole david.c...@kitware.com wrote: On Thu, Jul 7, 2011 at 9:13 AM, tog guillaume.all...@gmail.com wrote: Hi I want to build a package with my own VTK version. I have therefore compiled VTK and I have

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

2011-05-02 Thread tog
dirs as well as for all my architecture ? Then my remaining problems will be to be able to install the NON plugin libs in a Frameworks (do we have something similar to BundleUtilities for that) Regards Guillaume On Sat, Apr 23, 2011 at 7:44 PM, tog guillaume.all...@gmail.com wrote: To mixup

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

2011-04-23 Thread tog
...@bluequartz.net wrote: 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 www.bluequartz.net On Apr 22, 2011, at 10:31 PM, tog wrote: Hi Do we have something similar

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

2011-04-22 Thread tog
Hi Do we have something similar to BundleUtilities for Frameworks ? Best Regards Guillaume On Wed, Apr 20, 2011 at 9:48 PM, David Cole david.c...@kitware.com wrote: On Wed, Apr 20, 2011 at 11:38 AM, Michael Jackson mike.jack...@bluequartz.net wrote:

Re: [CMake] RPATH on Mac

2011-04-20 Thread tog
, Ohio On Apr 19, 2011, at 11:21 AM, tog wrote: Hi Mike Thanks for this very helpful answer. I am nevertheless still facing few problems. My project contains:  - a shared library  - an executable using the shared lib  - a plugin lib (loaded using dylib) I have modified my exec target

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

2011-04-20 Thread tog
-2.8/Modules/BundleUtilities.cmake:645 (fixup_bundle_item) example/cmake_install.cmake:44 (fixup_bundle) cmake_install.cmake:35 (INCLUDE) make: *** [install] Error 1 On Wed, Apr 20, 2011 at 12:03 PM, tog guillaume.all...@gmail.com wrote: Hi, Yes I have used the references you send me i.e

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

2011-04-20 Thread tog
it's a plugin, it will not appear in any file's otool -L output, so it has to be installed first in the bundle before it can be fixed up...) On Wed, Apr 20, 2011 at 6:54 AM, tog guillaume.all...@gmail.com wrote: Some small progress after using INSTALL(CODE ...) but still an error. (Small

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

2011-04-20 Thread tog
Runtime to copy the lib inside the bundle directory. Best Regards Guillaume On Wed, Apr 20, 2011 at 8:25 PM, David Cole david.c...@kitware.com wrote: On Wed, Apr 20, 2011 at 10:40 AM, tog guillaume.all...@gmail.com wrote: Well I thought that the BUNDLE line in my INSTALL command would take

Re: [CMake] RPATH on Mac

2011-04-19 Thread tog
              Dayton, Ohio On Apr 15, 2011, at 7:17 AM, tog wrote: Dear all I have a project in which I would like to use rpath on Mac OS. Everything is going fine if I am building everything manually (i.e. without CMake) With CMake all is fine for the libs between the build

Re: [CMake] RPATH on Mac

2011-04-16 Thread tog
? Am I missing something ? Best Regards Guillaume On Fri, Apr 15, 2011 at 4:47 PM, tog guillaume.all...@gmail.com wrote: Dear all I have a project in which I would like to use rpath on Mac OS. Everything is going fine if I am building everything manually (i.e. without CMake) With CMake all

[CMake] RPATH on Mac

2011-04-15 Thread tog
Dear all I have a project in which I would like to use rpath on Mac OS. Everything is going fine if I am building everything manually (i.e. without CMake) With CMake all is fine for the libs between the build and the installation, all libs are processed with install_name_tool. But nothing is

[CMake] FortranCInterface_VERIFY problem on Mac

2011-04-12 Thread tog
Hi, I am quite new to CMake. I want to use it for compiling an application mixing C Fortran. I have narrowed down a CMake file to this: PROJECT(dummy) # Set the minimum version of cmake required to 2.6 CMAKE_MINIMUM_REQUIRED( VERSION 2.6 ) ENABLE_LANGUAGE(Fortran) INCLUDE(FortranCInterface)