[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

[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] 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

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 Log tags data looks encyrpted. We will rerun with

[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

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 is

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 a.neundorf-w...@gmx.net 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 .

[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} )

[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 be

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 Error at

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] 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

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 Here is

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 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

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: # Test Status=failed Nametesthdf5/Name Path./test/Path FullName./test/testhdf5/FullName

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

[CMake] Intended use of CMAKE_lang_STANDARD_LIBRARIES

2011-02-23 Thread Johan Björk
Hi everyone, What is the intended use for CMAKE_lang_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

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 wrote:

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

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

Re: [cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-23 Thread Johan Björk
cool, thanks. Is there a way to get the version of the Nightly builds, or is it possible to get the patch version bumped to .5? I'd like to run this on a few of my buildservers, but I can't find a way to detect if I should disable my workaround. /Johan On Tue, Feb 22, 2011 at 10:15 PM, Brad

Re: [cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-23 Thread Brad King
On 02/23/2011 10:22 AM, Johan Björk wrote: Is there a way to get the version of the Nightly builds, or is it possible to get the patch version bumped to .5? I'd like to run this on a few of my buildservers, but I can't find a way to detect if I should disable my workaround. The version scheme

Re: [cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-23 Thread Johan Björk
Thanks, updated http://www.vtk.org/Wiki/CMake_Useful_Variables to list it. /Johan On Wed, Feb 23, 2011 at 5:17 PM, Brad King brad.k...@kitware.com wrote: On 02/23/2011 10:22 AM, Johan Björk wrote: Is there a way to get the version of the Nightly builds, or is it possible to get the patch

Re: [cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-23 Thread Brad King
On 02/23/2011 12:16 PM, Johan Björk wrote: Thanks, updated http://www.vtk.org/Wiki/CMake_Useful_Variables to list it. FYI, these are documented: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_VERSION

Re: [cmake-developers] How to deal with assembler files

2011-02-23 Thread Alexander Neundorf
On Wednesday 18 August 2010, Brad King wrote: On 08/18/2010 01:03 PM, Alexander Neundorf wrote: If the files are written that way (and built without cmake before), the developers want to have them processed with the actual compiler, because that's what they are always doing. IMO that's

[cmake-developers] [CMake 0011889]: Add GCCXML_WRAP_CPP macro to FindGCCXML module.

2011-02-23 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11889 == Reported By:Nicolas Despres Assigned To:

[Cmake-commits] CMake branch, next, updated. v2.8.4-991-g371b90d

2011-02-23 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 371b90d84d675695403727b500ab9da1d105f782 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-994-g6dbbf23

2011-02-23 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 6dbbf23a3973b076870f1f6e97a1dbe81d3fb311 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-996-g3397e54

2011-02-23 Thread Eric Noulard
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 3397e54c3c77d1b1f713e6066a47154cc8d487d7 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-998-gb831e88

2011-02-23 Thread Eric Noulard
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via b831e88b5acbf9749980a02157e1c726884c5479 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1000-g9b3a50e

2011-02-23 Thread Clinton Stimpson
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 9b3a50e84954641bbe1afc084d2169f5bb2457ed (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-93-ga9841e6

2011-02-23 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via a9841e6e9aae1f2df0e3d94031dc3816c269d4b5 (commit) from