Re: [cmake-developers] added get_git_revision and get_git_branch commands as follow-up to cm...@cmake.org

2015-10-05 Thread Pascal Bach
Hi Daniel I just wanted to let you know that I was planing to bring a git versioning script upstream soon. It is based on the following sequence of commands: https://github.com/bufferoverflow/proxyme/blob/master/CMakeLists.txt#L5 It tries to generate a version string of the following form: {git

Re: [cmake-developers] [PATCH 3/3] FindQt4: document cross compilation

2015-07-31 Thread Pascal Bach
Am 30.07.2015 um 17:20 schrieb Clinton Stimpson: > On Thursday, July 30, 2015 10:56:02 AM Brad King wrote: >> On 07/30/2015 09:29 AM, Pascal Bach wrote: >>> CMAKE_FIND_ROOT_PATH_MODE would then need to be extended to support >>> something like NATIVE and TARGET that on

Re: [cmake-developers] [PATCH 3/3] FindQt4: document cross compilation

2015-07-30 Thread Pascal Bach
Hi again Am 30.07.2015 um 10:54 schrieb Pascal Bach: > Hi Clint, Hi Brad >> What I want to avoid is users thinking that what you are proposing overrides >> any other way of finding Qt when cross compiling. >> >> The wording you propose is "To find Qt in a cross

Re: [cmake-developers] [PATCH 3/3] FindQt4: document cross compilation

2015-07-30 Thread Pascal Bach
Hi Clint, Hi Brad > What I want to avoid is users thinking that what you are proposing overrides > any other way of finding Qt when cross compiling. > > The wording you propose is "To find Qt in a cross compile environment set the > following variables" > However there are users for which setting

Re: [cmake-developers] [PATCH 3/3] FindQt4: document cross compilation

2015-07-29 Thread Pascal Bach
Hi Clint Am 29.07.2015 um 16:47 schrieb Clinton Stimpson: > On Wednesday, July 29, 2015 04:05:41 PM Pascal Bach wrote: >> Hi Clint >> >> Am 29.07.2015 um 15:45 schrieb Clinton Stimpson: >>> Hi Pascal, >>> >>> Thanks for the patches. >>> &

Re: [cmake-developers] [PATCH 3/3] FindQt4: document cross compilation

2015-07-29 Thread Pascal Bach
to achive this I'm all ears. Pascal > > Clint > > On Wednesday, July 29, 2015 02:32:48 PM Pascal Bach wrote: >> --- >> Modules/FindQt4.cmake | 20 >> 1 file changed, 20 insertions(+) >> >> diff --git a/Modules/FindQt4.cmake b/M

[cmake-developers] [PATCH 0/3] improve FindQt4 and crosscompilation

2015-07-29 Thread Pascal Bach
This patch set tries to improve how FindQt4 works in a cross compilation environment. In this case OpenEmbedded/Yoctor, but others should benefit from this too. Pascal Bach (3): FindQt4: support OpenEmbedded Qt4 tool binary names FindQt4: improve cross compile support FindQt4: document

[cmake-developers] [PATCH 3/3] FindQt4: document cross compilation

2015-07-29 Thread Pascal Bach
--- Modules/FindQt4.cmake | 20 1 file changed, 20 insertions(+) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 9d03378..64c06e1 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -29,6 +29,26 @@ # for a particular executable, set the ``QT4_

[cmake-developers] [PATCH 2/3] FindQt4: improve cross compile support

2015-07-29 Thread Pascal Bach
Y_DIR => Path to native Qt binary directory QT_LIBRARY_DIR => Path to target Qt library directory QT_INCLUDE_DIR => Path to target Qt include directory QT_MKSPECS_DIR => Path to target Qt mkspecs directory Signed-off-by: Pascal Bach --- Modules/FindQt4.cmake | 12 ++--

[cmake-developers] [PATCH 1/3] FindQt4: support OpenEmbedded Qt4 tool binary names

2015-07-29 Thread Pascal Bach
one. This patch adds support for the OpenEmbedded specific binary names. This patch was maintained as part of OpenEmbedded. Signed-off-by: Otavio Salvador Signed-off-by: Moritz Blume Signed-off-by: Pascal Bach --- Modules/FindQt4.cmake | 10 +- 1 file changed, 5 insertions(+), 5

[cmake-developers] [PATCH] VS, WINCE: Fix entry point for Unicode builds

2014-12-02 Thread Pascal Bach
. Signed-off-by: Pascal Bach --- Source/cmVisualStudio10TargetGenerator.cxx | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index f591fc8..f969b91 100644 --- a/Source

[cmake-developers] [PATCHv3] Tests: Run Tutorial steps 1-4 as tests for Windows CE

2014-10-29 Thread Pascal Bach
--- Tests/CMakeLists.txt | 53 +- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index e1e90a1..60b50f8 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1781,6 +1781,27 @@ $

[cmake-developers] [PATCHv2] Tests: Run Tutorial steps 1-4 as tests for Windows CE

2014-10-24 Thread Pascal Bach
--- Tests/CMakeLists.txt | 46 +- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 25cc846..2ac13c2 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1781,6 +1781,20 @@ ${CMa

[cmake-developers] [PATCH] WINCE: Run Tutorial steps 1-4 as tests for Windows CE

2014-10-21 Thread Pascal Bach
--- Tests/CMakeLists.txt | 30 ++ 1 file changed, 30 insertions(+) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 25cc846..fc3359e 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1835,6 +1835,36 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=

[cmake-developers] [PATCH] VS, WINCE: Only set EntryPointSymbol for executables

2014-09-22 Thread Pascal Bach
--- Source/cmVisualStudio10TargetGenerator.cxx | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 4b5c83f..e0a32a2 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx ++

[cmake-developers] [PATCH] WINCE: Add toolchain documentation for Windows CE

2014-09-18 Thread Pascal Bach
--- Help/manual/cmake-toolchains.7.rst | 20 1 file changed, 20 insertions(+) diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst index f36a43c..095a43f 100644 --- a/Help/manual/cmake-toolchains.7.rst +++ b/Help/manual/cmake-toolchains.7.rs

[cmake-developers] [PATCH] WINCE, VS: Make the Visual Studio 10+ generator Windows CE

2014-09-12 Thread Pascal Bach
- If Windows CE is targeted set the Subsystem and EntryPointSymbol accordingly - For Windows CE 2013 (8.0) set the toolset to C800 by default --- Source/cmGlobalVisualStudio10Generator.cxx | 40 Source/cmGlobalVisualStudio10Generator.h |7 + Source/cmVisual

[cmake-developers] [PATCH] WINCE: Document the WINCE variable

2014-09-11 Thread Pascal Bach
--- Help/manual/cmake-variables.7.rst |1 + Help/variable/WINCE.rst |5 + 2 files changed, 6 insertions(+) create mode 100644 Help/variable/WINCE.rst diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index 149e4ac..b00c16e 100644 --- a/Help

[cmake-developers] [PATCH 2/3] WINCE, VS: Propagate Subsystem and Entry point to generated solution

2014-09-08 Thread Pascal Bach
The flags /SUBSYSTEM and /ENTRY are set by Windows-MSVC.cmake depending on the system. Howver these values never ended up in the resulting VS solution. This is fixed by reading the values of CMAKE_CREATE_WIN32_EXE and CMAKE_CREATE_CONSOLE_EXE and propagates theses to the resulting XML. --- Sour

[cmake-developers] [PATCH 1/3] WINCE: Document the WINCE variable

2014-09-08 Thread Pascal Bach
From: Pascal Bach --- Help/manual/cmake-variables.7.rst |1 + Help/variable/WINCE.rst |5 + 2 files changed, 6 insertions(+) create mode 100644 Help/variable/WINCE.rst diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index 149e4ac

[cmake-developers] [PATCH 3/3] VS: Pass MSVC compiler flags in upper case

2014-09-08 Thread Pascal Bach
Currently the mapping from flags to XML elements in the Visual Studio generator is case sensitive. It only handles upper case flags so we should pass them as upper case. Even better would be to make the search case insensitive. --- Modules/Platform/Windows-MSVC.cmake | 36 +

[cmake-developers] [PATCH] WINCE, VS: Allow selecting an SDK for Windows CE on Visual Studio

2014-09-04 Thread Pascal Bach
- Allow setting CMAKE_VS_WINCE_SDK to specify the SDK. - The user is warned if he uses a version different Windows CE different from 8.0 and not CMAKE_PLATFORM_TOOLSET is specified. - Docuentation for WINCE and CMAKE_VS_WINCE_SDK added. --- Help/variable/CMAKE_VS_WINCE_SDK.rst | 13 +++

[cmake-developers] [PATCH] WINCE, VS: Allow selecting an SDK for Windows CE on Visual Studio

2014-09-03 Thread Pascal Bach
Set CMAKE_VS_WINCE_SDK to specify the SDK. --- Source/cmGlobalVisualStudio10Generator.cxx | 48 Source/cmGlobalVisualStudio10Generator.h |7 Source/cmGlobalVisualStudio11Generator.cxx | 12 +++ Source/cmGlobalVisualStudio11Generator.h |2 ++ So

[cmake-developers] [PATCH] VS12: Allow specifying an installed SDK as target platform for the generator.

2014-08-28 Thread Pascal Bach
This brings the behavior of Visual Studio 2013 in line with the one of Visual Studio 2012. --- Source/cmGlobalVisualStudio12Generator.cxx | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Source/cmGlobalVisualStudio12Generator.cxx b/Source/cmGlobalVisual