[CMake] OUTPUT_REQUIRED_FILES - how does it work ?

2009-09-10 Thread Wojciech Migda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again, while exploring possibilities to solve dependency problems I took a peek at the OUTPUT_REQUIRED_FILES command. I constructed simple CMakeLists.txt OUTPUT_REQUIRED_FILES( bar.c baz.txt ) ADD_LIBRARY( foo bar.c ) and the contents of bar.c

Re: [CMake] RVCT support

2009-09-10 Thread Alexander Neundorf
On Thursday 10 September 2009, Darren ha wrote: > On Thu, Sep 10, 2009 at 3:16 PM, Eric Noulard wrote: > > 2009/9/10 Darren ha : > > > hi list!! > > > > > > i do like the concept of cmake. so I wanna use it as our main build > > > > system. > > > > > so i surveyed it and discovered there is no sup

Re: [CMake] macosx fix bundle problems

2009-09-10 Thread Clinton Stimpson
The Qt plugins don't look right. If you haven't seen it already Plugins should have a directory structure and the libraries end with .dylib. So something like plugins/accessible/libqtaccessiblecompatwidgets.dylib plugins/accessible/libqtaccessib

Re: [CMake] macosx fix bundle problems

2009-09-10 Thread Petr Vanek
cool, thanks. It's working now. I had to play with order of the steps in install procedure. Something should go before fix_bundle call, something after. But plugins are packed together and contains correct (otool -L) paths. But - all plugins are stored in my.app/Contents/MacOS dir and aren'

Re: [CMake] set CTEST_ENVIRONMENT from within CMakeLists.txt?

2009-09-10 Thread Roland Bock
Hi, that's good news for the future. In the meantime, I have created a workaround that does the trick for the tests in my current project (and until CMake2.8). #- # M_ADD_LOCAL_TEST # # Parameters: # name of the test # command string (including all parameters) # ad

Re: [CMake] set CTEST_ENVIRONMENT from within CMakeLists.txt?

2009-09-10 Thread David Cole
CTEST_ENVIRONMENT cannot be used from within CMakeLists.txt -- it is a "ctest -S script" only variable... To do what you want, you will have to use CVS CMake, or wait until CMake 2.8 and then use the ENVIRONMENT test property. With CVS or the upcoming CMake 2.8, after calling ADD_TEST in your CMak

Re: [CMake] INSTALL query (itk,cmake)

2009-09-10 Thread Atwood, Robert (DLSLtd,RAL,DIA)
Hi, I think I found some information on my own, about this. http://cmake.org/Wiki/CMake_RPATH_handling Which explains the behaviour I observed (but didn't expect) However, what is the recommended way for installing one's own itk-based programs and the itk-libraries for others on the system

Re: [CMake] yarp devices and cmake struggle

2009-09-10 Thread Pol Monsó IRI
Sorry the last output should be, when building the device, pmo...@delucia:~/YARP/yarp-2.2.2/src/modules$ make [ 14%] Building CXX object CMakeFiles/yarpmod.dir/wamArm/wamarm.o [ 28%] Building CXX object CMakeFiles/yarpmod.dir/generated_code/yarpdev_add_wamArm.o [ 42%] Building CXX object CMakeFile

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-10 Thread David Aldrich
Hi Arjen > this is PLplot-specific, has nothing (or at least very little) to do > with CMake. The problem is that the program that creates these driver > files needs a few DLLs and they are not yet in the DLL subdirectory. Sorry, I will try your suggestion and move back to the PLplot mail list.

[CMake] yarp devices and cmake struggle

2009-09-10 Thread Pol Monsó IRI
Hello all, Here we are struggling again with cmake and yarp devices. Now we're trying to break a device I already had into a directory and a subdirectory in order to provide yarp decoupling with the device class. So thats my directory structure yarp-2.2.2/src/modules/wamArm/ |-- CMakeLists.txt |-

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-10 Thread Arjen Markus
Hi David, this is PLplot-specific, has nothing (or at least very little) to do with CMake. The problem is that the program that creates these driver files needs a few DLLs and they are not yet in the DLL subdirectory. Can you check with DependencyWalker or similar programs what DLLs are missing?

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-10 Thread David Aldrich
Hi Arjen > you should start cmake in a clean directory - old stuff might get in the > way otherwise, as a lot of information is being cached. Yes, that was the problem. Thanks. As I wrote in another mail this morning (the order seems to have got reversed) CMake now succeeds but nmake fails: [

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-10 Thread Arjen Markus
Hi David, you should start cmake in a clean directory - old stuff might get in the way otherwise, as a lot of information is being cached. Regards, Arjen On 2009-09-10 10:05, David Aldrich wrote: Hi Bill and Alan Thank you both very much for answering my question. I did indeed have an old ve

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-10 Thread David Aldrich
Hi Bill and Alan Thank you both very much for answering my question. I did indeed have an old version of CMake, from a forgotten installation of Cygwin, and that was being invoked. I have now deleted that old CMake (and hopefully Cygwin as well) and am now truly running 2.6.4. C:\plplot-5.9.5

Re: [CMake] Newbie question: cmake does not have nmake generator

2009-09-10 Thread David Aldrich
Hi > Any idea why this is happening please? Sorry, I should have thought a little more. I deleted the contents of buildnmake and now CMake succeeds. I then executed: C:\plplot-5.9.5\buildnmake>path=...\plplot-5.9.5\buildnmake\dll;%PATH% C:\plplot-5.9.5\buildnmake>nmake and the nmake output t