[CMake] libsndfile in windows

2017-03-20 Thread aishwarya selvaraj
Hello ,
To compile my code which uses libsndfile library on windows , i used the
cross compiling on linux for windows following the instructions in this :
https://github.com/erikd/libsndfile

I have cmake_build.sh file .
I'm very new to all this , So Could anyone please guide me on what to do
next .
​I'd be really grateful .​

-- 
Regards,
Aishwarya Selvaraj
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-508-g851a5d1

2017-03-20 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  851a5d1d3a80e4c3c4812bcb8073511f98c2ccea (commit)
  from  3be5896e013492cbe1cf65c1c61822b68d9d59c4 (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
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-525-ge1b9c80

2017-03-20 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, next has been updated
  discards  f5594b1892838f1721f703e2d062652fca0791ef (commit)
  discards  c88ba48302201816b1438f0647a3577b4291ce37 (commit)
  discards  47705d78573e31d517e3a61f8109dfa7af9ca938 (commit)
  discards  84faf37444eb5882eb41b0491302a8a9b93f6b2c (commit)
  discards  1f39ec883542971bcbf6532c719e1949ebad2877 (commit)
  discards  193ea34cfd698147f6c88dd145b31a46fd9e3042 (commit)
   via  e1b9c80a725b786bce6f6e7b77a7e1bc3f9f4a10 (commit)
   via  29e425ce85f1d7441a1c803a8ad62f06dc431583 (commit)
   via  276ad8fefbd48e9c99d85aa75ff7a669a93917be (commit)
   via  f7d82c36fbd7303c459583cfdb1e0c94af30d84b (commit)
   via  ad7bb691e969368d128c404a608ce004912c3f5d (commit)
   via  c2fa61785ae4a2ef47eaeff0abb9bcc12c15227b (commit)
   via  851a5d1d3a80e4c3c4812bcb8073511f98c2ccea (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (f5594b1892838f1721f703e2d062652fca0791ef)
\
 N -- N -- N (e1b9c80a725b786bce6f6e7b77a7e1bc3f9f4a10)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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=e1b9c80a725b786bce6f6e7b77a7e1bc3f9f4a10
commit e1b9c80a725b786bce6f6e7b77a7e1bc3f9f4a10
Merge: 29e425c 2e900f1
Author: Brad King 
AuthorDate: Mon Mar 20 20:24:51 2017 +
Commit: Kitware Robot 
CommitDate: Tue Mar 21 00:01:16 2017 -0400

Stage topic 'CPackComponent-use-cmake_parse_arguments'

Topic-id: 23074
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/588


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=29e425ce85f1d7441a1c803a8ad62f06dc431583
commit 29e425ce85f1d7441a1c803a8ad62f06dc431583
Merge: 276ad8f 8214061
Author: Brad King 
AuthorDate: Mon Mar 20 20:14:45 2017 +
Commit: Kitware Robot 
CommitDate: Tue Mar 21 00:01:16 2017 -0400

Stage topic 'hdf5-root-prefer'

Topic-id: 23072
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/587


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=276ad8fefbd48e9c99d85aa75ff7a669a93917be
commit 276ad8fefbd48e9c99d85aa75ff7a669a93917be
Merge: f7d82c3 4b49c9a
Author: Brad King 
AuthorDate: Mon Mar 20 19:01:37 2017 +
Commit: Kitware Robot 
CommitDate: Tue Mar 21 00:01:16 2017 -0400

Stage topic 'windows-include-order'

Topic-id: 23061
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/584


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f7d82c36fbd7303c459583cfdb1e0c94af30d84b
commit f7d82c36fbd7303c459583cfdb1e0c94af30d84b
Merge: ad7bb69 6bd28fd
Author: Brad King 
AuthorDate: Mon Mar 20 18:46:57 2017 +
Commit: Kitware Robot 
CommitDate: Tue Mar 21 00:01:16 2017 -0400

Stage topic 'ml/FindBoost-1.64.0-beta'

Topic-id: 23111
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/590


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ad7bb691e969368d128c404a608ce004912c3f5d
commit ad7bb691e969368d128c404a608ce004912c3f5d
Merge: c2fa617 e115396
Author: Brad King 
AuthorDate: Mon Mar 20 18:39:00 2017 +
Commit: Kitware Robot 
CommitDate: Tue Mar 21 00:01:15 2017 -0400

Stage topic 'wip.ipo.module'

Topic-id: 22904
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/558


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c2fa61785ae4a2ef47eaeff0abb9bcc12c15227b
commit c2fa61785ae4a2ef47eaeff0abb9bcc12c15227b
Merge: 851a5d1 063b339
Author: Brad King 
AuthorDate: Mon Mar 20 18:32:06 2017 +
Commit: Kitware Robot 
CommitDate: Tue Mar 21 00:01:15 2017 -0400

Stage topic 'module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS'

Topic-id: 23029
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/581


---

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


hooks/post-receive
-- 
CMake

[Cmake-commits] CMake branch, nightly-master, updated. v3.8.0-rc2-507-g3be5896

2017-03-20 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, nightly-master has been updated
   via  3be5896e013492cbe1cf65c1c61822b68d9d59c4 (commit)
   via  04a11f16ba2c83c118e1efe86f9994765353b3ff (commit)
   via  09f85c98c0f52a8f58cde0ffc3949316e4c874a2 (commit)
   via  01bdc2cc43def6797e40037859cb72981c7342b8 (commit)
   via  e145cfe2e9d4afac060754097dee0b9439d470d7 (commit)
   via  f89678f60948241355959fedc2d6239db1bedcd6 (commit)
   via  e22dbdb7df8b50b2e274e0bf3519edb81f99f2d1 (commit)
   via  a5931b61e9dc8d8c6324f50837ef16aa1683ba0a (commit)
   via  9eb05b48cd8e19988e5a579996598802e2bacdea (commit)
   via  850eb734f558442310521418dc2cd2ee6a161142 (commit)
   via  af1354d6c14097f9ec9dda25460e9228fa592fbc (commit)
   via  379cf11b3073caeb97727b17db48766624290caa (commit)
   via  0b668e52a91b7f03f312c691e5b1c54a371d0316 (commit)
   via  2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7 (commit)
   via  7eb1f5b7aca1500e68a8be7ba158ed616a8595df (commit)
   via  598400a3e7148c75f83e1adf995cd6c1a3857d58 (commit)
  from  baba0a435a9f715c3f3e399b8284f25e558a5bad (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:
 Help/manual/cmake-properties.7.rst |3 +
 Help/prop_gbl/AUTOGEN_SOURCE_GROUP.rst |   15 
 Help/prop_gbl/AUTOGEN_TARGETS_FOLDER.rst   |4 +-
 Help/prop_gbl/AUTOMOC_SOURCE_GROUP.rst |7 ++
 Help/prop_gbl/AUTORCC_SOURCE_GROUP.rst |7 ++
 Help/prop_tgt/AUTOMOC.rst  |3 +
 Help/prop_tgt/AUTORCC.rst  |3 +
 Help/release/dev/Autogen_source_group.rst  |8 +++
 Modules/CPackRPM.cmake |   15 
 Modules/CSharpUtilities.cmake  |   32 +
 Modules/GenerateExportHeader.cmake |8 +--
 Modules/Platform/CYGWIN.cmake  |   10 +++
 Modules/Platform/SunOS.cmake   |5 ++
 Modules/Platform/UnixPaths.cmake   |   31 +++--
 Source/CMakeVersion.cmake  |2 +-
 Source/cmQtAutoGeneratorCommon.h   |7 ++
 Source/cmQtAutoGeneratorInitializer.cxx|   73 ++--
 Tests/RunCMake/CPack/RunCMakeTest.cmake|1 +
 .../ExpectedFiles.cmake|   10 +--
 .../tests/EXTRA_SLASH_IN_PATH/VerifyResult.cmake   |7 ++
 .../{DEBUGINFO => EXTRA_SLASH_IN_PATH}/test.cmake  |9 ++-
 Tests/RunCMake/GenerateExportHeader/GEH.cmake  |2 +-
 22 files changed, 208 insertions(+), 54 deletions(-)
 create mode 100644 Help/prop_gbl/AUTOGEN_SOURCE_GROUP.rst
 create mode 100644 Help/prop_gbl/AUTOMOC_SOURCE_GROUP.rst
 create mode 100644 Help/prop_gbl/AUTORCC_SOURCE_GROUP.rst
 create mode 100644 Help/release/dev/Autogen_source_group.rst
 copy Tests/RunCMake/CPack/tests/{DEBUGINFO => 
EXTRA_SLASH_IN_PATH}/ExpectedFiles.cmake (60%)
 create mode 100644 
Tests/RunCMake/CPack/tests/EXTRA_SLASH_IN_PATH/VerifyResult.cmake
 copy Tests/RunCMake/CPack/tests/{DEBUGINFO => EXTRA_SLASH_IN_PATH}/test.cmake 
(74%)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, nightly, updated. v3.8.0-rc2-524-gf5594b1

2017-03-20 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, nightly has been updated
  discards  b7d2d374017f940a7f66611d027ff2175c2c91a5 (commit)
  discards  6a839be65977e295f58030b58b6f942473400f56 (commit)
  discards  ec8e62fd7e8b10860a57d2526cbc8039e171c8e0 (commit)
  discards  038bd5e0b5e389c4325f3a0feec9dcc7a0c58c9c (commit)
  discards  7c14ff1217bdc368b988bdd6d8ee4280349c175b (commit)
   via  f5594b1892838f1721f703e2d062652fca0791ef (commit)
   via  c88ba48302201816b1438f0647a3577b4291ce37 (commit)
   via  47705d78573e31d517e3a61f8109dfa7af9ca938 (commit)
   via  84faf37444eb5882eb41b0491302a8a9b93f6b2c (commit)
   via  6bd28fd235f75d150b1a4849c5b134f5e2766764 (commit)
   via  1f39ec883542971bcbf6532c719e1949ebad2877 (commit)
   via  193ea34cfd698147f6c88dd145b31a46fd9e3042 (commit)
   via  3be5896e013492cbe1cf65c1c61822b68d9d59c4 (commit)
   via  04a11f16ba2c83c118e1efe86f9994765353b3ff (commit)
   via  09f85c98c0f52a8f58cde0ffc3949316e4c874a2 (commit)
   via  01bdc2cc43def6797e40037859cb72981c7342b8 (commit)
   via  e145cfe2e9d4afac060754097dee0b9439d470d7 (commit)
   via  f89678f60948241355959fedc2d6239db1bedcd6 (commit)
   via  e22dbdb7df8b50b2e274e0bf3519edb81f99f2d1 (commit)
   via  a5931b61e9dc8d8c6324f50837ef16aa1683ba0a (commit)
   via  2e900f1ec56b82b08fcd1a847a3c7317ebad2e2f (commit)
   via  8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f (commit)
   via  4b49c9a245db870ab2359495083a6839be3ed9df (commit)
   via  063b339b6ff5eef34919f4deec8bd2d94041d75e (commit)
   via  9f4f53071aa048b3bb4f03b772de079d3dff9dab (commit)
   via  c97e0650ee2f477add5a725d30019f386235746f (commit)
   via  de7dd7a9113d55c8acb0614cd9ec213581391fd9 (commit)
   via  e115396c973013a8d04701fc5351c453a5286678 (commit)
   via  fdb2ba2521998397d97d466b10a8ac2458363625 (commit)
   via  4f90e7931487195b5d540fbaa5dad1c90b26cee1 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (b7d2d374017f940a7f66611d027ff2175c2c91a5)
\
 N -- N -- N (f5594b1892838f1721f703e2d062652fca0791ef)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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:
 Help/manual/cmake-modules.7.rst|1 +
 Help/module/CheckIPOSupported.rst  |1 +
 Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst   |7 +
 ...togen_source_group => Autogen_source_group.rst} |0
 Help/release/dev/CheckIPOSupported.rst |6 +
 .../module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS.rst  |8 +
 Modules/CPackComponent.cmake   |   50 +
 Modules/CSharpUtilities.cmake  |   32 +--
 Modules/CheckIPOSupported.cmake|  215 
 Modules/CheckIPOSupported/CMakeLists-C.txt.in  |8 +
 Modules/CheckIPOSupported/CMakeLists-CXX.txt.in|8 +
 Modules/CheckIPOSupported/foo.c|4 +
 Modules/CheckIPOSupported/foo.cpp  |4 +
 Modules/CheckIPOSupported/main.c   |6 +
 Modules/CheckIPOSupported/main.cpp |6 +
 Modules/FindBoost.cmake|6 +-
 Modules/FindHDF5.cmake |2 +-
 Modules/Platform/Linux-Intel.cmake |5 +
 Source/CMakeVersion.cmake  |2 +-
 Source/bindexplib.cxx  |   48 +++--
 Source/bindexplib.h|1 +
 Source/cmExportCommand.cxx |1 -
 Source/cmFindPackageCommand.cxx|1 -
 Source/cmGeneratorTarget.cxx   |   11 +-
 Source/cmGeneratorTarget.h |2 +
 Source/cmGlobalGenerator.cxx   |   15 +-
 Source/cmGlobalVisualStudio7Generator.cxx  |3 +-
 Source/cmGlobalVisualStudioGenerator.cxx   |   76 +++
 Source/cmLocalVisualStudio7Generator.cxx   |4 +-
 Source/cmMakefileTargetGenerator.cxx   |   37 ++--
 Source/cmNinjaNormalTargetGenerator.cxx|   20 +-
 Source/cmNinjaTargetGenerator.cxx  |   12 +-
 

Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Gregor Jasny via CMake
On 3/20/17 12:09 PM, Sergey Zakharchenko wrote:
> Rolf,
> 
> 2017-03-20 14:06 GMT+03:00 Rolf Eike Beer :
>> https://gitlab.kitware.com/cmake/cmake/issues/14335
> 
> Since the issue is marked "easy" and it's over 3 years old, I assume
> nobody cares? OK then.

https://gitlab.kitware.com/cmake/cmake/merge_requests/594


-- 

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:
http://public.kitware.com/mailman/listinfo/cmake


[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-524-gf5594b1

2017-03-20 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, next has been updated
   via  f5594b1892838f1721f703e2d062652fca0791ef (commit)
   via  2e900f1ec56b82b08fcd1a847a3c7317ebad2e2f (commit)
  from  c88ba48302201816b1438f0647a3577b4291ce37 (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=f5594b1892838f1721f703e2d062652fca0791ef
commit f5594b1892838f1721f703e2d062652fca0791ef
Merge: c88ba48 2e900f1
Author: Brad King 
AuthorDate: Mon Mar 20 20:24:51 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 16:24:53 2017 -0400

Stage topic 'CPackComponent-use-cmake_parse_arguments'

Topic-id: 23074
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/588


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2e900f1ec56b82b08fcd1a847a3c7317ebad2e2f
commit 2e900f1ec56b82b08fcd1a847a3c7317ebad2e2f
Author: Daniel Pfeifer 
AuthorDate: Wed Mar 15 18:10:33 2017 +0100
Commit: Daniel Pfeifer 
CommitDate: Wed Mar 15 18:10:33 2017 +0100

CPackComponent: use cmake_parse_arguments

diff --git a/Modules/CPackComponent.cmake b/Modules/CPackComponent.cmake
index 395a268..2adc9b9 100644
--- a/Modules/CPackComponent.cmake
+++ b/Modules/CPackComponent.cmake
@@ -303,38 +303,6 @@
 if(NOT CPackComponent_CMake_INCLUDED)
 set(CPackComponent_CMake_INCLUDED 1)
 
-# Argument-parsing macro from https://cmake.org/Wiki/CMakeMacroParseArguments
-macro(cpack_parse_arguments prefix arg_names option_names)
-  set(${prefix}_DEFAULT_ARGS)
-  foreach(arg_name ${arg_names})
-set(${prefix}_${arg_name})
-  endforeach()
-  foreach(option ${option_names})
-set(${prefix}_${option} FALSE)
-  endforeach()
-
-  set(current_arg_name DEFAULT_ARGS)
-  set(current_arg_list)
-  foreach(arg ${ARGN})
-set(larg_names ${arg_names})
-list(FIND larg_names "${arg}" is_arg_name)
-if (is_arg_name GREATER -1)
-  set(${prefix}_${current_arg_name} ${current_arg_list})
-  set(current_arg_name ${arg})
-  set(current_arg_list)
-else ()
-  set(loption_names ${option_names})
-  list(FIND loption_names "${arg}" is_option)
-  if (is_option GREATER -1)
-set(${prefix}_${arg} TRUE)
-  else ()
-set(current_arg_list ${current_arg_list} ${arg})
-  endif ()
-endif ()
-  endforeach()
-  set(${prefix}_${current_arg_name} ${current_arg_list})
-endmacro()
-
 # Macro that appends a SET command for the given variable name (var)
 # to the macro named strvar, but only if the variable named "var"
 # has been defined. The string will eventually be appended to a CPack
@@ -392,9 +360,10 @@ endmacro()
 # Macro that adds a component to the CPack installer
 macro(cpack_add_component compname)
   string(TOUPPER ${compname} _CPACK_ADDCOMP_UNAME)
-  cpack_parse_arguments(CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}
-"DISPLAY_NAME;DESCRIPTION;GROUP;DEPENDS;INSTALL_TYPES;ARCHIVE_FILE;PLIST"
+  cmake_parse_arguments(CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}
 "HIDDEN;REQUIRED;DISABLED;DOWNLOADED"
+"DISPLAY_NAME;DESCRIPTION;GROUP;ARCHIVE_FILE;PLIST"
+"DEPENDS;INSTALL_TYPES"
 ${ARGN}
 )
 
@@ -464,9 +433,10 @@ endmacro()
 # Macro that adds a component group to the CPack installer
 macro(cpack_add_component_group grpname)
   string(TOUPPER ${grpname} _CPACK_ADDGRP_UNAME)
-  cpack_parse_arguments(CPACK_COMPONENT_GROUP_${_CPACK_ADDGRP_UNAME}
-"DISPLAY_NAME;DESCRIPTION;PARENT_GROUP"
+  cmake_parse_arguments(CPACK_COMPONENT_GROUP_${_CPACK_ADDGRP_UNAME}
 "EXPANDED;BOLD_TITLE"
+"DISPLAY_NAME;DESCRIPTION;PARENT_GROUP"
+""
 ${ARGN}
 )
 
@@ -498,7 +468,8 @@ endmacro()
 # Macro that adds an installation type to the CPack installer
 macro(cpack_add_install_type insttype)
   string(TOUPPER ${insttype} _CPACK_INSTTYPE_UNAME)
-  cpack_parse_arguments(CPACK_INSTALL_TYPE_${_CPACK_INSTTYPE_UNAME}
+  cmake_parse_arguments(CPACK_INSTALL_TYPE_${_CPACK_INSTTYPE_UNAME}
+""
 "DISPLAY_NAME"
 ""
 ${ARGN}
@@ -521,9 +492,10 @@ macro(cpack_add_install_type insttype)
 endmacro()
 
 macro(cpack_configure_downloads site)
-  cpack_parse_arguments(CPACK_DOWNLOAD
-"UPLOAD_DIRECTORY"
+  cmake_parse_arguments(CPACK_DOWNLOAD
 "ALL;ADD_REMOVE;NO_ADD_REMOVE"
+"UPLOAD_DIRECTORY"
+""
 ${ARGN}
 )
 

---

Summary of changes:
 Modules/CPackComponent.cmake |   50 ++
 1 file changed, 11 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
CMake

Re: [CMake] Is it possible to patch a make project with CMakeLists.txt, through external_project_add?

2017-03-20 Thread Micha Hergarden
Hello Mike,

The externalproject_add command has an option that might do what you want:
https://cmake.org/cmake/help/v3.8/module/ExternalProject.html

See:

|PATCH_COMMAND ...|
Command to patch downloaded source

Regards,
Micha



On 15-03-17 07:51, mike lojkovic wrote:
> So, I'm trying to get my project to work on Windows, as well as Linux.
> Currently, everything compiles fine on Linux. I've gotten it to
> compile in the past on Windows, but since then have reinstalled
> Windows, and forgotten the precise steps needed to manually setup Lua,
> so CMake can find it. So, I assume just add Lua to my project with
> ExternalProject_Add, but they use make and the makefil is configured
> for Linux.
>
> The two options I have are either patch their makefile to build
> correctly through cygwin, (I'm just worried this might lead to issues
> with producing a binary requiring cygwin) or add a CMakeLists.txt file
> and patch it in after the download ends. How would I go about adding
> custom CMakeLists.txt file to their project after the download
> finishes?



signature.asc
Description: OpenPGP digital signature
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-522-gc88ba48

2017-03-20 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, next has been updated
   via  c88ba48302201816b1438f0647a3577b4291ce37 (commit)
   via  8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f (commit)
  from  47705d78573e31d517e3a61f8109dfa7af9ca938 (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=c88ba48302201816b1438f0647a3577b4291ce37
commit c88ba48302201816b1438f0647a3577b4291ce37
Merge: 47705d7 8214061
Author: Brad King 
AuthorDate: Mon Mar 20 20:14:45 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 16:14:48 2017 -0400

Stage topic 'hdf5-root-prefer'

Topic-id: 23072
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/587


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f
commit 8214061d1aa52d3bc5a3d0f218b1db8d8e8d743f
Author: Ben Boeckel 
AuthorDate: Wed Mar 15 12:54:19 2017 -0400
Commit: Ben Boeckel 
CommitDate: Wed Mar 15 12:54:19 2017 -0400

FindHDF5: fix quoting

diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 36cd335..24a356c 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -520,7 +520,7 @@ if(NOT HDF5_FOUND)
 
   foreach(L IN LISTS HDF5_${__lang}_LIBRARY_NAMES)
 set(_HDF5_SEARCH_NAMES_LOCAL)
-if(x"${L}" MATCHES "hdf5")
+if("x${L}" MATCHES "hdf5")
   # hdf5 library
   set(_HDF5_SEARCH_OPTS_LOCAL ${_HDF5_SEARCH_OPTS})
   if(UNIX AND HDF5_USE_STATIC_LIBRARIES)

---

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


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-520-g47705d7

2017-03-20 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, next has been updated
   via  47705d78573e31d517e3a61f8109dfa7af9ca938 (commit)
   via  4b49c9a245db870ab2359495083a6839be3ed9df (commit)
  from  84faf37444eb5882eb41b0491302a8a9b93f6b2c (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=47705d78573e31d517e3a61f8109dfa7af9ca938
commit 47705d78573e31d517e3a61f8109dfa7af9ca938
Merge: 84faf37 4b49c9a
Author: Brad King 
AuthorDate: Mon Mar 20 19:01:37 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 15:01:40 2017 -0400

Stage topic 'windows-include-order'

Topic-id: 23061
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/584


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4b49c9a245db870ab2359495083a6839be3ed9df
commit 4b49c9a245db870ab2359495083a6839be3ed9df
Author: Daniel Pfeifer 
AuthorDate: Mon Mar 6 17:52:56 2017 +0100
Commit: Daniel Pfeifer 
CommitDate: Tue Mar 14 22:40:11 2017 +0100

fix include order of windows.h

Comments that indicate a special include order is necessary because
GetCurrentDirectory might get redefined are outdated.  Remove those
outdated comments and use the normal ordering of includes.

diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 8102276..09c01e9 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -279,7 +279,6 @@ bool 
cmExportCommand::HandlePackage(std::vector const& args)
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #include 
 
-#undef GetCurrentDirectory
 void cmExportCommand::ReportRegistryError(std::string const& msg,
   std::string const& key, long err)
 {
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 4b29837..fe4cc54 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -1173,7 +1173,6 @@ void cmFindPackageCommand::FillPrefixesSystemRegistry()
 
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #include 
-#undef GetCurrentDirectory
 // http://msdn.microsoft.com/en-us/library/aa384253%28v=vs.85%29.aspx
 #if !defined(KEY_WOW64_32KEY)
 #define KEY_WOW64_32KEY 0x0200
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1f5e624..0d53bf7 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1,12 +1,5 @@
 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
file Copyright.txt or https://cmake.org/licensing for details.  */
-#if defined(_WIN32) && !defined(__CYGWIN__)
-#include "windows.h" // this must be first to define GetCurrentDirectory
-#if defined(_MSC_VER) && _MSC_VER >= 1800
-#define KWSYS_WINDOWS_DEPRECATED_GetVersionEx
-#endif
-#endif
-
 #include "cmGlobalGenerator.h"
 
 #include 
@@ -19,6 +12,10 @@
 #include 
 #include 
 
+#if defined(_WIN32) && !defined(__CYGWIN__)
+#include 
+#endif
+
 #include "cmAlgorithms.h"
 #include "cmCPackPropertiesGenerator.h"
 #include "cmComputeTargetDepends.h"
@@ -51,6 +48,10 @@
 #include 
 #endif
 
+#if defined(_MSC_VER) && _MSC_VER >= 1800
+#define KWSYS_WINDOWS_DEPRECATED_GetVersionEx
+#endif
+
 const std::string kCMAKE_PLATFORM_INFO_INITIALIZED =
   "CMAKE_PLATFORM_INFO_INITIALIZED";
 
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx 
b/Source/cmGlobalVisualStudio7Generator.cxx
index 65a0bde..e7fb203 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -1,7 +1,5 @@
 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
file Copyright.txt or https://cmake.org/licensing for details.  */
-#include "windows.h" // this must be first to define GetCurrentDirectory
-
 #include "cmGlobalVisualStudio7Generator.h"
 
 #include "cmGeneratedFileStream.h"
@@ -14,6 +12,7 @@
 #include 
 
 #include 
+#include 
 
 static cmVS7FlagTable cmVS7ExtraFlagTable[] = {
   // Precompiled header and related options.  Note that the
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx 
b/Source/cmGlobalVisualStudioGenerator.cxx
index a073426..81d9765 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -5,6 +5,7 @@
 
 #include 
 #include 
+#include 
 
 #include "cmAlgorithms.h"
 #include "cmCallVisualStudioMacro.h"
@@ -441,8 +442,6 @@ std::string 
cmGlobalVisualStudioGenerator::GetStartupProjectName(
   return this->GetAllTargetName();
 }
 
-#include 
-
 bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
   

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-513-g193ea34

2017-03-20 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, next has been updated
   via  193ea34cfd698147f6c88dd145b31a46fd9e3042 (commit)
   via  3be5896e013492cbe1cf65c1c61822b68d9d59c4 (commit)
   via  04a11f16ba2c83c118e1efe86f9994765353b3ff (commit)
   via  063b339b6ff5eef34919f4deec8bd2d94041d75e (commit)
   via  9f4f53071aa048b3bb4f03b772de079d3dff9dab (commit)
   via  c97e0650ee2f477add5a725d30019f386235746f (commit)
   via  de7dd7a9113d55c8acb0614cd9ec213581391fd9 (commit)
   via  4f90e7931487195b5d540fbaa5dad1c90b26cee1 (commit)
  from  09f85c98c0f52a8f58cde0ffc3949316e4c874a2 (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=193ea34cfd698147f6c88dd145b31a46fd9e3042
commit 193ea34cfd698147f6c88dd145b31a46fd9e3042
Merge: 3be5896 063b339
Author: Brad King 
AuthorDate: Mon Mar 20 18:32:06 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 14:32:19 2017 -0400

Stage topic 'module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS'

Topic-id: 23029
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/581


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=063b339b6ff5eef34919f4deec8bd2d94041d75e
commit 063b339b6ff5eef34919f4deec8bd2d94041d75e
Author: Brad King 
AuthorDate: Mon Mar 13 11:54:30 2017 -0400
Commit: Brad King 
CommitDate: Mon Mar 13 14:30:41 2017 -0400

Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` files

The `WINDOWS_EXPORT_ALL_SYMBOLS` target property exports all symbols
found in object files explicitly given to the linker.  However, the
linker may also find additional symbols in dependencies and copy them
into the linked binary (e.g. from `msvcrt.lib`).  Provide a way to
export an explicit list of such symbols by adding a `.def` file as a
source file.

Fixes: #16473

diff --git a/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst 
b/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst
index 06c3e6d..86711bf 100644
--- a/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst
+++ b/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst
@@ -14,6 +14,13 @@ be automatically exported and imported by callers.  This 
simplifies porting
 projects to Windows by reducing the need for explicit ``dllexport`` markup,
 even in ``C++`` classes.
 
+When this property is enabled, zero or more ``.def`` files may also be
+specified as source files of the target.  The exports named by these files
+will be merged with those detected from the object files to generate a
+single module definition file to be passed to the linker.  This can be
+used to export symbols from a ``.dll`` that are not in any of its object
+files but are added by the linker from dependencies (e.g. ``msvcrt.lib``).
+
 This property is initialized by the value of
 the :variable:`CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS` variable if it is set
 when a target is created.
diff --git a/Help/release/dev/module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS.rst 
b/Help/release/dev/module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS.rst
new file mode 100644
index 000..dfa9ef1
--- /dev/null
+++ b/Help/release/dev/module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS.rst
@@ -0,0 +1,8 @@
+module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS
+-
+
+* The :prop_tgt:`WINDOWS_EXPORT_ALL_SYMBOLS` target property may now
+  be used in combination with explicit ``.def`` files in order to
+  export all symbols from the object files within a target plus
+  an explicit list of symbols that the linker finds in dependencies
+  (e.g. ``msvcrt.lib``).
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 29698cf..e27424f 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1973,15 +1973,16 @@ cmGeneratorTarget::GetModuleDefinitionInfo(std::string 
const& config) const
 void cmGeneratorTarget::ComputeModuleDefinitionInfo(
   std::string const& config, ModuleDefinitionInfo& info) const
 {
-  std::vector sources;
-  this->GetModuleDefinitionSources(sources, config);
+  this->GetModuleDefinitionSources(info.Sources, config);
   info.WindowsExportAllSymbols =
 this->Makefile->IsOn("CMAKE_SUPPORT_WINDOWS_EXPORT_ALL_SYMBOLS") &&
 this->GetPropertyAsBool("WINDOWS_EXPORT_ALL_SYMBOLS");
-  if (info.WindowsExportAllSymbols) {
+  info.DefFileGenerated =
+info.WindowsExportAllSymbols || info.Sources.size() > 1;
+  if (info.DefFileGenerated) {
 info.DefFile = this->ObjectDirectory /* has slash */ + "exports.def";
-  } else if (!sources.empty()) {
-info.DefFile = sources.front()->GetFullPath();
+ 

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-507-g3be5896

2017-03-20 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  3be5896e013492cbe1cf65c1c61822b68d9d59c4 (commit)
   via  04a11f16ba2c83c118e1efe86f9994765353b3ff (commit)
  from  09f85c98c0f52a8f58cde0ffc3949316e4c874a2 (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/CSharpUtilities.cmake |   32 
 1 file changed, 20 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[CMake] CMake and IAR: Assembly files silently ignored

2017-03-20 Thread Lange Norbert
Hello,

I am trying to write CMakelists for a Project originally developed in IAR 
Studio, the startup code is in assembly.
Using gcc this works nicely (Linux and Windows), but when using the IAR 
Compiler the Assembly files aren`t built at all.

The files are just ignored and the executable is linked without them. The CMake 
Version is 3.7.1.

Is there a bug tracker for CMake?

I can create a small project to reproduce the issue if required.


I set the compiler with env variables, lie this:
set CC=%ProgramFiles(x86)%\IAR Systems\Embedded Workbench 8.0\arm\bin\iccarm.exe
set CXX=%CC%
set CXXFLAGS=--c++
"%ProgramFiles%\CMake\bin\cmake.exe" -G "MinGW Makefiles" Cortex


Kind regards,
Norbert Lange



Kind regards

Norbert Lange
AT-DES
ANDRITZ HYDRO GmbH
Eibesbrunnergasse 20
1120 Wien, Austria
*Phone.: +43 50805 56684
* 
* <>



#

This message and any attachments are solely for the use of the intended 
recipients. They may contain privileged and/or confidential information or 
other information protected from disclosure. If you are not an intended 
recipient, you are hereby notified that you received this email in error and 
that any review, dissemination, distribution or copying of this email and any 
attachment is strictly prohibited. If you have received this email in error, 
please contact the sender and delete the message and any attachment from your 
system.

Thank You.

#


-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Gregor Jasny via CMake

Hello,

On 20/03/2017 12:09, Sergey Zakharchenko wrote:

Rolf,

2017-03-20 14:06 GMT+03:00 Rolf Eike Beer :

https://gitlab.kitware.com/cmake/cmake/issues/14335


Since the issue is marked "easy" and it's over 3 years old, I assume
nobody cares? OK then.


I can try to fix it. I hope we don't need a new policy for that.

Thanks,
Gregor
--

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:
http://public.kitware.com/mailman/listinfo/cmake


[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-505-g09f85c9

2017-03-20 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  09f85c98c0f52a8f58cde0ffc3949316e4c874a2 (commit)
   via  01bdc2cc43def6797e40037859cb72981c7342b8 (commit)
   via  e145cfe2e9d4afac060754097dee0b9439d470d7 (commit)
   via  f89678f60948241355959fedc2d6239db1bedcd6 (commit)
   via  9eb05b48cd8e19988e5a579996598802e2bacdea (commit)
   via  850eb734f558442310521418dc2cd2ee6a161142 (commit)
   via  af1354d6c14097f9ec9dda25460e9228fa592fbc (commit)
   via  379cf11b3073caeb97727b17db48766624290caa (commit)
   via  0b668e52a91b7f03f312c691e5b1c54a371d0316 (commit)
   via  2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7 (commit)
   via  7eb1f5b7aca1500e68a8be7ba158ed616a8595df (commit)
  from  e22dbdb7df8b50b2e274e0bf3519edb81f99f2d1 (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:
 Help/manual/cmake-properties.7.rst|3 +
 Help/prop_gbl/AUTOGEN_SOURCE_GROUP.rst|   15 +
 Help/prop_gbl/AUTOGEN_TARGETS_FOLDER.rst  |4 +-
 Help/prop_gbl/AUTOMOC_SOURCE_GROUP.rst|7 +++
 Help/prop_gbl/AUTORCC_SOURCE_GROUP.rst|7 +++
 Help/prop_tgt/AUTOMOC.rst |3 +
 Help/prop_tgt/AUTORCC.rst |3 +
 Help/release/dev/Autogen_source_group.rst |8 +++
 Modules/GenerateExportHeader.cmake|8 +--
 Modules/Platform/CYGWIN.cmake |   10 
 Modules/Platform/SunOS.cmake  |5 ++
 Modules/Platform/UnixPaths.cmake  |   31 +++
 Source/cmQtAutoGeneratorCommon.h  |7 +++
 Source/cmQtAutoGeneratorInitializer.cxx   |   73 +++--
 Tests/RunCMake/GenerateExportHeader/GEH.cmake |2 +-
 15 files changed, 151 insertions(+), 35 deletions(-)
 create mode 100644 Help/prop_gbl/AUTOGEN_SOURCE_GROUP.rst
 create mode 100644 Help/prop_gbl/AUTOMOC_SOURCE_GROUP.rst
 create mode 100644 Help/prop_gbl/AUTORCC_SOURCE_GROUP.rst
 create mode 100644 Help/release/dev/Autogen_source_group.rst


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-505-g09f85c9

2017-03-20 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, next has been updated
  discards  e73c111a7d4a229da1bff81ba3f58509112392a8 (commit)
  discards  b4e8cb1ee309cd11df97c8f56884f889c1bdeaab (commit)
  discards  f18741aebb0a5f15927e5f8f449d4e4d53f4ef47 (commit)
  discards  7c14ff1217bdc368b988bdd6d8ee4280349c175b (commit)
   via  09f85c98c0f52a8f58cde0ffc3949316e4c874a2 (commit)
   via  01bdc2cc43def6797e40037859cb72981c7342b8 (commit)
   via  e145cfe2e9d4afac060754097dee0b9439d470d7 (commit)
   via  f89678f60948241355959fedc2d6239db1bedcd6 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (e73c111a7d4a229da1bff81ba3f58509112392a8)
\
 N -- N -- N (09f85c98c0f52a8f58cde0ffc3949316e4c874a2)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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:
 Help/release/dev/{Autogen_source_group => Autogen_source_group.rst} |0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Help/release/dev/{Autogen_source_group => Autogen_source_group.rst} 
(100%)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-494-ge22dbdb

2017-03-20 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  e22dbdb7df8b50b2e274e0bf3519edb81f99f2d1 (commit)
   via  598400a3e7148c75f83e1adf995cd6c1a3857d58 (commit)
  from  a5931b61e9dc8d8c6324f50837ef16aa1683ba0a (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/CPackRPM.cmake  |   15 +++
 Tests/RunCMake/CPack/RunCMakeTest.cmake |1 +
 .../ExpectedFiles.cmake |   10 +-
 .../CPack/tests/EXTRA_SLASH_IN_PATH/VerifyResult.cmake  |7 +++
 .../tests/{DEBUGINFO => EXTRA_SLASH_IN_PATH}/test.cmake |9 -
 5 files changed, 36 insertions(+), 6 deletions(-)
 copy Tests/RunCMake/CPack/tests/{DEBUGINFO => 
EXTRA_SLASH_IN_PATH}/ExpectedFiles.cmake (60%)
 create mode 100644 
Tests/RunCMake/CPack/tests/EXTRA_SLASH_IN_PATH/VerifyResult.cmake
 copy Tests/RunCMake/CPack/tests/{DEBUGINFO => EXTRA_SLASH_IN_PATH}/test.cmake 
(74%)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-505-ge73c111

2017-03-20 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, next has been updated
  discards  189e4758721508736bb6cf753c9bd0fd4ac315cd (commit)
  discards  977c7303c0426457948cb193f0dae8f08a39ac93 (commit)
  discards  61f9151b0270bc20f4a6925a929e220bd8f06a65 (commit)
  discards  f3eed6a0a5f4199e8c2a6bc00353b58a1406da92 (commit)
   via  e73c111a7d4a229da1bff81ba3f58509112392a8 (commit)
   via  b4e8cb1ee309cd11df97c8f56884f889c1bdeaab (commit)
   via  f18741aebb0a5f15927e5f8f449d4e4d53f4ef47 (commit)
   via  e22dbdb7df8b50b2e274e0bf3519edb81f99f2d1 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (189e4758721508736bb6cf753c9bd0fd4ac315cd)
\
 N -- N -- N (e73c111a7d4a229da1bff81ba3f58509112392a8)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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=e73c111a7d4a229da1bff81ba3f58509112392a8
commit e73c111a7d4a229da1bff81ba3f58509112392a8
Merge: b4e8cb1 9eb05b4
Author: Ben Boeckel 
AuthorDate: Fri Mar 17 14:30:50 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 11:38:57 2017 -0400

Stage topic 'geh-visibility-flag'

Topic-id: 17427
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/36


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b4e8cb1ee309cd11df97c8f56884f889c1bdeaab
commit b4e8cb1ee309cd11df97c8f56884f889c1bdeaab
Merge: f18741a 0b668e5
Author: Chuck Atkins 
AuthorDate: Fri Mar 17 13:11:19 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 11:38:57 2017 -0400

Stage topic 'move-platform-specific-paths'

Topic-id: 23087
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/589


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f18741aebb0a5f15927e5f8f449d4e4d53f4ef47
commit f18741aebb0a5f15927e5f8f449d4e4d53f4ef47
Merge: e22dbdb 7c14ff1
Author: Sebastian Holtermann 
AuthorDate: Thu Mar 16 10:56:17 2017 +
Commit: Kitware Robot 
CommitDate: Mon Mar 20 11:38:57 2017 -0400

Stage topic 'autogen_source_group'

Topic-id: 23067
Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/586


---

Summary of changes:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


Re: [cmake-developers] Adding a new generator for CMake

2017-03-20 Thread Brad King
On 03/17/2017 07:29 AM, Eric Noulard wrote:
> 2017-03-17 11:51 GMT+01:00 Renato Utsch:
>> No, the build system is Bazel.
> 
> I'd be interested in a Bazel generator as well.
> I may help or review it depending on my spare time.
[snip]
On 03/16/2017 09:39 PM, Renato Utsch wrote:
> Is there documentation somewhere on how to add a new generator to CMake?

Unfortunately, no.  If you look back in the list archives for when
a FastBuild generator was proposed I think there were some guidance
posts.

Before diving into the implementation please post a design here
for how the generated build files may be laid out.  One will need
to map between CMake's abstractions and Bazel's.

Thanks,
-Brad

-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [cmake-developers] find_program() not using PATH on Windows?

2017-03-20 Thread Robert Dailey
On Mon, Mar 20, 2017 at 9:20 AM, Brad King  wrote:
> On 03/20/2017 10:17 AM, Robert Dailey wrote:
>> What can I do to help you guys diagnose this problem? I could try
>> getting a reproducible script for you, but this is so dependent on
>> environment I'm not sure if it will serve as a good test case.
>
> Please build CMake from source with debugging enabled.  Then you
> can step through the search process.

I was hoping that wouldn't be your answer but looks like it's unavoidable :-)

I'm short on time since $DAYJOB keeps me pretty busy. I'll do my best
though. Thanks for the guidance.
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [cmake-developers] find_program() not using PATH on Windows?

2017-03-20 Thread Brad King
On 03/20/2017 10:17 AM, Robert Dailey wrote:
> What can I do to help you guys diagnose this problem? I could try
> getting a reproducible script for you, but this is so dependent on
> environment I'm not sure if it will serve as a good test case.

Please build CMake from source with debugging enabled.  Then you
can step through the search process.

Thanks,
-Brad

-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [cmake-developers] find_program() not using PATH on Windows?

2017-03-20 Thread Robert Dailey
On Mon, Mar 20, 2017 at 8:40 AM, Brad King  wrote:
> On 03/17/2017 05:38 PM, Robert Dailey wrote:
>> find_program(GIT_EXECUTABLE git)
>
> The steps it follows are documented here:
>
>   https://cmake.org/cmake/help/v3.8/command/find_program.html
>
> It does include PATH, so it is strange that it is not working.
> Just to be sure the environment is as expected, add
>
>   message(STATUS "PATH=$ENV{PATH}")
>
> just before the find_program call.

Here is the result:

PATH=C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Beyond Compare
4;E:\ant\bin;E:\android\sdk\tools;E:\android\sdk\platform-tools;E:\code\ziosk-scripts\device-scripts;E:\tools\ninja;E:\Ruby22\bin;E:\Python35;E:\Python35\Scripts;E:\Program
Files\CMake\bin;E:\Program Files\CMake\bin;C:\Program Files
(x86)\Notepad++;E:\Git\cmd;C:\Program Files (x86)\Windows
Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft
Emulator Manager\1.0\;C:\Program
Files\TortoiseSVN\bin;C:\Users\robert\AppData\Local\Microsoft\WindowsApps;

Notice that "E:\Git\cmd" is in the list. Trust me I've beat the hell
out of this one, I can't figure out what's going on. I even enabled
trace logs but it didn't help much.

What can I do to help you guys diagnose this problem? I could try
getting a reproducible script for you, but this is so dependent on
environment I'm not sure if it will serve as a good test case.

let me know.
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [cmake-developers] find_program() not using PATH on Windows?

2017-03-20 Thread Brad King
On 03/17/2017 05:38 PM, Robert Dailey wrote:
> find_program(GIT_EXECUTABLE git)

The steps it follows are documented here:

  https://cmake.org/cmake/help/v3.8/command/find_program.html

It does include PATH, so it is strange that it is not working.
Just to be sure the environment is as expected, add

  message(STATUS "PATH=$ENV{PATH}")

just before the find_program call.

-Brad

-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers


Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Sergey Zakharchenko
Rolf,

2017-03-20 14:06 GMT+03:00 Rolf Eike Beer :
> https://gitlab.kitware.com/cmake/cmake/issues/14335

Since the issue is marked "easy" and it's over 3 years old, I assume
nobody cares? OK then.

Best regards,

-- 
DoubleF
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake


Re: [CMake] Multiple ELSE() clauses

2017-03-20 Thread Rolf Eike Beer

Am 2017-03-20 11:57, schrieb Sergey Zakharchenko:

Hello,

I've just noticed that CMake doesn't forbid multiple ELSE() (not just
ELSEIF()) clauses, and proceeds without warnings.

IF(1)
ELSE()
ELSE()
ENDIF()

Is this expected?


https://gitlab.kitware.com/cmake/cmake/issues/14335

--
--

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:
http://public.kitware.com/mailman/listinfo/cmake


[CMake] Multiple ELSE() clauses

2017-03-20 Thread Sergey Zakharchenko
Hello,

I've just noticed that CMake doesn't forbid multiple ELSE() (not just
ELSEIF()) clauses, and proceeds without warnings.

IF(1)
ELSE()
ELSE()
ENDIF()

Is this expected?

Best regards,

-- 
DoubleF
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake