Re: [CMake] MIDL include directiories

2011-02-23 Thread Mika . Rajala
Hi It appears I was wrong, the HEADER_FILE_ONLY did work for them, it seems I had some error while trying it. Everything works smoothly now. My solution: Create a macro to handle the IDL files, which outputs the header files and the tlb-files so that you may move them around later on. This al

Re: [CMake] MIDL include directiories

2011-02-23 Thread Mika . Rajala
Hi I solved this exact problem by using the add_custom_command, to write the command for the midl tool. (I created a macro for it) Now I neatly get the generated tlb and header files, and now i can easily list them in the visual studio. However, I'm yet to figure out how to add the idl files t

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Clinton Stimpson
On Wednesday, February 23, 2011 02:38:38 pm Arnaud GELAS wrote: > On 02/23/2011 04:35 PM, Clinton Stimpson wrote: > > On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote: > >> On 02/23/2011 04:26 PM, Clinton Stimpson wrote: > >>> On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS w

[CMake] Intended use of CMAKE__STANDARD_LIBRARIES

2011-02-23 Thread Johan Björk
Hi everyone, What is the intended use for CMAKE__STANDARD_LIBRARIES? Is there any reason why it differs in behavior from TARGET_LINK_LIBRARIES() ? I am currently using it in my toolchain files to specify platform required libraries and been seeing a few issues, leading me to believe that I might

Re: [CMake] Strange 2.8.4 memcheck result on CDash

2011-02-23 Thread David Cole
What version of CDash is your server running? I'm trying to view it in my web browser to find out for myself, but when I try ( http://nei.hdfgroup.uiuc.edu/cdash ), I get a "Problem loading page" message from Firefox. I suspect we're compressing the test results, but CDash is not de-compressing t

Re: [CMake] Strange 2.8.4 memcheck result on CDash

2011-02-23 Thread Allen D Byrne
Here is a snippet of first the 2.8.2 xml file followed by the 2.8.4 file: # testhdf5 ./test ./test/testhdf5 /usr/bin/valgrind -v --tool=memcheck --leak-check=full --track-fds=yes --num-

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Arnaud GELAS
On 02/23/2011 04:35 PM, Clinton Stimpson wrote: On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote: On 02/23/2011 04:26 PM, Clinton Stimpson wrote: On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote: Hi all, I have just pulled from master, and in my project I can't ge

Re: [CMake] Strange 2.8.4 memcheck result on CDash

2011-02-23 Thread David Cole
Can you send me (offlist) copies of the DynamicAnalysis.xml files from each case? Do you still have them? If not, no worried. I'll try to reproduce this on our CMake dashboard by submitting a 2nd valgrind dashboard: same script, just drive it with 2.8.4. It may take me a few days to get around to

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Clinton Stimpson
On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote: > On 02/23/2011 04:26 PM, Clinton Stimpson wrote: > > On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote: > >> Hi all, > >> > >> > >> I have just pulled from master, and in my project I can't get the > >> QT_VERSION_MINOR

Re: [CMake] Strange 2.8.4 memcheck result on CDash

2011-02-23 Thread Allen D Byrne
Further results: 2.8.2 works with MemoryCheck 2.8.4 does not display even with MemoryCheck. Here is out CTestConfig.cmake file: # SET (CTEST_PROJECT_NAME "HDF5.1.8") SET (CTEST_NIGHTLY_START_TIME "20:00:00 CST") SET (CTEST_DROP_METHOD "http") SET (CTEST

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Arnaud GELAS
On 02/23/2011 04:26 PM, Clinton Stimpson wrote: On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote: Hi all, I have just pulled from master, and in my project I can't get the QT_VERSION_MINOR Here is what I get when configuring my project: -- Found Qt4: /usr/bin/qmake-qt4 (found

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Clinton Stimpson
On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote: > Hi all, > > > I have just pulled from master, and in my project I can't get the > QT_VERSION_MINOR > > > Here is what I get when configuring my project: > > -- Found Qt4: /usr/bin/qmake-qt4 (found version "4.7.1") > > CMake Err

[CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Arnaud GELAS
Hi all, I have just pulled from master, and in my project I can't get the QT_VERSION_MINOR Here is what I get when configuring my project: -- Found Qt4: /usr/bin/qmake-qt4 (found version "4.7.1") CMake Error at CMakeLists.txt:446 (MESSAGE): GoFigure2 requires Qt4.5 (or newer version) to b

[CMake] fixup_bundle() on linux

2011-02-23 Thread Nicolas Rannou
Hi all, We develop a cmake-based application. We create several libraries which are linked to VTK and ITK libraries. ADD_LIBRARY( *QGoGui* ${QGoGUILIB_SRC} ${QGoGUILIB_MOC} ${QGoGUI_QRC} ) SET( QGoGUI_LIBS ITKStatistics ... ) TARGET_LINK_LIBRARIES( *QGoGui* ${QGoGUI_LIBS} ) IN

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-23 Thread David Cole
On Wed, Feb 23, 2011 at 11:28 AM, Alexander Neundorf wrote: > On Wednesday 23 February 2011, Schmid Alexander wrote: >> > This suffix should be set by the platform file. >> > Modules/CMakeSystemSpecificInformation.cmake includes >> > CMakeGenericSystem.cmake, which sets it to "". That's what you s

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-23 Thread Alexander Neundorf
On Wednesday 23 February 2011, Schmid Alexander wrote: > > This suffix should be set by the platform file. > > Modules/CMakeSystemSpecificInformation.cmake includes > > CMakeGenericSystem.cmake, which sets it to "". That's what you see. > > > > Then it includes Platform/${CMAKE_SYSTEM_NAME}, which

[CMake] Default visual studio filters

2011-02-23 Thread Orcun Gokbulut
Hello cmake users, We are porting our visual studio based build system to cmake and its allmost done with some minor problems. One of the minor problem is default visual c++ filters (source groups) I don't like (actually hate) visual c++'s default *.cpp *.h filters. (Not the filter feature but th

Re: [CMake] Strange 2.8.4 memcheck result on CDash

2011-02-23 Thread Allen D Byrne
David, Results so far: MemCheck with 2.8.4 - CDash does not display DynamicAnalysis data MemoryCheck with 2.8.3 displayed same issue The DynamicAnalysis_xxx.log files have the data. The DynamicAnalysis_xxx.xml files have the test data, but the tags data looks encyrpted. We will rerun with 2.8

[CMake] the usage of SET_TARGET_PROPERTIES

2011-02-23 Thread shujun gong
Hello,everyone! 1. SET_TARGET_PROPERTIES(target1 target2 ... PROPERTIES prop1 value1 prop2 value2 ...) What's the meaning of the "target1 target2 ...",? 2. There was a error in my program when I use CMake: CMake Error: CMake can not de

[CMake] OSX/Cmake 2.8.4 errors detecting ffmpeg and GTK2

2011-02-23 Thread Full Name
I am trying to compile Vegastrike (vegastrike.sourceforge.net) on OSX 10.5, code generator is xcode 3.1.4 Can't get past 2 dependencies that are not detected correctly by cmake. 1. ffmpeg: I installed it from source in /usr/local (/lib and /include) Cmake first complains not finding libavcodec,

[CMake] MIDL include directiories

2011-02-23 Thread Mika . Rajala
Hi I'd like to know is it possible to give additional include directories for the MIDL tool in Visual Studio 2005 with CMakeLists.txt code. The include_directories command does not work for the MIDL tool parameters. To delve deeper into the reason why this is a problem, helloworld1.idl uses