Re: [CMake] Finding X11 fails under OS X...

2009-09-03 Thread Werner Smekal
Hi, If you don't have /usr/X11/lib/libX11.dylib (which is a symbolic link to libX11.6.dylib), then your X11 installation is incomplete. You must have removed this symlink accidentally. Or maybe you can blame it on Apple's installer which is known to occasionally forget files. No I

[CMake] Howto byte-compile python files during install

2009-09-03 Thread Marcel Loose
Hi all, What is the best way to make sure that Python files are byte-compiled at install time? I couldn't find a pre- or post-install hook in the install() command. Best regards, Marcel Loose. ___ Powered by www.kitware.com Visit other Kitware

[CMake] XCode automatic dependencies

2009-09-03 Thread Jeroen Dierckx
Hi, We are in the progress of converting our build system(s) to cmake, and we are working on the following platforms: - Windows (VS2008) - Linux (KDevelop) - Mac OSX Snow Leopard (XCode) - iPhone (through XCode) Everything works very good, and I am glad that we took the dive. In XCode however,

Re: [CMake] XCode automatic dependencies

2009-09-03 Thread Jeroen Dierckx
On Thu, Sep 3, 2009 at 2:24 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: Jeroen Dierckx wrote: Hi, We are in the progress of converting our build system(s) to cmake, and we are working on the following platforms: - Windows (VS2008) - Linux (KDevelop) - Mac OSX Snow Leopard (XCode) -

Re: [CMake] XCode automatic dependencies

2009-09-03 Thread Bill Hoffman
Jeroen Dierckx wrote: Hi, We are in the progress of converting our build system(s) to cmake, and we are working on the following platforms: - Windows (VS2008) - Linux (KDevelop) - Mac OSX Snow Leopard (XCode) - iPhone (through XCode) Everything works very good, and I am glad that we took the

Re: [CMake] XCode automatic dependencies

2009-09-03 Thread Bill Hoffman
Jeroen Dierckx wrote: Can you give a small example that shows this issue? Hmm. I just installed the latest version of cmake, which seems to work as expected. I removed the explicit add_dependency lines, and all dependencies are setup correctly, also in XCode. Sorry to bother you... Great,

Re: [CMake] XCode automatic dependencies

2009-09-03 Thread Jeroen Dierckx
On Thu, Sep 3, 2009 at 3:46 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: Jeroen Dierckx wrote: Can you give a small example that shows this issue? Hmm. I just installed the latest version of cmake, which seems to work as expected. I removed the explicit add_dependency lines, and all

[CMake] Unknown names of output files - How to add the dependency?

2009-09-03 Thread Swaroop Ramachandra
Hi, I have a question regarding the ADD_CUSTOM_COMMAND. I have an input file which is generated on the fly. My ADD_CUSTOM_COMMAND executes a binary file which takes this input file. My output is a set of files whose names are based on the contents of my input file. Specifically, I generate .c

Re: [CMake] XCode automatic dependencies

2009-09-03 Thread Bill Hoffman
Not yet, but Ogre (http://www.ogre3d.org/) officially supports the iPhone in their new version (available from SVN only for now). They successfully use cmake to generate build environments for all their platforms, including the iPhone. It involves settings some xcode variables, and explicitly

[CMake] A variable to identify the Dart model type?

2009-09-03 Thread Nathaniel Waisbrot (Cont ARL/CISD)
I have a script, external to the rest of the CMake build, which performs some dashboard submission. I'd like to have it perform that submission *only* when ctest has been invoked as part of 'make (Nightly|Continuous|Experimental)', not 'make' or 'make test'. Is this possible? I haven't been

[CMake] cpack install problem

2009-09-03 Thread Dean Inglis
Hi, I originally posted this thread to kwwidgets, but have not had much success and perhaps this is a cpack/cmake issue Im having. I¹m building stand alone applications using VTK, ITK, GDCM, KWWidgets and I I'm recently having problems getting my apps to run on windows (XP, Vista 32 bit)

Re: [CMake] cpack install problem

2009-09-03 Thread Bill Hoffman
Dean Inglis wrote: Hi, I originally posted this thread to kwwidgets, but have not had much success and perhaps this is a cpack/cmake issue Im having. I¹m building stand alone applications using VTK, ITK, GDCM, KWWidgets and I I'm recently having problems getting my apps to run on windows

Re: [CMake] cpack install problem

2009-09-03 Thread John Drescher
On Thu, Sep 3, 2009 at 2:13 PM, Dean Inglisdean.ing...@camris.ca wrote: Hi, I originally posted this thread to kwwidgets, but have not had much success and perhaps this is a cpack/cmake issue Im having. I¹m building stand alone applications using VTK, ITK, GDCM, KWWidgets and I I'm

Re: [CMake] cpack install problem

2009-09-03 Thread Dean Inglis
Hi Bill, within the exe there appear to be two versions: dependency dependentAssembly assemblyIdentity type=win32 name=Microsoft.VC80.CRT version=8.0.50727.4053 processorArchitecture=x86 publicKeyToken=1fc8b3b9a1e18e3b/assemblyIdentity /dependentAssembly /dependency dependency

Re: [CMake] cpack install problem

2009-09-03 Thread David Cole
Likely comes from a build tree produced with an original Visual Studio, then an upgrade to a SP1 (or 2 or 3) of the same Visual Studio, then an incremental build of the tree... Produces some obj files that came from the original, some that came with SP1 and the blend causes dependencies on both

Re: [CMake] cpack install problem

2009-09-03 Thread Bill Hoffman
John Drescher wrote: assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0 dependency dependentAssembly assemblyIdentity type=win32 name=Microsoft.VC80.CRT version=8.0.50727.762 processorArchitecture=x86 publicKeyToken=1fc8b3b9a1e18e3b/assemblyIdentity

Re: [CMake] cpack install problem

2009-09-03 Thread John Drescher
The fix is to rebuild everything with the same version (SP) of visual studio.  A single exe should not have more than one of these things in it.  If it does then you have to do the redist thing.  If it only has one, which is possible, then you can ship the libraries and not have to install

[CMake] XCode, CMAKE_CFG_INTDIR, and add_custom_command

2009-09-03 Thread James Bigler
So when I compile a regular C file, XCode puts the resulting object file here: /code/myproj/src/MyProj.build/Debug/mytarget.build/Objects-normal/i386/main.o When I try to compile something else to an object file using an add_custom_command and CMAKE_CFG_INTDIR I get this path: