Re: [cmake-developers] Fwd: Chaining custom commands in VS 2010

2012-12-05 Thread David Cole
As a workaround, you could try isolating the generating obj and combining obj commands into their own respective custom targets, and then making the target dependencies specify the ordering. That might kick the VS10 dependency analysis enough to make it work. Not ideal, but not too hard to try

Re: [cmake-developers] Fwd: List from strings (CMAKE_CXX_FLAGS and friends)

2012-12-05 Thread Brad King
On 12/04/2012 07:31 PM, James Bigler wrote: Is this a bug or is what I'm trying to do impossible? In the code set(mylist a b c) set(mystring a b c) set(mylist_from_string ${mystring}) the ${mystring} is evaluated and arguments are divided only on ';' so it results in a single

[cmake-developers] OpenBSD patches: final patch for Qt3/Qt4 related stuff

2012-12-05 Thread Amit Kulkarni
Commit message: Handle OpenBSD specific paths in Qt3/Qt4, allowing concurrent building and installation. Some common programs are renamed with suffixes of either 3 or 4. Also, allow qt3/qt4 installed under /usr/local to be searched and recognized appropriately. diff --git

Re: [cmake-developers] OpenBSD specific patches

2012-12-05 Thread Amit Kulkarni
A /usr/local/lib/qt3/bin/moc exists on my machine. I think that the OpenBSD environment (linker or libtool) takes care of it. David will confirm here. I notice all the FindQt3 patches are /usr/local. This is an example of why we need commit messages to explain the changes. From reading

Re: [cmake-developers] OpenBSD patches: final patch for Qt3/Qt4 related stuff

2012-12-05 Thread Brad King
On 12/05/2012 12:36 PM, Amit Kulkarni wrote: @@ -96,6 +97,7 @@ if (QT_MT_REQUIRED) [HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir] ENV QTDIR ${GLOB_PATHS_LIB} + /usr/local /usr/local/qt /usr/lib/qt /usr/lib/qt3 @@

Re: [cmake-developers] Fwd: List from strings (CMAKE_CXX_FLAGS and friends)

2012-12-05 Thread James Bigler
Ah, yes. That is what I needed: separate_arguments. Thanks, James On Wed, Dec 5, 2012 at 6:11 AM, Brad King brad.k...@kitware.com wrote: On 12/04/2012 07:31 PM, James Bigler wrote: Is this a bug or is what I'm trying to do impossible? In the code set(mylist a b c)

Re: [cmake-developers] Fwd: Chaining custom commands in VS 2010

2012-12-05 Thread James Bigler
I just thought of another potential work around. I tried changing the source1.obj + source2.obj - temp.obj custom command into a PRE_LINK custom command knowing that it is probably safe to always generate temp.obj even if its dependencies don't change (i.e. another object file gets compiled

Re: [CMake] error compiling 2.8.10.1 on SunOS/sparc

2012-12-05 Thread Martin Koller
On Wednesday 05 December 2012 00:11:46 Bill Hoffman wrote: On 12/4/2012 5:16 PM, Martin Koller wrote: I'm trying to compile cmake on Solaris 5.10 (uname -a: SunOS eisux111 5.10 Generic_144500-19 sun4v sparc SUNW,SPARC-Enterprise-T5120 Solaris) but I get: [ 1%] Built target

[CMake] CMAKE_MAKE_PROGRAM is not set - Win7 and Visual Studio 10

2012-12-05 Thread Benoît Thiébault
Hi everyone, I am trying to compile VTK on Windows 7 64bits with Visual Studio 10. But when I click on configure in CMake, it shows the following error message: CMake Error: CMake was unable to find a build program corresponding to Visual Studio 10 Win64. CMAKE_MAKE_PROGRAM is not set. You

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
On Tue, Dec 4, 2012 at 11:28 AM, Stephen Kelly steve...@gmail.com wrote: Hi there, I'm attempting to write a unit test for the Qt 5 ActiveQt module: https://codereview.qt-project.org/#change,41554 The problem is that I don't have any prior experience with ActiveQt, and in particular

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Stephen Kelly
Pau Garcia i Quiles wrote: On Tue, Dec 4, 2012 at 11:28 AM, Stephen Kelly steve...@gmail.com wrote: Hi there, I'm attempting to write a unit test for the Qt 5 ActiveQt module: https://codereview.qt-project.org/#change,41554 The problem is that I don't have any prior experience with

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
On Wed, Dec 5, 2012 at 4:32 PM, Stephen Kelly steve...@gmail.com wrote: I think a few new macros (CMake, not CPack) are needed to generate the IDL, then compile it to the type library (.tlb), then combine it with the executable. Amb maybe even one that combines those three in one, which

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Stephen Kelly
Pau Garcia i Quiles wrote: I would say most people are not using ActiveQt and CMake together, plain and simple. For the very few who do, they are probably only using the Qt application as a client (i. e. load an ActiveX component), not to write servers. Aha, and the implication is that in

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Stephen Kelly
Pau Garcia i Quiles wrote: On Wed, Dec 5, 2012 at 5:00 PM, Stephen Kelly steve...@gmail.com wrote: Pau Garcia i Quiles wrote: I would say most people are not using ActiveQt and CMake together, plain and simple. For the very few who do, they are probably only using the Qt

[CMake] linking static library.

2012-12-05 Thread Łukasz Tasz
Hi all, I have a problem with making static library. There is behaviour which is not clear for me. I have long list of objects to be linked. For shared library linking is done as one g++ command, For static sources are grouped into few groups and there is sequence of: ar cr libnanme obj_list1 ar

[CMake] Global flags for creating static libraries

2012-12-05 Thread Evan Pipho
I am looking for a way to set global flags for the librarian when creating static libraries, similar to CMAKE_SHARED_LINKER_FLAGS or CMAKE_EXE_LINKER_FLAGS. This would facilitate things like using 3rd party libraries that already use cmake without having to modify their CMakeLists.txt to set

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-260-g00dc0ce

2012-12-05 Thread David Cole
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 00dc0ce592285ed990ef9a8e747f1dcde2830866 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-264-g4df341b

2012-12-05 Thread David Cole
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 4df341b0410d016f4f36d5ea92f36c8c7028a696 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-266-ga4e0bba

2012-12-05 Thread David Cole
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 a4e0bba98770094050cad5cf337eae4246ce0f40 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-270-gd208d14

2012-12-05 Thread David Cole
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 d208d1494f7d9a3895981dfd90fa61239a8c6cea (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-272-gba6e826

2012-12-05 Thread David Cole
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 ba6e8264fed13d53447593f96c01fc0d7fc5db4d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-274-g7b910c0

2012-12-05 Thread David Cole
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 7b910c00667ee8233000dd4ef682eab21acd86b5 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-276-g41fe73a

2012-12-05 Thread David Cole
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 41fe73a6bffa5fd15d5ed50dfeb16c259dd5fcea (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-282-g799befa

2012-12-05 Thread David Cole
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 799befa21535c828e22b2fce3c472ea2f1eabd3c (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-287-g2bb2745

2012-12-05 Thread David Cole
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 2bb2745fa8c260d12aca33d2e1fd26a92d3bfa6b (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1219-gc55f05e

2012-12-05 Thread David Cole
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 c55f05ec40436df86688119727b26bf4b742ad13 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1222-g6534e05

2012-12-05 Thread David Cole
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 6534e05030001fc1e9ac625bd310dc70a8ae (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1224-gade68f4

2012-12-05 Thread David Cole
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 ade68f4d99eea77080106c1aa472e3ded12039dd (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1226-g0816bb1

2012-12-05 Thread David Cole
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 0816bb1b49993140a3ba22a34b8cf64f119a14f4 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-288-g8521a9e

2012-12-05 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index a97bf61..5c77993 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 10) -set(CMake_VERSION_TWEAK 20121205