Re: [CMake] cmake qt4 Lplates again

2010-12-11 Thread luxInteg
On Saturday 11 December 2010 17:46:37 luxInteg wrote: > Greetings, > > Still withcmake L-plates firmly on ( with a Qt4 project ) I have now > stumbled into this:- > > I have a series of header files to compile into .cpp files via the > QT4_WRAP_CPP() utility. Just one of the file needs

Re: [CMake] Trying to setup make folder configuration on linux

2010-12-11 Thread Eric Noulard
2010/12/11 Louis Hoefler : > Indeed, it works with > INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/massmailer DESTINATION bin) This is not the appropriate way to install a target build with cmake (even if it works). Like Tyler said you should be doing something wrong in your CMakeLists.txt. > > PS

[CMake] Weird behaviour of functions with list arguments

2010-12-11 Thread Johannes Zarl
Hello, I noticed that when defining a function, one can access lists as arguments using named arguments or ARGV0..ARGVn, but not using ARGV and ARGN. To elaborate, assuming the function list_as_args defined as follows: function(list_as_arg) message(STATUS "${ARGC} arguments, ARGV: ${ARGV}")

Re: [CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Michael Jackson
I did find that section. what I am a bit confused about is this: ParaView includes its own version of BundleUtilities.cmake? Why? ParaView includes its own version of GetPrerequisites.cmake? Why? Is BundleUtilities aim at _just_ installing? Or will the same code run for CPack? I am trying to

Re: [CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Dave Partyka
Whats wrong with ParaView's CMake code? ;-) The relevant section to doing bundle utilities on non Mac Platforms is this blob from ParaView\Applications\ParaView\CMakeLists.txt set(DIRS) # directories to search for prerequisites IF(PARAVIEW_BUILD_QT_GUI) list(APPEND DIRS ${QT_BINARY_DIR} ${QT_L

[CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Michael Jackson
Is there a concise example for BundleUtilites aimed at Windows? I _think_ I get how to use it on OS X but I am failing miserably on Windows side of things. My installation code is turning into a mess currently due to using BundleUtilities on the OS X side and manually writing CMake code to move stu

[CMake] cmake qt4 Lplates again

2010-12-11 Thread luxInteg
Greetings, Still withcmake L-plates firmly on ( with a Qt4 project ) I have now stumbled into this:- I have a series of header files to compile into .cpp files via the QT4_WRAP_CPP() utility. Just one of the file needs to 'compiled' beforehandthen compiled to object code wit

Re: [CMake] cmake qt4 Lplates

2010-12-11 Thread luxInteg
On Friday 10 December 2010 21:17:21 Andreas Pakulat wrote: > On 10.12.10 22:09:29, luxInteg wrote: > > Greetings, > > > > I have my cmake L-plates firmly on ( with a Qt4 project I am stumbling > > on ) > > > > I have these in CMakeLists.txt file:- > > > > FIND_PACKAGE( Qt4 REQUIRED ) > >

Re: [CMake] Trying to setup make folder configuration on linux

2010-12-11 Thread Louis Hoefler
Indeed, it works with INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/massmailer DESTINATION bin) PS.: This is only a development computer, you do not want to know how ofter I accidently entered rm -f somewhere, and since I want to install into the global bin path, I need root access. Thank you