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

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