Re: [CMake] macosx, bundle, qt4:

2010-10-21 Thread Petr Vanek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 21, 2010 (Thursday), at 9:36 PM, Clinton Stimpson wrote: > > Did you add a qt.conf file to your application bundle? > If not, QtCore will first look for plugins using hard coded paths built into > the library. If they are found at the hard

[CMake] macosx, bundle, qt4:

2010-10-21 Thread Petr Vanek
hi all, I have an app which I'm trying to bundle with BundleUtilities. It looks like everything is copied into its place. Otool -L shows that every external ib is prefixed with @executable_path including qt4 frameworks and qt4 plugins. Qt4 is built as a "intel universal (i386;x86_64)" When I t

Re: [CMake] linking main Fortran and C++

2010-10-21 Thread Jed Brown
On Thu, Oct 21, 2010 at 16:52, M. Scot Breitenfeld wrote: >  It was part of a section detecting if mpi is present, if it is then it uses > the mpi** compiler wrappers instead: > > IF ( MPI_FOUND ) >  SET (CMAKE_Fortran_COMPILER  mpif90) >  SET (CMAKE_CC_COMPILER  mpicc) This is a typo, should be

Re: [CMake] linking main Fortran and C++

2010-10-21 Thread M. Scot Breitenfeld
It was part of a section detecting if mpi is present, if it is then it uses the mpi** compiler wrappers instead: IF ( MPI_FOUND ) SET (CMAKE_Fortran_COMPILER mpif90) SET (CMAKE_CC_COMPILER mpicc) SET (CMAKE_CXX_COMPILER mpicxx) ENDIF() I guess the alternative method would be to just u

Re: [CMake] Creating Debian source packages with CMake

2010-10-21 Thread Eric Noulard
2010/10/20 Daniel Pfeifer : >> What would a 'debian/rules' file that used CPack look like? > > The `debian/rules` file that is generated by my script does currently > not rely on CPack since CPack cannot generate more than one package. In order to be sure I make myself clear. CPack (2.8.3rcXX) **

Re: [CMake] Mac OS Quick Look plugin support

2010-10-21 Thread Michael Wild
On 21. Oct, 2010, at 10:35 , Tom Vercauteren wrote: > Hi All, > > I am rather new to Mac OS X and am trying to port a custom file > preview plugin I had for KDE 4. > > Using CMake and KDE 4, building and installing such a plugin was > fairly simple, thanks to > kio/thumbcreator.h in KDE > and

[CMake] CTest's Build exit status

2010-10-21 Thread Marcel Loose
Hi all, I noticed that 'ctest -DExperimentalBuild' returns with an exit status 0, even if compiler errors occur. I think that is caused by the fact that 'make -i' is used. The "ignore errors" option causes make to always exit with status 0. Wouldn't it make more sense to use 'make -k' instead? T

[CMake] Mac OS Quick Look plugin support

2010-10-21 Thread Tom Vercauteren
Hi All, I am rather new to Mac OS X and am trying to port a custom file preview plugin I had for KDE 4. Using CMake and KDE 4, building and installing such a plugin was fairly simple, thanks to kio/thumbcreator.h in KDE and the kde4_add_plugin function from KDE4Macros.cmake http://websvn.k