Re: [cmake-developers] [ANNOUNCE] CMake 3.5.0-rc1 now ready for testing!

2016-02-04 Thread James Johnston
logs in). Nice discussion here: http://serverfault.com/a/274609 Maybe now that CPack supports WiX, more open source projects will start to use it instead of NSIS. :) I only hope they set up the MSIs to support side-by-side installations of multiple CMake versions. I have yet to find time to s

Re: [cmake-developers] CMake daemon for user tools

2016-01-25 Thread James Johnston
> -Original Message- > From: Milian Wolff [mailto:m...@milianw.de] > Sent: Saturday, January 23, 2016 15:41 > To: cmake-developers@cmake.org > Cc: James Johnston > Subject: Re: [cmake-developers] CMake daemon for user tools > > You are aware that modern std::strin

Re: [cmake-developers] CMake daemon for user tools

2016-01-22 Thread James Johnston
vector after that. But to pick the number "10" required some profiling/measurement. The remaining use of the heap was so negligible as to not be worth improving. Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http

[Cmake-commits] CMake branch, next, updated. v3.4.1-1585-g26d765c

2015-12-03 Thread James Johnston
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=26d765cf6b6c6a08b03b8643cd7b408dc29a373b commit 26d765cf6b6c6a08b03b8643cd7b408dc29a373b Merge: 23b5ca6 7a32772 Author: James Johnston <johnstonj.pub...@codenest.com> AuthorDate: Thu Dec 3 16:39:47 2

[Cmake-commits] CMake branch, next, updated. v3.4.0-rc1-207-gecaf4ac

2015-10-08 Thread James Johnston
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ecaf4ac91fefb0c8a063ff8823137b5685b0a9b1 commit ecaf4ac91fefb0c8a063ff8823137b5685b0a9b1 Merge: b222a4c 81e01f9 Author: James Johnston <johnstonj.pub...@codenest.com> AuthorDate: Thu Oct 8 13:17:28 2015 -0400 C

Re: [cmake-developers] generator expression for path slash conversion

2015-09-24 Thread James Johnston
2 check to MSVC? Just an FYI: MSVC can still be set; it's an indicator of the *compiler* in use, not the *generator*. For example, it could be set if using cl.exe with Ninja. Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] [PATCH] [CMake 0015674]: Windows: Correctly determine Windows version

2015-09-18 Thread James Johnston
require this or what. I'm a little fuzzy on why I included it. Most of the built-in Windows accessories seem to have this in their manifests though. IIRC it's especially needed with the common controls manifest block. Best regards, James Johnston -- Powered by www.kitware.com Please ke

Re: [cmake-developers] CMake user-provided manifest files

2015-09-16 Thread James Johnston
> -Original Message- > From: Brad King [mailto:brad.k...@kitware.com] > Sent: Wednesday, September 16, 2015 20:13 > To: James Johnston; 'Gilles Khouzam' > Cc: cmake-developers@cmake.org > Subject: Re: [cmake-developers] CMake user-provided manifest files > > On 09

Re: [cmake-developers] CMake user-provided manifest files

2015-09-15 Thread James Johnston
> -Original Message- > From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] > On Behalf Of Brad King > Sent: Monday, September 14, 2015 20:16 > To: James Johnston > Cc: cmake-developers@cmake.org > Subject: Re: [cmake-developers] CMake user-provided mani

Re: [cmake-developers] [PATCH] [CMake 0015674]: Windows: Correctly determine Windows version

2015-09-11 Thread James Johnston
ice if CMake supported user-provided manifests across most/all Windows generators as first-class support, not just Visual Studio 10. Especially the make-like tools (various Makefile generators, Ninja). :) Best regards, James Johnston From: cmake-developers [

Re: [cmake-developers] [CMake] Visual Studio - Ninja Generator

2015-09-11 Thread James Johnston
or > > On 09/02/2015 03:34 PM, James Johnston wrote: > > useful if the Visual Studio generators in CMake were refactored > > somewhat > > Even without the C# motivation I think factoring out a "MSBuild" generator > infrastructure internally will be u

Re: [CMake] Visual Studio - Ninja Generator

2015-09-02 Thread James Johnston
that Ninja doesn't oversubscribe. I'm not aware of a way to make Ninja do that though. You can use pools to restrict to one link at a time, but moderate oversubscription will still happen with the concurrent cl.exe instances.) Best regards, James Johnston From: CMake [mailto:cmake-boun

Re: [CMake] Visual Studio - Ninja Generator

2015-09-02 Thread James Johnston
lement undocumented behavior of Microsoft's MSBuild targets; we just use them directly as a black box. Best regards, James Johnston From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Guillaume Dumont Sent: Monday, August 31, 2015 16:49 To: Gonzalo Cc: cmake@cmake.org Subject: Re: [CMake

Re: [cmake-developers] [CMake] Visual Studio - Ninja Generator

2015-09-02 Thread James Johnston
lement undocumented behavior of Microsoft's MSBuild targets; we just use them directly as a black box. Best regards, James Johnston From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Guillaume Dumont Sent: Monday, August 31, 2015 16:49 To: Gonzalo Cc: cm...@cmake.org Subject: Re: [CMake

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-27 Thread James Johnston
-Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Kislinskiy, Stefan Sent: Thursday, August 27, 2015 13:44 To: Brad King; CHEVRIER, Marc; David Cole Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] ExternalProject: Use

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-26 Thread James Johnston
myself am a newcomer to CMake. I think I like it though. :) Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

Re: [CMake] How to depend on external cmake projects?

2015-08-24 Thread James Johnston
-Original Message- From: rcdai...@gmail.com [mailto:rcdai...@gmail.com] On Behalf Of Robert Dailey Sent: Sunday, August 23, 2015 02:43 To: James Johnston Cc: CMake Subject: Re: [CMake] How to depend on external cmake projects? On Mon, Aug 17, 2015 at 10:17 AM, James Johnston jam

[Cmake-commits] CMake branch, next, updated. v3.3.1-2430-g50e7fa6

2015-08-24 Thread James Johnston
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=50e7fa615cfcb63b337640d353fc153a74ac1fde commit 50e7fa615cfcb63b337640d353fc153a74ac1fde Merge: a3d0518 1869eac Author: James Johnston johnstonj.pub...@codenest.com AuthorDate: Mon Aug 24 23:10:56 2015 -0400 Commit: CMake

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-20 Thread James Johnston
original method of building Boost is a bit unusual and would be better served by _Add_Step with a custom working directory - because that's the publicly documented/standard way of changing the working directory, but that is up to you. :) Best regards, James Johnston On Thu, 20 Aug 2015 14:37

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-20 Thread James Johnston
-Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Kislinskiy, Stefan Sent: Thursday, August 20, 2015 09:02 To: David Cole Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] ExternalProject: Use native paths as substitute

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-20 Thread James Johnston
-Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of David Cole via cmake-developers Sent: Thursday, August 20, 2015 21:21 To: James Johnston Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] ExternalProject: Use native

[Cmake-commits] CMake branch, next, updated. v3.3.1-2257-g788a368

2015-08-17 Thread James Johnston
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=788a368bb48a56e2ea91a9ab6aaeb717ef8c3615 commit 788a368bb48a56e2ea91a9ab6aaeb717ef8c3615 Merge: f55e338 e89ea3d Author: James Johnston johnstonj.pub...@codenest.com AuthorDate: Mon Aug 17 23:57:23 2015 -0400 Commit: CMake

Re: [CMake] How to depend on external cmake projects?

2015-08-17 Thread James Johnston
to this high-level project and the superbuild would pass the location to your project via -Dproject_DIR=location so that find_package can locate the Config file. Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http

[cmake-developers] Clarification requested on #10126 (CMake creates files with wrong permissions)

2015-08-16 Thread James Johnston
feature above to change CMake's installation?) Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each

Re: [cmake-developers] Setting up environment using ExternalProject_Add

2015-08-12 Thread James Johnston
, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org

Re: [cmake-developers] Setting up environment using ExternalProject_Add

2015-08-12 Thread James Johnston
AM, James Johnston wrote: 1. CMake creates a temporary shell script / batch file (the shell chosen based on the platform CMake compiled for - cmd.exe on Windows, sh on POSIX). I don't think CMake needs to be the one to generate this. The complexity of the file-based or command-line-based

Re: [cmake-developers] Setting up environment using ExternalProject_Add

2015-08-11 Thread James Johnston
-Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, August 11, 2015 13:35 To: James Johnston Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Setting up environment using ExternalProject_Add On 08/11/2015 12:49 AM, James Johnston wrote

[cmake-developers] Setting up environment using ExternalProject_Add

2015-08-10 Thread James Johnston
add_custom_command, (3) extend ExternalProject_Add. What do you think? Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community

[Cmake-commits] CMake branch, next, updated. v3.3.0-2109-g8618bdc

2015-08-09 Thread James Johnston
874e70b Author: James Johnston johnstonj.pub...@codenest.com AuthorDate: Sun Aug 9 13:59:02 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sun Aug 9 13:59:02 2015 -0400 Merge topic 'ninja-version-handling' into next 874e70bc Ninja: Prevent generating

[Cmake-commits] CMake branch, next, updated. v3.3.0-2103-g9b72aec

2015-08-07 Thread James Johnston
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9b72aec7b3624b6bb8e409e52a29263591856f81 commit 9b72aec7b3624b6bb8e409e52a29263591856f81 Merge: fef2009 203b20d Author: James Johnston johnstonj.pub...@codenest.com

[Cmake-commits] CMake branch, next, updated. v3.3.0-2015-g3f834d0

2015-08-06 Thread James Johnston
d035e96 Author: James Johnston johnstonj.pub...@codenest.com AuthorDate: Thu Aug 6 14:02:05 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Aug 6 14:02:05 2015 -0400 Merge topic 'fix-get-filename-component' into next d035e968 get_filename_component: Fix bug

Re: [CMake] on cmake supporting one arch per project (from CMake IR)

2015-08-06 Thread James Johnston
that is baked into the core of CMake, rather than something VS-specific hacked onto the VS generator that I feel won't interact well with anything non-VS. Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

Re: [CMake] Managed C++ / C# Projects: Location of assembly DLL

2015-08-06 Thread James Johnston
. If it's a non-project reference then you have to provide a HintPath which can be done with $TARGET_FILE for C++ references and a custom property you'll have to maintain for C# project references. 6. Don't forget to call CMake add_dependencies() as well. Best regards, James Johnston -- Powered

Re: [CMake] ninja under windows

2015-08-06 Thread James Johnston
) call Ninja bootstrapper script. 2. Run CMake from a Visual C++ command prompt when you want to use the Ninja generator because Ninja generator will just look for whatever cl.exe is in the PATH. At no point does Cygwin enter into the equation. Best regards, James Johnston -- Powered

[cmake-developers] Silencing warning about environment when using NMake / JOM

2015-08-05 Thread James Johnston
and ending with relying on an undocumented detail of CMake. Can these warnings be either eliminated entirely or suppressed via a more documented method? I could probably provide a patch but I'm not sure which direction to take with it. Best regards, James Johnston -- Powered

[cmake-developers] [PATCH] nmake/jom: Only warn about bad VS environment if compiler not found

2015-08-05 Thread James Johnston
/Local/Temp/cmake-warn-build/CMakeFiles/CMakeError.l og. Best regards, James Johnston 0001-nmake-jom-Only-warn-about-bad-VS-environment-if-comp.patch Description: Binary data -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

[cmake-developers] [PATCH] Fix bug where CACHE ignored by get_filename_component

2015-08-04 Thread James Johnston
Hi, Multiple patches attached that improve testing of the get_filename_component command and also fix a bug where get_filename_component ignores CACHE when PROGRAM_ARGS is also provided. Best regards, James Johnston 0001-get_filename_component-Tests-now-check-for-proper-CA.patch Description

[cmake-developers] [PATCH] string: State return value if string(FIND) doesn't find a match

2015-07-30 Thread James Johnston
Very minor documentation update clarifying what happens if string(FIND) doesn't find a match. I had to make a CMake test script and/or check CMake source code to find the answer. Best regards, James Johnston 0001-string-State-return-value-if-string-FIND-doesn-t-fin.patch Description: Binary

Re: [cmake-developers] malware?

2015-07-24 Thread James Johnston
search of cmake.org for code signing didn't yield much in the way of previous discussion or existing features... Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various

Re: [cmake-developers] [MODERN] CMake 3.3 vs Qt 5.5 vs MSVC2015

2015-07-23 Thread James Johnston
, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake

Re: [cmake-developers] [MODERN] CMake 3.3 vs Qt 5.5 vs MSVC2015

2015-07-23 Thread James Johnston
-Original Message- From: Nils Gladitz [mailto:nilsglad...@gmail.com] On 23.07.2015 17:24, James Johnston wrote: That sounds horrible - asking a user to manually run Windows Update. But Windows Update packages don't have to be installed ONLY by way of visiting Windows Update

[cmake-developers] [PATCH] ExternalProject: Added new USES_TERMINAL options

2015-07-06 Thread James Johnston
. Users may wish to run some steps in parallel but not others (e.g. parallelize configure but not build). Best regards, James Johnston 0001-ExternalProject-Added-new-USES_TERMINAL-options.patch Description: Binary data -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [cmake-developers] C# support?

2015-06-30 Thread James Johnston
code in VisualStudio10TargetGenerator when your CMake generator was set to Visual Studio 8/9? It sounds goofy... * And all the above projects put into one final VS2005/2008 solution file. Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [cmake-developers] C# support?

2015-06-29 Thread James Johnston
you have C# working, if you wrote the generator right. (vbc.exe instead of csc.exe, vbproj instead of csproj, .vb file instead of .cs file. Compiler switches are probably almost identical... It's also MSBuild-based and also does a combined compile+link.) Best regards, James Johnston

Re: [CMake] C# support?

2015-06-26 Thread James Johnston
feels like a bit of a hack to me. But #1 thru #3 sounds like a lot of work though... Also, C# doesn't compile to object files - does CMake currently support the concept of a language that doesn't require separate compiling/linking steps? Best regards, James Johnston -- Powered

Re: [cmake-developers] [CMake] C# support?

2015-06-26 Thread James Johnston
feels like a bit of a hack to me. But #1 thru #3 sounds like a lot of work though... Also, C# doesn't compile to object files - does CMake currently support the concept of a language that doesn't require separate compiling/linking steps? Best regards, James Johnston -- Powered

Re: [cmake-developers] [PATCH] Fixed Borland linker issue when used with Ninja generator

2015-06-18 Thread James Johnston
See updated attached patch. I've retested it to ensure the VTK 5.4.2 build I've been working with still builds correctly - and it still does. Thank you for considering it. -James -Original Message- From: Brad King [mailto:brad.k...@kitware.com] +set(CMAKE_JOB_POOL_LINK

[cmake-developers] [PATCH] Fixed Borland linker issue when used with Ninja generator

2015-06-18 Thread James Johnston
, I couldn't find a way to simply pass this as a parameter to cmake.exe - not that that would be an ideal solution anyway.) Best regards, James Johnston 0001-Work-around-Borland-linker-issue-when-used-with-Ninj.patch Description: Binary data -- Powered by www.kitware.com Please keep messages

[CMake] Ninja race condition compiling VTK with Borland bcc32 compiler

2015-06-15 Thread James Johnston
. Best regards, James Johnston -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http