Re: [CMake] Adding Mac OS X Style Frameworks On Linux

2010-04-15 Thread Karol Krizka
Hi, On Thu, Apr 8, 2010 at 1:45 PM, Alexander Neundorf wrote: > On Wednesday 31 March 2010, Karol Krizka wrote: >> Hi there, >> >> I am trying to use CMake to develop Apps for a jailbroken iPhone using >> the iphonedevonlinux toolchain[1]. I got the toolchain to work and >> build the included tes

Re: [CMake] CMake & Matlab

2010-04-15 Thread Matt McCormick
James C. Sutherland writes: > > > I didn't apply the patch because I assumed that it had been fixed in 2.8.0 (which is what I am using). Is that > not the case? > ___ No, it has not been applied yet. I haven't tried the patch with 2.8, but it may

Re: [CMake] CMake 2.8.1 + Qt/Cocoa + OS X Problem -- qt_menu.nib not getting copied

2010-04-15 Thread Mike Jackson
I do not see any where in your code commands to actually copy the nib file from the qtgui framework into your app bundle. I know thatbthe way I set up my installation code I explicitly put a command to copy the nib file. I believe there is a qt example on the cmake wiki that shows how to do that.

Re: [CMake] CMake & Matlab

2010-04-15 Thread James C. Sutherland
>> >> 2. The instructions on http://www.cmake.org/Wiki/CMake:MatlabMex don't seem >> to work either. >> I tried following the approach of setting MEX as the CC and CXX compiler, >> but even on the trivial "hello >> world" example posted on the wiki page, CMake fails during the configure >> phas

Re: [CMake] CMake & Matlab

2010-04-15 Thread Matt McCormick
James C. Sutherland writes: > > I have been trying to get CMake to build Matlab MEX files without any success. > > 1. It seems that FindMatlab.cmake is not very functional. I am on a Mac with If I recall correctly, it is rather out of date. > > 2. The instructions on http://www.cmake.org/

[CMake] CMake & Matlab

2010-04-15 Thread James C. Sutherland
I have been trying to get CMake to build Matlab MEX files without any success. I have hit several problems. 1. It seems that FindMatlab.cmake is not very functional. I am on a Mac with Matlab 2010a and this script cannot find my installation. It seems to be tuned only for windows, and old ver

[CMake] CMake 2.8.1 + Qt/Cocoa + OS X Problem -- qt_menu.nib not getting copied

2010-04-15 Thread kent williams
I'll include my CMakeLists.txt at the end of this message, but the long and the short of it is this: My ApplicationBundle crashes when I try and open it with this classic error message: Qt internal error: qt_menu.nib could not be loaded. The .nib file should be placed in QtGui.framework/Versions/C

[CMake] Making a Visual Studio project for Windows Mobile

2010-04-15 Thread knight666
Hi, so far, my night has been extremely frustrating, trying to learn CMake. However, I'm slowly getting there. There are a couple of things bugging me though: *1) Additional Library Directories* I can either have this: CMake: link_directories ("../../YoghurtGum/bin") Output: AdditionalL

Re: [CMake] Assembler flag support

2010-04-15 Thread Alexander Neundorf
On Thursday 15 April 2010, Matthias Goesswein wrote: > Hello! > > Is there a variable like CMAKE_C_FLAGS_INIT for the assembler available? > > (e.g. CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT) Did you try this one ? I didn't add any explicit support for that, but I think this should work autoamtically fo

Re: [CMake] ExternalProject vs add_subdirectory (was Re: SubProject configuration in same build as host)

2010-04-15 Thread Dave Partyka
Humm you are right. HDF5 would need to be built before ParaView even attempts to configure. On Thu, Apr 15, 2010 at 10:08 AM, kent williams wrote: > There's a 'chicken-and-egg' problem with using ExternalProject in this > context: When you configure a project that uses ExternalProject_add, > that

[CMake] ExternalProject vs add_subdirectory (was Re: SubProject configuration in same build as host)

2010-04-15 Thread kent williams
There's a 'chicken-and-egg' problem with using ExternalProject in this context: When you configure a project that uses ExternalProject_add, that project won't be available to be found by FindPackage until AFTER the project is built. But CMake will want to find it at Configuration Time, and it will

Re: [CMake] CPack NSIS problem

2010-04-15 Thread Robert Bielik
Bill Hoffman skrev: Modules/NSIS.InstallOptions.ini.in and Modules/NSIS.template.in Thnx Bill, exactly what I need. /Rob ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

[CMake] Assembler flag support

2010-04-15 Thread Matthias Goesswein
Hello! Is there a variable like CMAKE_C_FLAGS_INIT for the assembler available? (e.g. CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT) Which flags are passed to in the Rule variable for creating an object file from an assembler source: SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT " -o ") I'm using CM

[CMake] nomenclature question

2010-04-15 Thread lux-integ
Greetings, I am new to the list. I am having difficulty compiling kdebase-workspace-4.4.2 on on a pure-64-bit linux (kernel-2.6.33) setup. I already described details of the problem ( http://mail.kde.org/pipermail/kde-buildsystem/2010-April/006863.html ). Basically I do not have Xorg-7.5 i

Re: [CMake] CPack NSIS problem

2010-04-15 Thread Bill Hoffman
Robert Bielik wrote: Robert Bielik skrev: which of course will make "Programs and features" show no icon at all. So the question is, how do I tell CPack to create a correct path ? I tried look at the code base, but I fail to find where CPack generates NSIS files, couldn't find anything about

Re: [CMake] CPack NSIS problem

2010-04-15 Thread Robert Bielik
Robert Bielik skrev: which of course will make "Programs and features" show no icon at all. So the question is, how do I tell CPack to create a correct path ? I tried look at the code base, but I fail to find where CPack generates NSIS files, couldn't find anything about DisplayIcon in CPacks

Re: [CMake] FindKDE4Internal error

2010-04-15 Thread Andreas Pakulat
On 15.04.10 13:05:47, Alexander Dietz wrote: > Hi, > > I was trying to install kile, which uses cmake for the installation > process. But the installation failed, I get the following error: > > > CMake Error at /usr/local/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE): >  ERROR: cmake/modul

Re: [CMake] Why not showing date/time for each operation in VERBOSE=1 mode?

2010-04-15 Thread Pavel Shevaev
> Could you change the compiler from gcc to 'time gcc'? > > Additionally perhaps specifying add_custom_command for relevant targets with > PRE_BUILD and POST_BUILD calls to 'date' would be helpful. Thanks for these nice ideas :) -- Best regards, Pavel ___

[CMake] FindKDE4Internal error

2010-04-15 Thread Alexander Dietz
Hi, I was trying to install kile, which uses cmake for the installation process. But the installation failed, I get the following error: CMake Error at /usr/local/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):  ERROR: cmake/modules/FindKDE4Internal.cmake not found in  /home/alex/.kde/share

Re: [CMake] SubProject configuration in same build as host

2010-04-15 Thread Dave Partyka
Just thinking out loud but we could make an "external_project" call instead. This would sync, configure, build and install it easily without needing to override anything. And then ParaView would just FindPackage(HDF5) with the internal build directory as a hint. On Thu, Apr 15, 2010 at 5:40 AM, Bi

[CMake] CPack NSIS problem

2010-04-15 Thread Robert Bielik
I'm trying to get an icon to show in Windows "Programs and features", registry should contain a "DisplayIcon" entry pointing to the icon to show. But CPack generates only: ; Optional registration Push "DisplayIcon" Push "$INSTDIR\" Call ConditionalAddToRegisty which of course will make "Pro

[CMake] SubProject configuration in same build as host

2010-04-15 Thread Biddiscombe, John A.
Within paraview we wish to build hdf5, which is now cmake based, so we ADD_SUBDIRECTORY(blah) and hdf5 is compiled nicely with lib targets added to the build. Some settings (like lib names) are needed by the host project, so we want to SET(HDF5_CONFIG ${ParaView_BINARY_DIR}/Utilities/hdf5-1.8/HD

[CMake] Different linker-init options depending of the build type

2010-04-15 Thread Matthias Goesswein
Hello! I'm currently porting to a new platform (Fujitsu LX16 Microcontrollers) and i found following flag-variables: CMAKE_C_FLAGS_INIT CMAKE_C_FLAGS_DEBUG_INIT CMAKE_C_FLAGS_MINSIZEREL_INIT CMAKE_C_FLAGS_RELWITHDEBINFO_INIT But in the Modules which are shipped with CMake i only found CMAKE_