[Cmake-commits] CMake branch, master, updated. v3.13.2-855-gac0b59e

2019-01-10 Thread Kitware Robot via Cmake-commits
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  ac0b59ef015b296114a97fc61ef4f9677302da03 (commit)
  from  6092a770f66bff959749170141d44188f4b6f3f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ac0b59ef015b296114a97fc61ef4f9677302da03
commit ac0b59ef015b296114a97fc61ef4f9677302da03
Author: Kitware Robot 
AuthorDate: Fri Jan 11 00:01:05 2019 -0500
Commit: Kitware Robot 
CommitDate: Fri Jan 11 00:01:05 2019 -0500

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 220040c..2c83140 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -1,5 +1,5 @@
 # CMake version number components.
 set(CMake_VERSION_MAJOR 3)
 set(CMake_VERSION_MINOR 13)
-set(CMake_VERSION_PATCH 20190110)
+set(CMake_VERSION_PATCH 20190111)
 #set(CMake_VERSION_RC 1)

---

Summary of changes:
 Source/CMakeVersion.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits


[CMake] CMake GUI "Stop" button does not halt exec_process

2019-01-10 Thread Person Withhats
Pressing "STOP" in the CMake GUI interface halts CMake itself but does not
stop any execute_process that is going on at the time. This makes it hang
until the process finishes, since no interrupt is sent..

Aggravating when you're using an exterior script (e.g. a .exe or .py) that
e.g. handles package maintenance. Would hang up for the entire duration of
~40 minutes unless you force kill that sub process.

I think force-killing CMake GUI also won't forward the kill to the
exec_process, orphaning it.>.<

Let me know any suggestions or possible fixes
-- 

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/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


Re: [CMake] After working for a well over a year my cmake has suddenly stopped working, CMake Gui now fails to configure any project with the error..

2019-01-10 Thread Bill Hoffman via CMake

It could also be this issue:

https://developercommunity.visualstudio.com/content/problem/399774/visual-studio-2019-preview-1-running-cmake-on-comm.html

Do  you have Visual Studio 2019 installed?



On 1/4/2019 1:46 PM, 2GooD Productions wrote:


Selecting Windows SDK version 10.0.17763.0 to target Windows 6.3.9600.

CMake Error at CMakeLists.txt:45 (project):
Failed to run MSBuild command:

C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe

to get the value of VCTargetsPath:

The system cannot find the file specified


Configuring incomplete, errors occurred! See also
"G:/dev/CPP/libraries/LibraryBuilds/GLEW_TEST/CMakeFiles/CMakeOutput.log".


When I try to use VS2017 to build, I get this error...

CMake Error at C:/Program Files (x86)/Microsoft Visual

Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52
(message):

  The C compiler


    "C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe"


  is not able to compile a simple test program.


  It fails with the following output:


    Change Dir:

C:/Users/2Good/CMakeBuilds/774fd661-ecad-c93e-a053-ab53694fc56d/build/x64-Debug
(default)/CMakeFiles/CMakeTmp

    Run Build Command:"C:/Program Files (x86)/Microsoft Visual

Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe"
"cmTC_5cf10"

    ninja: fatal: couldn't open nul



  CMake will not be able to correctly generate this
project.C:/Program Files (x86)/Microsoft Visual

Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake52

Yes, Im a noob, but I could really use some help, Ive been trying to 
fix this for over a week. Ive reinstalled CMake, VS2017, and MSBuild, 
added to the environment path variable the path to the compiler, but 
nothing Ive done has worked. Ive ran VS2017 as admin, Ive ran Cmake as 
admin. Can somebody please help this noob out?


-- 

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/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


Re: [CMake] After working for a well over a year my cmake has suddenly stopped working, CMake Gui now fails to configure any project with the error..

2019-01-10 Thread Bill Hoffman via CMake
In the build trees, is there any more information in 
CMakeFiles/CMakeOutput.log or CMakeFiles/CMakeError.log?


Is your VS able to build things without CMake?

-Bill


On 1/4/2019 1:46 PM, 2GooD Productions wrote:


Selecting Windows SDK version 10.0.17763.0 to target Windows 6.3.9600.

CMake Error at CMakeLists.txt:45 (project):
Failed to run MSBuild command:

C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe

to get the value of VCTargetsPath:

The system cannot find the file specified


Configuring incomplete, errors occurred! See also
"G:/dev/CPP/libraries/LibraryBuilds/GLEW_TEST/CMakeFiles/CMakeOutput.log".


When I try to use VS2017 to build, I get this error...

CMake Error at C:/Program Files (x86)/Microsoft Visual

Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52
(message):

  The C compiler


    "C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe"


  is not able to compile a simple test program.


  It fails with the following output:


    Change Dir:

C:/Users/2Good/CMakeBuilds/774fd661-ecad-c93e-a053-ab53694fc56d/build/x64-Debug
(default)/CMakeFiles/CMakeTmp

    Run Build Command:"C:/Program Files (x86)/Microsoft Visual

Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe"
"cmTC_5cf10"

    ninja: fatal: couldn't open nul



  CMake will not be able to correctly generate this
project.C:/Program Files (x86)/Microsoft Visual

Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake52

Yes, Im a noob, but I could really use some help, Ive been trying to 
fix this for over a week. Ive reinstalled CMake, VS2017, and MSBuild, 
added to the environment path variable the path to the compiler, but 
nothing Ive done has worked. Ive ran VS2017 as admin, Ive ran Cmake as 
admin. Can somebody please help this noob out?


-- 

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/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[Cmake-commits] CMake branch, release, updated. v3.13.2-7-g91fa6a4

2019-01-10 Thread Kitware Robot via Cmake-commits
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, release has been updated
   via  91fa6a472cd262014a74d765b003bb1cc9d7ab8a (commit)
   via  2ec3363ea5f5c569063a9094959cf166a54f8ce2 (commit)
   via  6d53a60f007b0a1a1c03ce5f9373eddc55f49d5a (commit)
  from  88c710ab56576fb80abd7940926c0fe461cf2469 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
---

Summary of changes:
 Source/cmake.cxx  | 15 +++
 Tests/RunCMake/CommandLine/C-no-file-stderr.txt   |  2 +-
 .../Cno-file-result.txt}  |  0
 .../{C-no-file-stderr.txt => Cno-file-stderr.txt} |  2 +-
 .../D-no-src-result.txt}  |  0
 .../{cache-no-file-stderr.txt => D-no-src-stderr.txt} |  2 +-
 .../Dno-src-result.txt}   |  0
 .../{cache-no-file-stderr.txt => Dno-src-stderr.txt}  |  2 +-
 Tests/RunCMake/CommandLine/RunCMakeTest.cmake |  5 +
 .../U-no-src-result.txt}  |  0
 .../{cache-no-file-stderr.txt => U-no-src-stderr.txt} |  2 +-
 .../Uno-src-result.txt}   |  0
 .../{cache-no-file-stderr.txt => Uno-src-stderr.txt}  |  2 +-
 13 files changed, 26 insertions(+), 6 deletions(-)
 copy Tests/RunCMake/{while/MissingArgument-result.txt => 
CommandLine/Cno-file-result.txt} (100%)
 copy Tests/RunCMake/CommandLine/{C-no-file-stderr.txt => Cno-file-stderr.txt} 
(76%)
 copy Tests/RunCMake/{while/MissingArgument-result.txt => 
CommandLine/D-no-src-result.txt} (100%)
 copy Tests/RunCMake/CommandLine/{cache-no-file-stderr.txt => 
D-no-src-stderr.txt} (68%)
 copy Tests/RunCMake/{while/MissingArgument-result.txt => 
CommandLine/Dno-src-result.txt} (100%)
 copy Tests/RunCMake/CommandLine/{cache-no-file-stderr.txt => 
Dno-src-stderr.txt} (69%)
 copy Tests/RunCMake/{while/MissingArgument-result.txt => 
CommandLine/U-no-src-result.txt} (100%)
 copy Tests/RunCMake/CommandLine/{cache-no-file-stderr.txt => 
U-no-src-stderr.txt} (68%)
 copy Tests/RunCMake/{while/MissingArgument-result.txt => 
CommandLine/Uno-src-result.txt} (100%)
 copy Tests/RunCMake/CommandLine/{cache-no-file-stderr.txt => 
Uno-src-stderr.txt} (69%)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.13.2-834-gecf3c5c

2019-01-10 Thread Kitware Robot via Cmake-commits
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  ecf3c5c6f322168e11aa37d899b076ef4abc5625 (commit)
   via  49b3ebf5f5b0500eea9f5e241c5d5024fa3a95fa (commit)
   via  db89590f364c9c95628b367914188ca6a63b8eab (commit)
   via  5bcfe98bd5215d8fc1638879c3ee92ca2c1383b8 (commit)
   via  70e245f19ec8e753784db6a1153c64e5f5eec16a (commit)
  from  f2a78aeed94e9ccf76c1268e8ed934669a08d389 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ecf3c5c6f322168e11aa37d899b076ef4abc5625
commit ecf3c5c6f322168e11aa37d899b076ef4abc5625
Merge: 49b3ebf 5bcfe98
Author: Brad King 
AuthorDate: Thu Jan 10 13:00:35 2019 +
Commit: Kitware Robot 
CommitDate: Thu Jan 10 08:00:44 2019 -0500

Merge topic 'fix-msvc-warnings'

5bcfe98bd5 Source: Fix various compiler warnings in Visual Studio 2017
70e245f19e cmAlgorithms: add utility functions to get signed size of 
containers

Acked-by: Kitware Robot 
Merge-request: !2757


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=49b3ebf5f5b0500eea9f5e241c5d5024fa3a95fa
commit 49b3ebf5f5b0500eea9f5e241c5d5024fa3a95fa
Merge: f2a78ae db89590f
Author: Brad King 
AuthorDate: Thu Jan 10 12:55:38 2019 +
Commit: Kitware Robot 
CommitDate: Thu Jan 10 07:55:46 2019 -0500

Merge topic 'better_sphinx_colors'

db89590f36 Help: CMakeTemplateStyle uses colors that better contrast.

Acked-by: Kitware Robot 
Merge-request: !2779


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=db89590f364c9c95628b367914188ca6a63b8eab
commit db89590f364c9c95628b367914188ca6a63b8eab
Author: Robert Maynard 
AuthorDate: Wed Jan 9 14:01:30 2019 -0500
Commit: Robert Maynard 
CommitDate: Wed Jan 9 15:53:26 2019 -0500

Help: CMakeTemplateStyle uses colors that better contrast.

diff --git a/Utilities/Sphinx/colors.py b/Utilities/Sphinx/colors.py
index f98a483..dae0063 100644
--- a/Utilities/Sphinx/colors.py
+++ b/Utilities/Sphinx/colors.py
@@ -14,14 +14,14 @@ class CMakeTemplateStyle(Style):
 styles = {
 Whitespace:"#bb",
 Comment:   "italic #408080",
-Operator:  "bold #00",
+Operator:  "#55",
 String:"#217A21",
 Number:"#105030",
-Name.Builtin:  "#400080",  # anything lowercase
-Name.Function: "bold #1010A0", # function
+Name.Builtin:  "#33",  # anything lowercase
+Name.Function: "#007020",  # function
 Name.Variable: "#1080B0",  # <..>
-Name.Tag:  "#19177C",  # ${..}
-Name.Constant: "#6020E0",  # uppercase only
+Name.Tag:  "#bb60d5",  # ${..}
+Name.Constant: "#4070a0",  # uppercase only
 Name.Entity:   "italic #70A020",   # @..@
 Name.Attribute:"#906060",  # paths, URLs
 Name.Label:"#A0A000",  # anything left over

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5bcfe98bd5215d8fc1638879c3ee92ca2c1383b8
commit 5bcfe98bd5215d8fc1638879c3ee92ca2c1383b8
Author: Bruno Manganelli 
AuthorDate: Mon Dec 24 12:11:26 2018 +
Commit: Brad King 
CommitDate: Wed Jan 9 08:25:10 2019 -0500

Source: Fix various compiler warnings in Visual Studio 2017

diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 065a184..1d9621c 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -407,7 +407,7 @@ char CCONV* cmExpandVariablesInString(void* arg, const 
char* source,
   cmMakefile* mf = static_cast(arg);
   std::string barf = source;
   std::string const& result =
-mf->ExpandVariablesInString(barf, escapeQuotes, atOnly);
+mf->ExpandVariablesInString(barf, escapeQuotes != 0, atOnly != 0);
   return strdup(result.c_str());
 }
 
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 594cb67..fc9c1d2 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -220,7 +220,7 @@ bool 
cmFileCommand::HandleWriteCommand(std::vector const& args,
   // Set permissions to writable
   if (cmSystemTools::GetPermissions(fileName.c_str(), mode)) {
 #if defined(_MSC_VER) || defined(__MINGW32__)
-writable = mode & S_IWRITE;
+writable = (mode & S_IWRITE) != 0;
 mode_t newMode = mode | S_IWRITE;
 #else
 writable = mode & S_IWUSR;
diff --git 

[CMake] Escaping end of line anker in regex

2019-01-10 Thread Torsten Robitzki
Hi,
I’ve stumbled over following issue:

if (NOT ^ MATCHES ^\^ )
message(FATAL_ERROR "Anker not found!")
  endif()

  if (NOT $

signature.asc
Description: Message signed with OpenPGP
-- 

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/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake