[cmake-developers] [CMake 0012332]: CMake fails to find Qt 4

2011-07-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12332 == Reported By:spineless Assigned To:

[cmake-developers] [CMake 0012333]: try_compile documentation fix

2011-07-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12333 == Reported By:Stephen Kelly Assigned To:

[cmake-developers] [CMake 0012334]: Doc bug: if(WIN32) in Cygwin

2011-07-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12334 == Reported By:Pau Garcia i Quiles Assigned To:

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Andreas Naumann
You could use file(GLOB_RECURSE files *.h) or install the main directory with install(DIRECTORY ... ) and exclude every non-header file (and possibly svn..) Andreas Am 12.07.2011 05:04, schrieb Laszlo Papp: Hi, I have just realized this snippet in my CMakeLists.txt file: install(FILES

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Laszlo Papp
Hi, On Tue, Jul 12, 2011 at 9:03 AM, Andreas Naumann andreas-naum...@gmx.net wrote: You could use file(GLOB_RECURSE files *.h) The problem is a bit slightly different. It is not a problem for me to find the files on my own. :) The problem is that I would like to install foo/bar.h into the

Re: [CMake] Addition to FindGit

2011-07-12 Thread Thomas Petazzoni
Hello, Le Sun, 05 Jun 2011 11:02:00 +0200, Quintus sutn...@gmx.net a écrit : I'm working on a git-versioned project that I'd like to display it's version number for development versions like this: 1.2.3-dev (commit abc1234 on devel, 12/4/10) For similar need I did something like :

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Eric Noulard
2011/7/12 Laszlo Papp lp...@kde.org: Hi, I have just realized this snippet in my CMakeLists.txt file: install(FILES    atticamanager.h    authentication.h    DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib    COMPONENT Devel ) install(FILES    archive/archive.h    DESTINATION

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Laszlo Papp
Hi, Not sure whether if it's better than your current solution. May be it's a little less painless to write. Would it make sense to add an option to these install sections so that it grabs the files as they are (with subfolders, if any), if you set that option or something like that ? That

Re: [CMake] Addition to FindGit

2011-07-12 Thread Eric Noulard
2011/7/12 Thomas Petazzoni thomas.petazz...@free-electrons.com: Hello, Le Sun, 05 Jun 2011 11:02:00 +0200, Quintus sutn...@gmx.net a écrit : I'm working on a git-versioned project that I'd like to display it's version number for development versions like this: 1.2.3-dev (commit abc1234 on

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Eric Noulard
2011/7/12 Laszlo Papp lp...@kde.org: Hi, Not sure whether if it's better than your current solution. May be it's a little less painless to write. Would it make sense to add an option to these install sections so that it grabs the files as they are (with subfolders, if any), if you set that

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Laszlo Papp
Hi Eric, Honestly I do not see any benefit in this, but may be I did not understand what you meant? Here is an example then: Original version: install(FILES atticamanager.h authentication.h DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib COMPONENT Devel ) install(FILES

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Eric Noulard
2011/7/12 Laszlo Papp lp...@kde.org: Here is what I would advise (of course by setting some option if you want two have it also the original way): install(FILES   atticamanager.h   authentication.h   archive/archive.h   models/commentitemsmodel.h   models/gameitemsmodel.h  

[CMake] How to remove NOMINMAX from Visual Studio projects in CMake

2011-07-12 Thread 火灵
Hi everyone, I use CMake in Visual Studio 2008. When I generate MFC projects, in the Preprocessor Definitions there is an option NOMINMAX. Anyone knows how to remove it use CMake? Thank you! Best Regards Shuiling___ Powered by www.kitware.com

[CMake] Avoid Qt's circular inclusion warnings

2011-07-12 Thread NoRulez
Hi, in my App I use lupdate/lrelease to generate language plugins. However due the bug in lupdate which generates “circular inclusion of …” warnings, the dash board (CDash) has error’s and not warnings. I don’t know why there are errors and not warnings. Is there a way to disable/ignore

Re: [CMake] Avoid Qt's circular inclusion warnings

2011-07-12 Thread Rolf Eike Beer
Hi, in my App I use lupdate/lrelease to generate language plugins. However due the bug in lupdate which generates circular inclusion of ... warnings, the dash board (CDash) has error's and not warnings. I don't know why there are errors and not warnings. Is there a way to disable/ignore

Re: [CMake] Addition to FindGit

2011-07-12 Thread Michael Hertling
On 07/12/2011 09:35 AM, Eric Noulard wrote: 2011/7/12 Thomas Petazzoni thomas.petazz...@free-electrons.com: Hello, Le Sun, 05 Jun 2011 11:02:00 +0200, Quintus sutn...@gmx.net a écrit : I'm working on a git-versioned project that I'd like to display it's version number for development

Re: [CMake] Avoid Qt's circular inclusion warnings

2011-07-12 Thread NoRulez
So, here is what I did, I think I do something wrong: In the main CMakeLists.txt file at the end of the file I have: ## Create a CTestCustom.cmake file FILE(WRITE ${CMAKE_BINARY_DIR}/CTestCustom.cmake SET(CTEST_CUSTOM_WARNING_EXCEPTION \${CTEST_CUSTOM_WARNING_EXCEPTION}

Re: [CMake] Addition to FindGit

2011-07-12 Thread Eric Noulard
2011/7/12 Michael Hertling mhertl...@online.de: On 07/12/2011 09:35 AM, Eric Noulard wrote: 2011/7/12 Thomas Petazzoni thomas.petazz...@free-electrons.com: Hello, Le Sun, 05 Jun 2011 11:02:00 +0200, Quintus sutn...@gmx.net a écrit : I'm working on a git-versioned project that I'd like to

[CMake] cmake on MS Windows with GNU make ignores number of jobs

2011-07-12 Thread Florian Reinhard
Hi! Problem: * GNU make doesn't make use of number of jobs (-j) Setup: * windows 7 x64 * cmake 2.8.4 * GNU make 3.81 (gnuwin32) * custom toolchain (Texas Instruments cl6x) I tried the following generators: * MinGW Makefiles * Unix Makefiles Does parallel compiling not work in general or is

Re: [CMake] Wiki: version compatibility matrix

2011-07-12 Thread Alexander Neundorf
Hi, On Saturday 04 December 2010, Johannes Zarl wrote: Hello, The compatibility matrix for different versions of cmake is now complete and awaits review: http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix Apart from factual errors and things I might have missed, I am also

Re: [CMake] $ expressions in include_directories command

2011-07-12 Thread Jean-Christophe Fillion-Robin
Hi Daniel, This sounds like a great feature :), do you think you could also associate a test with your changes ? Out of curiosity, why *the right set of include directories is unknown until all components have been processed* ? If it resumes not to be the case, I believe using a CMakeCache

[CMake] Can I determine what a target is in a macro?

2011-07-12 Thread Stephen Kelly
Hi, I'd like to be able to write a macro like this: macro(my_macro SOME_TARGET) if (isStaticLibraryTarget(${SOME_TARGET}) message(FATAL This macro can only be used with shared libraries) endif() endmacro() add_library(libshared SHARED shared.cpp) my_macro(libshared) # Works

Re: [CMake] Can I determine what a target is in a macro?

2011-07-12 Thread David Cole
The target property TYPE tells you what the type of the library is: http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:TYPE Use: get_property(type TARGET ${SOME_TARGET} PROPERTY TYPE) message(type='${type}') to retrieve the value of the TYPE property.

Re: [CMake] How to remove NOMINMAX from Visual Studio projects in CMake

2011-07-12 Thread Yuri Timenkov
Look through your CMakeLists where it is defined. AFAIK CMake doesn't add it if you don't ask. Then, there are options: if it is added via add_definitions() then you can use remove_definitions to remove this macro for single project. If it is passed via COMPILE_FLAGS - then you have to adjust them

Re: [CMake] Adding a Visual Studio 10 specific flag

2011-07-12 Thread Yuri Timenkov
These flags used by CMake internally to properly handle dependencies (as I can tell from source code). LinkLibraryDependencies is turned on when your target depends on target added wihth include_external_msproject. As for UseLibraryDependencyInputs - you can't set this flag with CMake. On Mon,

[Cmake-commits] CMake branch, next, updated. v2.8.4-1872-ge9e38ac

2011-07-12 Thread Bill Hoffman
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 e9e38acbb3f7b7e062aaee2a8a46ac488fd32cdc (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-632-g3734068

2011-07-12 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 37340687a4d779320d7778cb62fdfd384fa32f9a (commit) from