[Cmake-commits] CMake branch, master, updated. v3.11.0-rc2-105-gcc87b1f

2018-02-27 Thread Kitware Robot
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  cc87b1f0d7c0c20baec921b75c5662553bfdbff0 (commit)
  from  4da456c7fee39e366aa707871fad84fbbd0a723e (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=cc87b1f0d7c0c20baec921b75c5662553bfdbff0
commit cc87b1f0d7c0c20baec921b75c5662553bfdbff0
Author: Kitware Robot <kwro...@kitware.com>
AuthorDate: Wed Feb 28 00:01:10 2018 -0500
Commit: Kitware Robot <kwro...@kitware.com>
CommitDate: Wed Feb 28 00:01:10 2018 -0500

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 2ce7e03..307b65d 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 11)
-set(CMake_VERSION_PATCH 20180227)
+set(CMake_VERSION_PATCH 20180228)
 #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] reminder: free VTK, ParaView and CMake training at Kitware New York in two weeks.

2018-02-27 Thread David E DeMarle
Read all about it in this blog post:
https://blog.kitware.com/events/march2018-free-vtk-paraview-and-cmake-training-courses-kitware

There are a few  seats available in case you can make it up to visit us.
https://goo.gl/forms/M3WmJcV9W6qKTK8x2

Thanks and hope to see you here.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
-- 

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] Configuration issues on AIX

2018-02-27 Thread Jakob Reschke
Hello,

In search for a new build tool for an existing project, I wanted to
give CMake 3.6.3 a try on AIX 5.3 with gcc 4.0.0, but quickly hit
obstacles with the GCC compiler identification and the file(STRINGS)
command. What I am looking for is guidance on how to solve the issues,
and for info whether I might miss some prerequisites, or whether there
are any workarounds I could temporarily put in place to get a first
build going.

Given this simple CMakeLists.txt:

cmake_minimum_required(VERSION 3.6)
project(foo LANGUAGES C)
add_executable(hello main.c)
# where main.c is just a printf hello world program

It does not recognize the compiler identification:

<
$ (mkdir -p build && cd build && cmake ..)
-- The C compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
CMake Error at /opt/freeware/share/cmake/Modules/CMakeTestCCompiler.cmake:47
(try_compile):
  Unknown extension ".c" for file

/home/.../build/CMakeFiles/CMakeTmp/testCCompiler.c

  try_compile() works only for enabled languages.  Currently these are:

C

  See project() command to enable other languages.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /opt/freeware/share/cmake/Modules/CMakeTestCCompiler.cmake:61
(message):
  The C compiler "/usr/bin/gcc" is not able to compile a simple test program.

  It fails with the following output:





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
See also "/home/.../build/CMakeFiles/CMakeOutput.log".
See also "/home/.../build/CMakeFiles/CMakeError.log".
>



I got hold of the try_compile output and it contains the following info:

$ strings -a a.out | grep INFO
INFO:compiler[GNU]
INFO:platform[AIX]
INFO:arch[]
INFO:dialect_default[90]
INFO:compiler_version[0004..]

Yet, the CMakeError.log states: The C compiler identification could
not be found in "/home/.../build/CMakeFiles/3.6.3/CompilerIdC/a.out"

I followed this up to the file(STRING ...) command in
CMakeDetermineCompilerId.cmake and noticed that the command seems
unable to grep any strings out of any file:

file(STRINGS CMakeLists.txt strs)
message("strs: ${strs}")
file(STRINGS a.out strs) # copied the CompilerIdC/a.out file to
the source tree
message("strs: ${strs}")

Output is
strs:
strs:

So not even the CMakeLists.txt contained any strings according to
this. Reading the file with file(READ CMakeLists.txt strs) worked,
however. On my windows machine with CMake 3.6.2 it works as expected
with the same input files (copied from the AIX machine).

Meanwhile I tried to specify the compiler identification manually with
cmake -DCMAKE_C_COMPILER_ID=GNU, but the output is about the same,
including the "Unknown extension .c for file testCCompiler.c" message.
The CMakeError.log now only contains "Determining if the C compiler
works failed with the following output: [nothing]".

Any hints? Tell if you need any specific additional information, please.

Kind regards,
Jakob

-- 

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] [ANNOUNCE] CMake 3.11.0-rc2 is now ready for testing

2018-02-27 Thread Robert Maynard
I am proud to announce the second CMake 3.11 release candidate.
  https://cmake.org/download/

Documentation is available at:
  https://cmake.org/cmake/help/v3.11

Release notes appear below and are also published at
  https://cmake.org/cmake/help/v3.11/release/3.11.html

Some of the more significant changes in CMake 3.11 are:

* The Makefile Generators and the "Ninja" generator learned to add
  compiler launcher tools along with the compiler for the "Fortran"
  language ("C", "CXX", and "CUDA" were supported previously). See the
  "CMAKE__COMPILER_LAUNCHER" variable and
  "_COMPILER_LAUNCHER" target property for details.

* Visual Studio Generators learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS",
  "INCLUDE_DIRECTORIES", "COMPILE_OPTIONS", and "file(GENERATE)".  See
  generator expression documentation for caveats.

* The "Xcode" Generator learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS" and
  "INCLUDE_DIRECTORIES".  It previously supported only
  "COMPILE_OPTIONS" and "file(GENERATE)". See generator expression
  documentation for caveats.

* "add_library()" and "add_executable()" commands can now be called
  without any sources and will not complain as long as sources are
  added later via the "target_sources()" command.

* The "target_compile_definitions()" command learned to set the
  "INTERFACE_COMPILE_DEFINITIONS" property on Imported Targets.

* The "target_compile_features()" command learned to set the
  "INTERFACE_COMPILE_FEATURES" property on Imported Targets.

* The "target_compile_options()" command learned to set the
  "INTERFACE_COMPILE_OPTIONS" property on Imported Targets.

* The "target_include_directories()" command learned to set the
  "INTERFACE_INCLUDE_DIRECTORIES" property on Imported Targets.

* The "target_sources()" command learned to set the
  "INTERFACE_SOURCES" property on Imported Targets.

* The "target_link_libraries()" command learned to set the
  "INTERFACE_LINK_LIBRARIES" property on Imported Targets.

* The "COMPILE_DEFINITIONS" source file property learned to support
  "generator expressions".

* A "COMPILE_OPTIONS" source file property was added to manage list
  of options to pass to the compiler.

* When using "AUTOMOC" or "AUTOUIC", CMake now starts multiple
  parallel "moc" or "uic" processes to reduce the build time. A new
  "CMAKE_AUTOGEN_PARALLEL" variable and "AUTOGEN_PARALLEL" target
  property may be set to specify the number of parallel "moc" or "uic"
  processes to start.  The default is derived from the number of CPUs
  on the host.


CMake 3.11 Release Notes


Changes made since CMake 3.10 include the following.


New Features



Platforms
-

* TI C/C++ compilers are now supported by the "Ninja" generator.


Generators
--

* The "CodeBlocks" extra generator learned to check a
  "CMAKE_CODEBLOCKS_COMPILER_ID" variable for a custom compiler
  identification value to place in the project file.

* The Makefile Generators and the "Ninja" generator learned to add
  compiler launcher tools along with the compiler for the "Fortran"
  language ("C", "CXX", and "CUDA" were supported previously). See the
  "CMAKE__COMPILER_LAUNCHER" variable and
  "_COMPILER_LAUNCHER" target property for details.

* Visual Studio Generators learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS",
  "INCLUDE_DIRECTORIES", "COMPILE_OPTIONS", and "file(GENERATE)".  See
  generator expression documentation for caveats.

* The "Xcode" generator learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS" and
  "INCLUDE_DIRECTORIES".  It previously supported only
  "COMPILE_OPTIONS" and "file(GENERATE)". See generator expression
  documentation for caveats.


Commands


* "add_library()" and "add_executable()" commands can now be called
  without any sources and will not complain as long as sources are
  added later via the "target_sources()" command.

* The "file(DOWNLOAD)" and "file(UPLOAD)" commands gained "NETRC"
  and "NETRC_FILE" options to specify use of a ".netrc" file.

* The "target_compile_definitions()" command learned to set the
  "INTERFACE_COMPILE_DEFINITIONS" property on Imported Targets.

* The "target_compile_features()" command learned to set the
  "INTERFACE_COMPILE_FEATURES" property on Imported Targets.

* The "target_compile_options()" command learned to set the
  "INTERFACE_COMPILE_OPTIONS" property on Imported Targets.

* The "target_include_directories()" command learned to set the
  "INTERFACE_INCLUDE_DIRECTORIES" property on Imported Targets.

* The "target_sources()" command learned to set the
  "INTERFACE_SOURCES" property on Imported Targets.

* The "target_link_libraries()" command learned to set the
  "INTERFACE_LINK_LIBRARIES" property on Imported Targets.


Variables
-

* A 

[cmake-developers] [ANNOUNCE] CMake 3.11.0-rc2 is now ready for testing

2018-02-27 Thread Robert Maynard
I am proud to announce the second CMake 3.11 release candidate.
  https://cmake.org/download/

Documentation is available at:
  https://cmake.org/cmake/help/v3.11

Release notes appear below and are also published at
  https://cmake.org/cmake/help/v3.11/release/3.11.html

Some of the more significant changes in CMake 3.11 are:

* The Makefile Generators and the "Ninja" generator learned to add
  compiler launcher tools along with the compiler for the "Fortran"
  language ("C", "CXX", and "CUDA" were supported previously). See the
  "CMAKE__COMPILER_LAUNCHER" variable and
  "_COMPILER_LAUNCHER" target property for details.

* Visual Studio Generators learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS",
  "INCLUDE_DIRECTORIES", "COMPILE_OPTIONS", and "file(GENERATE)".  See
  generator expression documentation for caveats.

* The "Xcode" Generator learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS" and
  "INCLUDE_DIRECTORIES".  It previously supported only
  "COMPILE_OPTIONS" and "file(GENERATE)". See generator expression
  documentation for caveats.

* "add_library()" and "add_executable()" commands can now be called
  without any sources and will not complain as long as sources are
  added later via the "target_sources()" command.

* The "target_compile_definitions()" command learned to set the
  "INTERFACE_COMPILE_DEFINITIONS" property on Imported Targets.

* The "target_compile_features()" command learned to set the
  "INTERFACE_COMPILE_FEATURES" property on Imported Targets.

* The "target_compile_options()" command learned to set the
  "INTERFACE_COMPILE_OPTIONS" property on Imported Targets.

* The "target_include_directories()" command learned to set the
  "INTERFACE_INCLUDE_DIRECTORIES" property on Imported Targets.

* The "target_sources()" command learned to set the
  "INTERFACE_SOURCES" property on Imported Targets.

* The "target_link_libraries()" command learned to set the
  "INTERFACE_LINK_LIBRARIES" property on Imported Targets.

* The "COMPILE_DEFINITIONS" source file property learned to support
  "generator expressions".

* A "COMPILE_OPTIONS" source file property was added to manage list
  of options to pass to the compiler.

* When using "AUTOMOC" or "AUTOUIC", CMake now starts multiple
  parallel "moc" or "uic" processes to reduce the build time. A new
  "CMAKE_AUTOGEN_PARALLEL" variable and "AUTOGEN_PARALLEL" target
  property may be set to specify the number of parallel "moc" or "uic"
  processes to start.  The default is derived from the number of CPUs
  on the host.


CMake 3.11 Release Notes


Changes made since CMake 3.10 include the following.


New Features



Platforms
-

* TI C/C++ compilers are now supported by the "Ninja" generator.


Generators
--

* The "CodeBlocks" extra generator learned to check a
  "CMAKE_CODEBLOCKS_COMPILER_ID" variable for a custom compiler
  identification value to place in the project file.

* The Makefile Generators and the "Ninja" generator learned to add
  compiler launcher tools along with the compiler for the "Fortran"
  language ("C", "CXX", and "CUDA" were supported previously). See the
  "CMAKE__COMPILER_LAUNCHER" variable and
  "_COMPILER_LAUNCHER" target property for details.

* Visual Studio Generators learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS",
  "INCLUDE_DIRECTORIES", "COMPILE_OPTIONS", and "file(GENERATE)".  See
  generator expression documentation for caveats.

* The "Xcode" generator learned to support the "COMPILE_LANGUAGE"
  "generator expression" in target-wide "COMPILE_DEFINITIONS" and
  "INCLUDE_DIRECTORIES".  It previously supported only
  "COMPILE_OPTIONS" and "file(GENERATE)". See generator expression
  documentation for caveats.


Commands


* "add_library()" and "add_executable()" commands can now be called
  without any sources and will not complain as long as sources are
  added later via the "target_sources()" command.

* The "file(DOWNLOAD)" and "file(UPLOAD)" commands gained "NETRC"
  and "NETRC_FILE" options to specify use of a ".netrc" file.

* The "target_compile_definitions()" command learned to set the
  "INTERFACE_COMPILE_DEFINITIONS" property on Imported Targets.

* The "target_compile_features()" command learned to set the
  "INTERFACE_COMPILE_FEATURES" property on Imported Targets.

* The "target_compile_options()" command learned to set the
  "INTERFACE_COMPILE_OPTIONS" property on Imported Targets.

* The "target_include_directories()" command learned to set the
  "INTERFACE_INCLUDE_DIRECTORIES" property on Imported Targets.

* The "target_sources()" command learned to set the
  "INTERFACE_SOURCES" property on Imported Targets.

* The "target_link_libraries()" command learned to set the
  "INTERFACE_LINK_LIBRARIES" property on Imported Targets.


Variables
-

* A 

[CMake] Generate Visual Studio 2017 project with Basic Runtime Checks off

2018-02-27 Thread James Swift
Hi,

I'm trying to generate a VS project where Basic Runtime Checks `/RTC1`
is not set for a file in a debug build.

with this minimal example

```
project(testrtc)
add_executable(testrtc testrtc.c)
```

`cmake . -G "Visual Studio 15 2017"`

the switch `/RTC1` is set for the Debug configuration.

Is there a way to force it off?

thanks,
James
-- 

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 annotated tag, v3.11.0-rc2, created. v3.11.0-rc2

2018-02-27 Thread Kitware Robot
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 annotated tag, v3.11.0-rc2 has been created
at  bd5f76efdad9d2d96bf6a05be01856075087d94c (tag)
   tagging  ac925ec09e2dd4b373353d312e9e50b6165a66d0 (commit)
  replaces  v3.11.0-rc1
 tagged by  Brad King
on  Tue Feb 27 10:41:10 2018 -0500

- Log -
CMake 3.11.0-rc2
-BEGIN PGP SIGNATURE-

iQJKBAABCgA0FiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAlqVfBYWHGJyYWQua2lu
Z0BraXR3YXJlLmNvbQAKCRAtLO8QNJIWhHSOD/48A6ytcLHzlyVXcdQccLoHIrV0
GOeXmqdzOnA1NN0rUJVb4DBDxjObpjrmgZTwyJmL6M6Je3oYYMiVCsswDsie1lCO
RabzNrk/Tpfaz0F0lQem2pSB9jFLoTQ7Bj4ELLISRiP1++naUlPHVikyk21U63pz
CzUPoTrlp5YenZ+HQhEpfPUb3SQyzY8xfNU5xW97lkscugCwNHWstGZkFIsJfeB8
dSnqKECAdY5qDoQcmEWQRY+7KRahyHeLVFRYiPMd8Rbf9niwTOn4lUgPpSaDR4jW
rxrz7HIIHu0ftupU1R7jkIZbIHQFfGaH3xR34nyOgh8Uktgk1gchYVwJtc97wG2h
ah3Mmdo7zoLB9R/z3Zfn5STN5zjZlYy7HaAdItOrCZo+2MVLJZ606BQmDTgcaR1z
WvUo6AM1Jc3Vu71Pk3+0NFCuk7nFKmenwVEUMaHJxgqXc7uzB7VO+NYbMxDjfZTW
LpSzdDEFESpUd5pJ0C5Kb2Dio+335b9jQ8y0JkJFZGYPRa5LCxyf0o4bYfegPrsh
/jiBi/ttztTb4dFMxLB+C1Bm/eVf1Av9/kLci2uyiqWZR+eOzelIG6YZVoe3jRv5
v3zv5Fw0IVEDYFKqAgie0ALNQxOgjH/5yDkizTNWX526C0wOKhgERC6Gsmry46Tn
vioj9rLzxvqkbAqzqA==
=liAy
-END PGP SIGNATURE-

Bernhard M. Wiedemann (1):
  Tests: Fix TIMESTAMP-UnixTime test under SOURCE_DATE_EPOCH=1

Brad King (12):
  Merge branch 'help_fixup' into release-3.11
  Merge branch 'ti-depfile-flag-fix' into release-3.11
  Merge branch 'autogen-depend-filters-documentation' into release-3.11
  Tests: Make CompileFeatures C dialect check consistent with impl
  Merge branch 'test-CompileFeatures-c11-range' into release-3.11
  CMakeLib: Link to system thread libraries to support std::thread
  Merge branch 'std-thread-link' into release-3.11
  Merge branch '14297-partial-xcode-zero-check' into release-3.11
  Merge branch 'unixtimefix' into release-3.11
  Modules: Restore recently removed search path suffixes
  Merge branch 'modules-restore-path-suffixes' into release-3.11
  CMake 3.11.0-rc2

Gregor Jasny (1):
  Xcode: Generate ZERO_CHECK generator target only once

Grzegorz Dobinski (1):
  Compiler/TI: Fix depfile generation for C++

Sebastian Holtermann (2):
  Autogen: Doc: Extend AUTOGEN_TARGET_DEPENDS documentation
  Autogen: Doc: Extend AUTOMOC_DEPEND_FILTERS documentation

Shane Parris (1):
  Help: Fix command references in CMAKE_NETRC* variable documentation

---


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.11.0-rc1-122-g4da456c

2018-02-27 Thread Kitware Robot
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  4da456c7fee39e366aa707871fad84fbbd0a723e (commit)
   via  ac925ec09e2dd4b373353d312e9e50b6165a66d0 (commit)
  from  e73016bc06b58bb8a3cc1f4238c9596d8fd2703a (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=4da456c7fee39e366aa707871fad84fbbd0a723e
commit 4da456c7fee39e366aa707871fad84fbbd0a723e
Merge: e73016b ac925ec
Author: Brad King 
AuthorDate: Tue Feb 27 10:40:05 2018 -0500
Commit: Brad King 
CommitDate: Tue Feb 27 10:40:05 2018 -0500

Merge branch 'release-3.11'


---

Summary of changes:


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


[Cmake-commits] CMake branch, release, updated. v3.11.0-rc1-18-gac925ec

2018-02-27 Thread Kitware Robot
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  ac925ec09e2dd4b373353d312e9e50b6165a66d0 (commit)
  from  e708dac65f52b44b991e0358f8ffb04bad9a649b (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/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-commits] CMake branch, master, updated. v3.11.0-rc1-120-ge73016b

2018-02-27 Thread Kitware Robot
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  e73016bc06b58bb8a3cc1f4238c9596d8fd2703a (commit)
   via  0b8db75b476152829aea45a155d1b8854aa70d31 (commit)
   via  2bcccd07bdf4f382776cfb55c716cf09a785fb74 (commit)
   via  2edd5cb9e0b4d0ba84308df3d1d0cfe9345c8ae1 (commit)
   via  e708dac65f52b44b991e0358f8ffb04bad9a649b (commit)
   via  7b1c14241ddd120fbf93d206c8b3708b38556263 (commit)
   via  be9731965e9a41fc58f73b8f243e52fd38678f06 (commit)
   via  e1cd936c62cdcd8a2031e899238310a1ec12196d (commit)
   via  4964fe1e5ad74cb5b166002498e48c807e4fa7d2 (commit)
  from  464ae1bcc0f3b3264934c1f6c756e5ef919d3f2b (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=e73016bc06b58bb8a3cc1f4238c9596d8fd2703a
commit e73016bc06b58bb8a3cc1f4238c9596d8fd2703a
Merge: 0b8db75 e708dac
Author: Brad King 
AuthorDate: Tue Feb 27 09:33:52 2018 -0500
Commit: Brad King 
CommitDate: Tue Feb 27 09:33:52 2018 -0500

Merge branch 'release-3.11'


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0b8db75b476152829aea45a155d1b8854aa70d31
commit 0b8db75b476152829aea45a155d1b8854aa70d31
Merge: 2bcccd0 4964fe1
Author: Brad King 
AuthorDate: Tue Feb 27 14:27:05 2018 +
Commit: Kitware Robot 
CommitDate: Tue Feb 27 09:27:43 2018 -0500

Merge topic 'contract-plplot'

4964fe1e Tests: Update PLplot contract test repository URL

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


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2bcccd07bdf4f382776cfb55c716cf09a785fb74
commit 2bcccd07bdf4f382776cfb55c716cf09a785fb74
Merge: 2edd5cb 7b1c142
Author: Brad King 
AuthorDate: Tue Feb 27 14:25:49 2018 +
Commit: Kitware Robot 
CommitDate: Tue Feb 27 09:26:31 2018 -0500

Merge topic 'modules-restore-path-suffixes'

7b1c1424 Modules: Restore recently removed search path suffixes

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


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2edd5cb9e0b4d0ba84308df3d1d0cfe9345c8ae1
commit 2edd5cb9e0b4d0ba84308df3d1d0cfe9345c8ae1
Merge: 464ae1b e1cd936
Author: Brad King 
AuthorDate: Tue Feb 27 14:25:40 2018 +
Commit: Kitware Robot 
CommitDate: Tue Feb 27 09:25:48 2018 -0500

Merge topic 'unixtimefix'

e1cd936c Tests: Fix TIMESTAMP-UnixTime test under SOURCE_DATE_EPOCH=1

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


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4964fe1e5ad74cb5b166002498e48c807e4fa7d2
commit 4964fe1e5ad74cb5b166002498e48c807e4fa7d2
Author: Brad King 
AuthorDate: Mon Feb 26 09:33:08 2018 -0500
Commit: Brad King 
CommitDate: Mon Feb 26 09:33:56 2018 -0500

Tests: Update PLplot contract test repository URL

Use a `git://` protocol URL documented by the repository hosting
infrastructure.  After some updates to that infrastructure, the
`https://` URL with the `.git` extension no longer works reliably.

diff --git a/Tests/Contracts/PLplot/CMakeLists.txt 
b/Tests/Contracts/PLplot/CMakeLists.txt
index b87b4c3..7051d62 100644
--- a/Tests/Contracts/PLplot/CMakeLists.txt
+++ b/Tests/Contracts/PLplot/CMakeLists.txt
@@ -9,7 +9,7 @@ if(NOT PLplot_GIT_TAG)
   set(PLplot_GIT_TAG "plplot-5.13.0")
 endif()
 ExternalProject_Add(PLplot
-  GIT_REPOSITORY "https://git.code.sf.net/p/plplot/plplot.git;
+  GIT_REPOSITORY "git://git.code.sf.net/p/plplot/plplot"
   GIT_TAG "${PLplot_GIT_TAG}"
   PREFIX "${PLplot_PREFIX}"
   CMAKE_ARGS

---

Summary of changes:
 Modules/FindGDAL.cmake   |3 +++
 Modules/FindGIF.cmake|2 ++
 Modules/FindOpenThreads.cmake|3 +++
 Modules/Findosg_functions.cmake  |3 +++
 Tests/CMakeTests/String-TIMESTAMP-UnixTime.cmake |6 +++---
 Tests/CMakeTests/StringTest.cmake.in |2 +-
 Tests/Contracts/PLplot/CMakeLists.txt|2 +-
 7 files changed, 16 insertions(+), 5 deletions(-)


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


[Cmake-commits] CMake branch, release, updated. v3.11.0-rc1-17-ge708dac

2018-02-27 Thread Kitware Robot
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  e708dac65f52b44b991e0358f8ffb04bad9a649b (commit)
   via  7b1c14241ddd120fbf93d206c8b3708b38556263 (commit)
   via  be9731965e9a41fc58f73b8f243e52fd38678f06 (commit)
   via  e1cd936c62cdcd8a2031e899238310a1ec12196d (commit)
  from  72a85d9f0bbfc69c53dfd5831699d6ff46772ccd (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:
 Modules/FindGDAL.cmake   |3 +++
 Modules/FindGIF.cmake|2 ++
 Modules/FindOpenThreads.cmake|3 +++
 Modules/Findosg_functions.cmake  |3 +++
 Tests/CMakeTests/String-TIMESTAMP-UnixTime.cmake |6 +++---
 Tests/CMakeTests/StringTest.cmake.in |2 +-
 6 files changed, 15 insertions(+), 4 deletions(-)


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


Re: [CMake] Return an Error Code (or something) from a CMake Script.

2018-02-27 Thread Michael Jackson
-Original Message-
From: "Alan W. Irwin" 
Date: Monday, February 26, 2018 at 6:02 PM
To: Michael Jackson 
Cc: CMake Mail List 
Subject: Re: [CMake] Return an Error Code (or something) from a CMake Script.

On 2018-02-26 14:19-0500 Michael Jackson wrote:

> In our CMake based project I generate a *.cmake file which I call with 
the following bit of code:
>
>  add_custom_target(DREAM3D_MKDOCS_GENERATION ALL
>COMMAND "${CMAKE_COMMAND}" -P "${docsCmakeFile}"
>COMMENT "using mkdocs to generate the documentation"
>  )
>
> Inside the generated file is the following cmake command:
>
>  message(STATUS "Starting mkdocs execution. This can take a while.")
>  execute_process(COMMAND "/path/to/mkdocs" build
>OUTPUT_VARIABLE mkdocs_gen_output
>RESULT_VARIABLE mkdocs_gen_result
>ERROR_VARIABLE mkdocs_gen_error
>WORKING_DIRECTORY 
"/Users/mjackson/DREAM3D-Dev/DREAM3D-Build/Debug/Documentation/mkdocs"
>)
>  message(STATUS "mkdocs_gen_result: ${mkdocs_gen_result}")
>  message(STATUS "mkdocs_gen_error: ${mkdocs_gen_error}")
>  message(STATUS 
"**")
>  message(STATUS "mkdocs_gen_output: ${mkdocs_gen_output}")
>  message(STATUS 
"**")
>
>
> The issue that I am having is that if the mkdocs command fails, the build 
does NOT show the failure. Is there a way to have the "cmake -P" command pick 
up the fact that the cmake script failed so that the build fails or throws a 
warning/error?

Hi Mike:

I think you already have a good specific answer to your question, but
just out of curiosity could this CMake script approach be replaced by
executing "/path/to/mkdocs" as the COMMAND in a custom command where
your DREAM3D_MKDOCS_GENERATION custom target DEPENDS on the OUTPUT of
that custom command?  Or are there reasons not to implement this more
usual custom command/custom target approach in this case?

Alan
__
Alan W. Irwin

Alan,
There was a lot in that .cmake file that I left out. In order for the 
mkdocs to work all of our documentation has to be in the same folder (At least 
it makes it much easier) so during cmake time we generate the file with about 
30~40 directory copy commands in it. We could do all of that in the mail cmake 
files but our project is starting to get overwhelmed with targets which makes 
opening it up on IDE's like Visual Studio and Xcode take a long time and the 
organization within those IDEs is frightful sometimes. So we factored out 
"copy" commands into a single file.

Mike Jackson


-- 

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