[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-567-g82db83d
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 82db83d2f143fa90c13be2a63fe0273e7e80bd09 (commit) from 9a733c7bd626f457a71632da46934995da7bbd4b (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-588-g24c959a
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 1b4bc2f130f28fc4a5c9ed8464b467380749a0b5 (commit) discards 4ea507d989fed7a3bc8fa762419f4e8b13a0ea50 (commit) discards 31004b59ed1dd444582ce5948ee151247ae3fb6c (commit) discards 606c1fcdf87b319fe10f2ad100508b16f23a4e59 (commit) discards 377cd0876d8101934496d83ab86c06cd6b2ba246 (commit) discards 872531753f5216d1b6d9682923473df33f3b8860 (commit) discards 0a9fe75a2d649463a7d17552546a532f6d8c3c80 (commit) via 24c959a2b299b0152ed8c76d8b67cb5e37976ff1 (commit) via 25da367b8a3264e4a4a0d789d748090d4c4f2e0a (commit) via 6043f9bfc3177347db49ae4c4872a5c2f3c00632 (commit) via 686ca3aa15ee2d6872edf6cc728b02ace701174e (commit) via 5e8d199f0ef4635409d05cf881df145eeb04292f (commit) via fe8f3d2c1f87a2903ee216c7747e311d23c56a7b (commit) via f02103932dfc086535716b1331238605237c5856 (commit) via 82db83d2f143fa90c13be2a63fe0273e7e80bd09 (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 (1b4bc2f130f28fc4a5c9ed8464b467380749a0b5) \ N -- N -- N (24c959a2b299b0152ed8c76d8b67cb5e37976ff1) 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=24c959a2b299b0152ed8c76d8b67cb5e37976ff1 commit 24c959a2b299b0152ed8c76d8b67cb5e37976ff1 Merge: 25da367 a2aad448 Author: Brad KingAuthorDate: Wed Mar 22 20:08:30 2017 + Commit: Kitware Robot CommitDate: Thu Mar 23 00:01:31 2017 -0400 Stage topic 'InstallRequiredSystemLibraries-refactor' Topic-id: 23190 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/612 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=25da367b8a3264e4a4a0d789d748090d4c4f2e0a commit 25da367b8a3264e4a4a0d789d748090d4c4f2e0a Merge: 6043f9b 8285ad5 Author: Brad King AuthorDate: Wed Mar 22 16:37:14 2017 + Commit: Kitware Robot CommitDate: Thu Mar 23 00:01:31 2017 -0400 Stage topic 'fix/16736' Topic-id: 23186 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/611 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6043f9bfc3177347db49ae4c4872a5c2f3c00632 commit 6043f9bfc3177347db49ae4c4872a5c2f3c00632 Merge: 686ca3a feed8d9 Author: Brad King AuthorDate: Wed Mar 22 15:38:45 2017 + Commit: Kitware Robot CommitDate: Thu Mar 23 00:01:30 2017 -0400 Stage topic 'avoid-MSVC-per-version-vars' Topic-id: 23183 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/610 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=686ca3aa15ee2d6872edf6cc728b02ace701174e commit 686ca3aa15ee2d6872edf6cc728b02ace701174e Merge: 5e8d199 fecf846 Author: Brad King AuthorDate: Wed Mar 22 15:29:33 2017 + Commit: Kitware Robot CommitDate: Thu Mar 23 00:01:30 2017 -0400 Stage topic 'doc-prefer-MSVC_VERSION' Topic-id: 23180 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/609 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5e8d199f0ef4635409d05cf881df145eeb04292f commit 5e8d199f0ef4635409d05cf881df145eeb04292f Merge: fe8f3d2 8f207df Author: Brad King AuthorDate: Wed Mar 22 15:09:28 2017 + Commit: Kitware Robot CommitDate: Thu Mar 23 00:01:30 2017 -0400 Stage topic 'FindwxWidgets-vs-2017' Topic-id: 23178 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/608 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fe8f3d2c1f87a2903ee216c7747e311d23c56a7b commit fe8f3d2c1f87a2903ee216c7747e311d23c56a7b Merge: f021039 b379079 Author: Brad King AuthorDate: Wed Mar 22 14:05:18 2017 + Commit: Kitware Robot CommitDate: Thu Mar 23 00:01:30 2017 -0400 Stage topic 'vfproj' Topic-id: 23126 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/593 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f02103932dfc086535716b1331238605237c5856 commit f02103932dfc086535716b1331238605237c5856
[Cmake-commits] CMake branch, nightly, updated. v3.8.0-rc2-587-g1b4bc2f
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 6f5459e67de1d0f0ed40dd2abef86a295b52cd7f (commit) discards 578970f39c22e255cfc8bc16f21ddb96988dbb30 (commit) discards e6e6044808a2c6f1e6f6a1f423786bef231e840a (commit) discards e3483f9a43e8dfcc90aa3d2ccf41ea894d4a85d6 (commit) discards f3edfbdb303a2e05ba4e19b779e25aa54fc8a647 (commit) discards 92ac01490d4c2f4d857081a3cad635b5bf79c695 (commit) discards b96f5f213757e49fe22c95e113082acdff914475 (commit) discards a0de070acb18f0245bc90933ed2fe1cc4c2a04fa (commit) discards a53e172260a62c11aa285326b2e23b78ec12f36c (commit) discards 2a826e330d67889c70009170020bef661195f6da (commit) discards 93e18d8e1342f6533891c9e40ffac5542d61d2f8 (commit) via 1b4bc2f130f28fc4a5c9ed8464b467380749a0b5 (commit) via a2aad448e1b285944c3d128487da2f0df6c180b6 (commit) via 16eb58d503b55e5758aa791a0e17aed2935f9d37 (commit) via a259e8db8fa78dda5b21edab0b5a5e7ba4f725b4 (commit) via 4ea507d989fed7a3bc8fa762419f4e8b13a0ea50 (commit) via 8285ad511a92416f0e99fcda27de98435316173b (commit) via 31004b59ed1dd444582ce5948ee151247ae3fb6c (commit) via feed8d91328ee4c8416ba024a38edbab1669af3e (commit) via ded7c14b87cd230f7f2a56b98e0575c46a4d54a8 (commit) via 3a4d0c3ec7ec9f86828335cfe7a5f3f4ac17698a (commit) via 606c1fcdf87b319fe10f2ad100508b16f23a4e59 (commit) via fecf846701ca3a7de4875f5c4362bc79e21b0a4c (commit) via 712452e33088b1ba02c7dde10f56cd2add81deab (commit) via 49a60b70e700e9f0bddc4cb6986d9621423ee2d9 (commit) via 377cd0876d8101934496d83ab86c06cd6b2ba246 (commit) via 8f207df14de3b8141c37b8b34baae29ebda248b3 (commit) via 73f7d266825f1d301aece128beda9297382b (commit) via 872531753f5216d1b6d9682923473df33f3b8860 (commit) via 0a9fe75a2d649463a7d17552546a532f6d8c3c80 (commit) via 9a733c7bd626f457a71632da46934995da7bbd4b (commit) via 88d32ef095c06d9ff8044ccd782701951d03e65a (commit) via 352b195f8769c5e4c884c1f9d0ba6d747d533547 (commit) via 9b2f8a82e54538f7132d2e8903c7cc960b6864f7 (commit) via da802afd6e88d6cb4b562a816eee1f85e9ad1e8c (commit) via 72f534ca15674424e7e3974042921178d6b1c64c (commit) via 2192247e336364731cbeafcd63a92d3ec58c38d2 (commit) via 5d2f30f5acbcf572a464f6f45fafaea23c7ae75a (commit) via e24ed7ad870730304431f5cb09d90c980136639c (commit) via 6ce7e587378781931d36b17cf9e3aaf6ebc8c8fa (commit) via 5b311041f3c5b000137e6c52a9a0bba53146bc79 (commit) via ded9859c925698320cfde342651725f4a67cc3c8 (commit) via 84a96aa0a57959f8552b4329d59329be6c645a4c (commit) via 10cbb87fa3a5f81dc9dedd24580a64e062047887 (commit) via 56c39d88363b3a0518bde1569d18ef1bdbeb01e7 (commit) via 53e2ef1bb4434081bedce3742105e378452c4c38 (commit) via b5d8a6de4815ead8b342f7862cd0726b13a03a47 (commit) via 59032a38471c27c547ed76730c2643a5457e6abd (commit) via 989484d51fa78f0fc0014212148b52c90872f57e (commit) via 053317480a12464d405490502dfde75c5fc17b1f (commit) via edac95b955afdea2d129b32b029bf845dc29cb71 (commit) via e1ee7b4305bdf2b50640c4c500705bb4bbff47bf (commit) via 7ebbe4f9d853a5823ef47a13b53ef7e1f469bd2e (commit) via 564add478dd49f3c444b0f92b22991ea02da30b5 (commit) via 5fe3630677a9525428de0f5cd40d4846bd6b9113 (commit) via 849f1ec1c07826973772599a55ad1736123b7708 (commit) via 10eb329e31bf76a1abf2b9b0731a33dac8037970 (commit) via 1356ef4f8403533118ec5855b8135091243ef3e0 (commit) via 47adf51f40c488fa46b4a583d7ac43740274facc (commit) via 68115cf0ea67f9b4d75a4aa8a8dee33755807c66 (commit) via b3790796a2fbae9e0558edd6ba3b0212d33669ca (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 (6f5459e67de1d0f0ed40dd2abef86a295b52cd7f) \ N -- N -- N (1b4bc2f130f28fc4a5c9ed8464b467380749a0b5) 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/dev/review.rst | 28 +- Help/release/dev/cpack-sign-uninstaller.rst |
[Cmake-commits] CMake branch, nightly-master, updated. v3.8.0-rc2-566-g9a733c7
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 9a733c7bd626f457a71632da46934995da7bbd4b (commit) via 88d32ef095c06d9ff8044ccd782701951d03e65a (commit) via 352b195f8769c5e4c884c1f9d0ba6d747d533547 (commit) via 9b2f8a82e54538f7132d2e8903c7cc960b6864f7 (commit) via da802afd6e88d6cb4b562a816eee1f85e9ad1e8c (commit) via 72f534ca15674424e7e3974042921178d6b1c64c (commit) via 2192247e336364731cbeafcd63a92d3ec58c38d2 (commit) via 5d2f30f5acbcf572a464f6f45fafaea23c7ae75a (commit) via e24ed7ad870730304431f5cb09d90c980136639c (commit) via 6ce7e587378781931d36b17cf9e3aaf6ebc8c8fa (commit) via 5b311041f3c5b000137e6c52a9a0bba53146bc79 (commit) via ded9859c925698320cfde342651725f4a67cc3c8 (commit) via 84a96aa0a57959f8552b4329d59329be6c645a4c (commit) via 10cbb87fa3a5f81dc9dedd24580a64e062047887 (commit) via 56c39d88363b3a0518bde1569d18ef1bdbeb01e7 (commit) via 53e2ef1bb4434081bedce3742105e378452c4c38 (commit) via b5d8a6de4815ead8b342f7862cd0726b13a03a47 (commit) via 59032a38471c27c547ed76730c2643a5457e6abd (commit) via 989484d51fa78f0fc0014212148b52c90872f57e (commit) via 053317480a12464d405490502dfde75c5fc17b1f (commit) via edac95b955afdea2d129b32b029bf845dc29cb71 (commit) via 7ebbe4f9d853a5823ef47a13b53ef7e1f469bd2e (commit) via 564add478dd49f3c444b0f92b22991ea02da30b5 (commit) via 5fe3630677a9525428de0f5cd40d4846bd6b9113 (commit) via 849f1ec1c07826973772599a55ad1736123b7708 (commit) via 805706b36df2eb31f35c1142e50dac6621683cac (commit) via 2c55c143c8648869ef4042bc980b55f76a51d3a9 (commit) via 63c0ba5ff136bcca413567e2073d4a8c7702f416 (commit) via 10eb329e31bf76a1abf2b9b0731a33dac8037970 (commit) via 9753d4c27e61f1ed90061c9a65a7a30a16062405 (commit) via 2df8aa0c804038e7812b7acf47d5530d967d7ad7 (commit) via 1356ef4f8403533118ec5855b8135091243ef3e0 (commit) via 47adf51f40c488fa46b4a583d7ac43740274facc (commit) via 18009aaf5e1d8a436f251b6f70ac46bcad1ad768 (commit) via feaea0658c9cbd4345f698a22452fe3a08a194a3 (commit) via 6c8326749fccd37afd5343d926d650c87ecdfb9f (commit) via 075f6454092ae058add228eda8220a3680b2f9e4 (commit) via 21c4ec4ffe1c40382f6b435ff49eade31e1137f2 (commit) via 24361a455a2a3bd904433ec3b0107493d29d98ba (commit) via 845c482448e5b60f4934a48eea9c8c1e466f8fea (commit) via 68115cf0ea67f9b4d75a4aa8a8dee33755807c66 (commit) via 5606622e61e7f6eba74326510cea8dd0128ab2aa (commit) via fdb2ba2521998397d97d466b10a8ac2458363625 (commit) via 4f90e7931487195b5d540fbaa5dad1c90b26cee1 (commit) from dc4d6efa5a507db0a0ba9e22a3c92c6430bdbc85 (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/dev/review.rst| 28 ++- Help/manual/cmake-modules.7.rst|1 + Help/module/CheckIPOSupported.rst |1 + Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst |7 + Help/release/dev/CheckIPOSupported.rst |6 + .../module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS.rst |8 + Modules/CPackRPM.cmake | 10 +- 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/FindBLAS.cmake | 33 ++- Modules/FindBoost.cmake|2 +- Modules/FindHDF5.cmake | 11 +- Modules/FindLAPACK.cmake | 11 +- Modules/Platform/Linux-Intel.cmake |5 + Source/CMakeVersion.cmake |2 +- Source/bindexplib.cxx | 50 +++-- Source/bindexplib.h|1 + Source/cmGeneratorTarget.cxx | 11 +- Source/cmGeneratorTarget.h |2 + Source/cmGlobalVisualStudioGenerator.cxx | 73 --- Source/cmIfCommand.cxx | 20 ++ Source/cmIfCommand.h
[CMake] Include file in the Makefile
Dear all, I use PETSc in my package and I need to use the following line in my GNU Makefile: include ${PETSC_DIR}/lib/petsc/conf/variables What is the equivalent command for CMakeLists.txt for this? Thanks for your help. Thanks, HNG -- 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-587-g1b4bc2f
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 1c3e7cc20f7f92d68264e2ec15c0f1d73eb2f15d (commit) via 1b4bc2f130f28fc4a5c9ed8464b467380749a0b5 (commit) via a2aad448e1b285944c3d128487da2f0df6c180b6 (commit) via 16eb58d503b55e5758aa791a0e17aed2935f9d37 (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 (1c3e7cc20f7f92d68264e2ec15c0f1d73eb2f15d) \ N -- N -- N (1b4bc2f130f28fc4a5c9ed8464b467380749a0b5) 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=1b4bc2f130f28fc4a5c9ed8464b467380749a0b5 commit 1b4bc2f130f28fc4a5c9ed8464b467380749a0b5 Merge: 4ea507d a2aad448 Author: Brad KingAuthorDate: Wed Mar 22 20:08:30 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 16:08:33 2017 -0400 Stage topic 'InstallRequiredSystemLibraries-refactor' Topic-id: 23190 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/612 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a2aad448e1b285944c3d128487da2f0df6c180b6 commit a2aad448e1b285944c3d128487da2f0df6c180b6 Author: Brad King AuthorDate: Wed Mar 22 15:22:26 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 15:58:40 2017 -0400 InstallRequiredSystemLibraries: Drop version from variable names Each `MSVC${v}_*_DIR` variable is only ever used with one value for `${v}` within a given build tree. Drop the `${v}` version component from the variable names. diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index bded808..67dfe8f 100644 --- a/Modules/InstallRequiredSystemLibraries.cmake +++ b/Modules/InstallRequiredSystemLibraries.cmake @@ -87,35 +87,38 @@ if(MSVC) # Find the runtime library redistribution directory. get_filename_component(msvc_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir]" ABSOLUTE) -find_path(MSVC80_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest +if(DEFINED MSVC80_REDIST_DIR AND EXISTS "${MSVC80_REDIST_DIR}") + set(MSVC_REDIST_DIR "${MSVC80_REDIST_DIR}") # use old cache entry +endif() +find_path(MSVC_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest PATHS "${msvc_install_dir}/../../VC/redist" "${base_dir}/VC/redist" ) -mark_as_advanced(MSVC80_REDIST_DIR) -set(MSVC80_CRT_DIR "${MSVC80_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT") +mark_as_advanced(MSVC_REDIST_DIR) +set(MSVC_CRT_DIR "${MSVC_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT") # Install the manifest that allows DLLs to be loaded from the # directory containing the executable. if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY) set(__install__libs -"${MSVC80_CRT_DIR}/Microsoft.VC80.CRT.manifest" -"${MSVC80_CRT_DIR}/msvcm80.dll" -"${MSVC80_CRT_DIR}/msvcp80.dll" -"${MSVC80_CRT_DIR}/msvcr80.dll" +"${MSVC_CRT_DIR}/Microsoft.VC80.CRT.manifest" +"${MSVC_CRT_DIR}/msvcm80.dll" +"${MSVC_CRT_DIR}/msvcp80.dll" +"${MSVC_CRT_DIR}/msvcr80.dll" ) else() set(__install__libs) endif() if(CMAKE_INSTALL_DEBUG_LIBRARIES) - set(MSVC80_CRT_DIR - "${MSVC80_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC80.DebugCRT") + set(MSVC_CRT_DIR + "${MSVC_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC80.DebugCRT") set(__install__libs ${__install__libs} -"${MSVC80_CRT_DIR}/Microsoft.VC80.DebugCRT.manifest" -"${MSVC80_CRT_DIR}/msvcm80d.dll" -"${MSVC80_CRT_DIR}/msvcp80d.dll" -"${MSVC80_CRT_DIR}/msvcr80d.dll" +"${MSVC_CRT_DIR}/Microsoft.VC80.DebugCRT.manifest" +"${MSVC_CRT_DIR}/msvcm80d.dll" +"${MSVC_CRT_DIR}/msvcp80d.dll" +"${MSVC_CRT_DIR}/msvcr80d.dll" ) endif() endif() @@ -126,36 +129,39 @@ if(MSVC) "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0;InstallDir]" ABSOLUTE)
Re: [cmake-developers] Debugging issues with enable_language(CSHARP)
So the answer is enable_language(CSHARP) should be enable_language(CSharp). -- 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] Debugging issues with enable_language(CSHARP)
Thanks David, I'll have a look at that. Here's my CMake script ``` cmake_minimum_required(VERSION 3.8.0) project(add-in) enable_language(CSHARP) ``` On Wed, Mar 22, 2017 at 9:58 AM, David Colewrote: > Have you looked into > https://github.com/Kitware/CMake/blob/master/Modules/ > CMakeDetermineCSharpCompiler.cmake > ? > > Send steps to reproduce the problem you're seeing... Maybe somebody > else here has encountered the same thing and worked through it > already. > > > HTH, > David C. > > > > On Wed, Mar 22, 2017 at 12:33 PM, Wesley Smith > wrote: > > Hi, > > I'm trying to diagnose why enable_language(CSHARP) isn't working for me > in > > the RC candidate. I've built CMake from source and am trying to step > through > > the code, but am coming up against the fact that this is an enormous > project > > and I don't quite know where to look. > > > > The new C# support is something I want to use on an upcoming project, so > I'd > > like to help solve any issues with it > > > > Here's where I'm at: > > > > > > * I'm stepping through cmGlobalGenerator.xx in the EnableLanguage > function. > > When the only language is CSHARP, I'm erroring out where it attempts to > get > > the definition of CMAKE_SHARP_COMPILER > > > > * In CMakeErrr.log, I see: > > The CSharp compiler identification could not be found in > > "C:/Users/wes/Documents/GitHub/add-in/build_/CMakeFiles/3.8.20170317- > g45851/CompilerIdCSharp/CompilerIdCSharp.csproj" > > > > When I compile and run this project by hand, I'm seeing > > > > InfoCompiler > > "INFO:compiler[Microsoft Visual Studio]" > > InfoPlatform > > "INFO:platform[Windows]" > > InfoArchitecture > > "INFO:arch[x64]" > > InfoCompilerVersion > > "INFO:compiler_version[2017]" > > > > printed from this code: > > > > static void Main(string[] args) > > { > > // we have to print the lines to make sure > > // the compiler does not optimize them away ... > > System.Console.WriteLine(InfoCompiler); > > System.Console.WriteLine(InfoPlatform); > > System.Console.WriteLine(InfoArchitecture); > > System.Console.WriteLine(InfoCompilerVersion); > > } > > > > > > It all looks good to me. What I haven't been able to find is where the > > project is compiled and run from within CMake and the console stdout > read in > > order to verify the C# compiler settings. > > > > > > thanks, > > wes > > > > > > -- > > > > 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 > -- 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] Debugging issues with enable_language(CSHARP)
Have you looked into https://github.com/Kitware/CMake/blob/master/Modules/CMakeDetermineCSharpCompiler.cmake ? Send steps to reproduce the problem you're seeing... Maybe somebody else here has encountered the same thing and worked through it already. HTH, David C. On Wed, Mar 22, 2017 at 12:33 PM, Wesley Smithwrote: > Hi, > I'm trying to diagnose why enable_language(CSHARP) isn't working for me in > the RC candidate. I've built CMake from source and am trying to step through > the code, but am coming up against the fact that this is an enormous project > and I don't quite know where to look. > > The new C# support is something I want to use on an upcoming project, so I'd > like to help solve any issues with it > > Here's where I'm at: > > > * I'm stepping through cmGlobalGenerator.xx in the EnableLanguage function. > When the only language is CSHARP, I'm erroring out where it attempts to get > the definition of CMAKE_SHARP_COMPILER > > * In CMakeErrr.log, I see: > The CSharp compiler identification could not be found in > "C:/Users/wes/Documents/GitHub/add-in/build_/CMakeFiles/3.8.20170317-g45851/CompilerIdCSharp/CompilerIdCSharp.csproj" > > When I compile and run this project by hand, I'm seeing > > InfoCompiler > "INFO:compiler[Microsoft Visual Studio]" > InfoPlatform > "INFO:platform[Windows]" > InfoArchitecture > "INFO:arch[x64]" > InfoCompilerVersion > "INFO:compiler_version[2017]" > > printed from this code: > > static void Main(string[] args) > { > // we have to print the lines to make sure > // the compiler does not optimize them away ... > System.Console.WriteLine(InfoCompiler); > System.Console.WriteLine(InfoPlatform); > System.Console.WriteLine(InfoArchitecture); > System.Console.WriteLine(InfoCompilerVersion); > } > > > It all looks good to me. What I haven't been able to find is where the > project is compiled and run from within CMake and the console stdout read in > order to verify the C# compiler settings. > > > thanks, > wes > > > -- > > 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 -- 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
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-585-g1c3e7cc
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 1c3e7cc20f7f92d68264e2ec15c0f1d73eb2f15d (commit) via a259e8db8fa78dda5b21edab0b5a5e7ba4f725b4 (commit) from 4ea507d989fed7a3bc8fa762419f4e8b13a0ea50 (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=1c3e7cc20f7f92d68264e2ec15c0f1d73eb2f15d commit 1c3e7cc20f7f92d68264e2ec15c0f1d73eb2f15d Merge: 4ea507d a259e8d Author: Brad KingAuthorDate: Wed Mar 22 16:52:38 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 12:52:41 2017 -0400 Stage topic 'InstallRequiredSystemLibraries-MSVC_VERSION' Topic-id: 23190 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/612 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a259e8db8fa78dda5b21edab0b5a5e7ba4f725b4 commit a259e8db8fa78dda5b21edab0b5a5e7ba4f725b4 Author: Brad King AuthorDate: Wed Mar 22 12:33:56 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 12:50:10 2017 -0400 InstallRequiredSystemLibraries: Use `MSVC_VERSION` instead of `MSVC##` Issue: #16735 diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index 7975bd4..beb4195 100644 --- a/Modules/InstallRequiredSystemLibraries.cmake +++ b/Modules/InstallRequiredSystemLibraries.cmake @@ -69,21 +69,21 @@ if(MSVC) get_filename_component(devenv_dir "${CMAKE_MAKE_PROGRAM}" PATH) get_filename_component(base_dir "${devenv_dir}/../.." ABSOLUTE) - if(MSVC70) + if(MSVC_VERSION EQUAL 1300) set(__install__libs "${SYSTEMROOT}/system32/msvcp70.dll" "${SYSTEMROOT}/system32/msvcr70.dll" ) endif() - if(MSVC71) + if(MSVC_VERSION EQUAL 1310) set(__install__libs "${SYSTEMROOT}/system32/msvcp71.dll" "${SYSTEMROOT}/system32/msvcr71.dll" ) endif() - if(MSVC80) + if(MSVC_VERSION EQUAL 1400) # Find the runtime library redistribution directory. get_filename_component(msvc_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir]" ABSOLUTE) @@ -120,7 +120,7 @@ if(MSVC) endif() endif() - if(MSVC90) + if(MSVC_VERSION EQUAL 1500) # Find the runtime library redistribution directory. get_filename_component(msvc_install_dir "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0;InstallDir]" ABSOLUTE) @@ -234,36 +234,36 @@ if(MSVC) endif() endmacro() - if(MSVC10) + if(MSVC_VERSION EQUAL 1600) MSVCRT_FILES_FOR_VERSION(10) endif() - if(MSVC11) + if(MSVC_VERSION EQUAL 1700) MSVCRT_FILES_FOR_VERSION(11) endif() - if(MSVC12) + if(MSVC_VERSION EQUAL 1800) MSVCRT_FILES_FOR_VERSION(12) endif() - if(MSVC14) + if(MSVC_VERSION EQUAL 1900 OR MSVC_VERSION EQUAL 1910) MSVCRT_FILES_FOR_VERSION(14) endif() if(CMAKE_INSTALL_MFC_LIBRARIES) -if(MSVC70) +if(MSVC_VERSION EQUAL 1300) set(__install__libs ${__install__libs} "${SYSTEMROOT}/system32/mfc70.dll" ) endif() -if(MSVC71) +if(MSVC_VERSION EQUAL 1310) set(__install__libs ${__install__libs} "${SYSTEMROOT}/system32/mfc71.dll" ) endif() -if(MSVC80) +if(MSVC_VERSION EQUAL 1400) if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC80_MFC_DIR "${MSVC80_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC80.DebugMFC") @@ -307,7 +307,7 @@ if(MSVC) ) endif() -if(MSVC90) +if(MSVC_VERSION EQUAL 1500) if(CMAKE_INSTALL_DEBUG_LIBRARIES) set(MSVC90_MFC_DIR "${MSVC90_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC90.DebugMFC") @@ -403,19 +403,19 @@ if(MSVC) ) endmacro() -if(MSVC10) +if(MSVC_VERSION EQUAL 1600) MFC_FILES_FOR_VERSION(10) endif() -if(MSVC11) +if(MSVC_VERSION EQUAL 1700) MFC_FILES_FOR_VERSION(11) endif() -if(MSVC12) +if(MSVC_VERSION EQUAL 1800) MFC_FILES_FOR_VERSION(12) endif() -if(MSVC14) +if(MSVC_VERSION EQUAL 1900 OR MSVC_VERSION EQUAL 1910) MFC_FILES_FOR_VERSION(14) endif() endif() @@ -434,22 +434,22 @@ if(MSVC) endif() endmacro() -if(MSVC80) +if(MSVC_VERSION EQUAL 1400) OPENMP_FILES_FOR_VERSION(80 80) endif() -if(MSVC90) +if(MSVC_VERSION EQUAL 1500) OPENMP_FILES_FOR_VERSION(90 90) endif() -if(MSVC10) +if(MSVC_VERSION EQUAL 1600) OPENMP_FILES_FOR_VERSION(10 100) endif() -
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-583-g4ea507d
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 4ea507d989fed7a3bc8fa762419f4e8b13a0ea50 (commit) via 8285ad511a92416f0e99fcda27de98435316173b (commit) from 31004b59ed1dd444582ce5948ee151247ae3fb6c (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=4ea507d989fed7a3bc8fa762419f4e8b13a0ea50 commit 4ea507d989fed7a3bc8fa762419f4e8b13a0ea50 Merge: 31004b5 8285ad5 Author: Brad KingAuthorDate: Wed Mar 22 16:37:14 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 12:37:18 2017 -0400 Stage topic 'fix/16736' Topic-id: 23186 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/611 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8285ad511a92416f0e99fcda27de98435316173b commit 8285ad511a92416f0e99fcda27de98435316173b Author: Tobias Hunger AuthorDate: Wed Mar 22 16:52:08 2017 +0100 Commit: Tobias Hunger CommitDate: Wed Mar 22 17:31:02 2017 +0100 server-mode: Make CMAKE_HOME_DIRECTORY more reliable Make CMAKE_HOME_DIRECTORY detection work more reliably in the face of symlinks. Closes #16736 diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx index e159c8f..8317018 100644 --- a/Source/cmServerProtocol.cxx +++ b/Source/cmServerProtocol.cxx @@ -251,6 +251,27 @@ static void setErrorMessage(std::string* errorMessage, const std::string& text) } } +static bool testHomeDirectory(cmState* state, std::string& value, + std::string* errorMessage) +{ + const std::string cachedValue = +std::string(state->GetCacheEntryValue("CMAKE_HOME_DIRECTORY")); + const std::string suffix = "/CMakeLists.txt"; + const std::string cachedValueCML = cachedValue + suffix; + const std::string valueCML = value + suffix; + if (!cmSystemTools::SameFile(valueCML, cachedValueCML)) { +setErrorMessage(errorMessage, +std::string("\"CMAKE_HOME_DIRECTORY\" is set but " +"incompatible with configured " +"source directory value.")); +return false; + } + if (value.empty()) { +value = cachedValue; + } + return true; +} + static bool testValue(cmState* state, const std::string& key, std::string& value, const std::string& keyDescription, std::string* errorMessage) @@ -310,8 +331,7 @@ bool cmServerProtocol1_0::DoActivate(const cmServerRequest& request, } // check sourcedir: - if (!testValue(state, "CMAKE_HOME_DIRECTORY", sourceDirectory, - "source directory", errorMessage)) { + if (!testHomeDirectory(state, sourceDirectory, errorMessage)) { return false; } --- Summary of changes: Source/cmServerProtocol.cxx | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) 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-581-g31004b5
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 31004b59ed1dd444582ce5948ee151247ae3fb6c (commit) via feed8d91328ee4c8416ba024a38edbab1669af3e (commit) via ded7c14b87cd230f7f2a56b98e0575c46a4d54a8 (commit) via 3a4d0c3ec7ec9f86828335cfe7a5f3f4ac17698a (commit) from 606c1fcdf87b319fe10f2ad100508b16f23a4e59 (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=31004b59ed1dd444582ce5948ee151247ae3fb6c commit 31004b59ed1dd444582ce5948ee151247ae3fb6c Merge: 606c1fc feed8d9 Author: Brad KingAuthorDate: Wed Mar 22 15:38:45 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 11:38:48 2017 -0400 Stage topic 'avoid-MSVC-per-version-vars' Topic-id: 23183 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/610 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=feed8d91328ee4c8416ba024a38edbab1669af3e commit feed8d91328ee4c8416ba024a38edbab1669af3e Author: Brad King AuthorDate: Wed Mar 22 11:36:26 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 11:36:26 2017 -0400 FindRuby: Use `MSVC_VERSION` instead of `MSVC##` diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake index b0e9b47..a9f8d35 100644 --- a/Modules/FindRuby.cmake +++ b/Modules/FindRuby.cmake @@ -207,19 +207,19 @@ set(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT} ruby${_ if(WIN32) set( _RUBY_MSVC_RUNTIME "" ) - if( MSVC60 ) + if( MSVC_VERSION EQUAL 1200 ) set( _RUBY_MSVC_RUNTIME "60" ) endif() - if( MSVC70 ) + if( MSVC_VERSION EQUAL 1300 ) set( _RUBY_MSVC_RUNTIME "70" ) endif() - if( MSVC71 ) + if( MSVC_VERSION EQUAL 1310 ) set( _RUBY_MSVC_RUNTIME "71" ) endif() - if( MSVC80 ) + if( MSVC_VERSION EQUAL 1400 ) set( _RUBY_MSVC_RUNTIME "80" ) endif() - if( MSVC90 ) + if( MSVC_VERSION EQUAL 1500 ) set( _RUBY_MSVC_RUNTIME "90" ) endif() https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ded7c14b87cd230f7f2a56b98e0575c46a4d54a8 commit ded7c14b87cd230f7f2a56b98e0575c46a4d54a8 Author: Brad King AuthorDate: Wed Mar 22 11:36:11 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 11:36:11 2017 -0400 FindGTK2: Use `MSVC_VERSION` instead of `MSVC##` diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index 2eca5f9..b87b9f3 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -105,7 +105,7 @@ # * 14236: Detect gthread library #Detect pangocairo on windows #Detect pangocairo with gtk module instead of with gtkmm -# * 14259: Use vc100 libraries with MSVC11 +# * 14259: Use vc100 libraries with VS 11 # * 14260: Export a GTK2_DEFINITIONS variable to set /vd2 when appropriate #(i.e. MSVC) # * Use the optimized/debug syntax for _LIBRARY and _LIBRARIES variables when @@ -354,13 +354,13 @@ function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version) if(_expand_vc AND MSVC) # Add vc80/vc90/vc100 midfixes -if(MSVC80) +if(MSVC_VERSION EQUAL 1400) set(_library ${_library}-vc80) -elseif(MSVC90) +elseif(MSVC_VERSION EQUAL 1500) set(_library ${_library}-vc90) -elseif(MSVC10) +elseif(MSVC_VERSION EQUAL 1600) set(_library ${_library}-vc100) -elseif(MSVC11) +elseif(MSVC_VERSION EQUAL 1700) # Up to gtkmm-win 2.22.0-2 there are no vc110 libraries but vc100 can be used set(_library ${_library}-vc100) endif() https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3a4d0c3ec7ec9f86828335cfe7a5f3f4ac17698a commit 3a4d0c3ec7ec9f86828335cfe7a5f3f4ac17698a Author: Brad King AuthorDate: Wed Mar 22 11:35:29 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 11:35:29 2017 -0400 FindBoost: Avoid mentioning discouraged `MSVC##`` variable diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 2886381..a6f63f5 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -445,7 +445,7 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret) set(_boost_COMPILER "-vc71") elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13) # Good luck! set(_boost_COMPILER "-vc7") # yes, this is correct -else() # MSVC60 Good luck! +else() # VS 6.0 Good luck! set(_boost_COMPILER "-vc6") # yes, this is correct endif() elseif
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-577-g606c1fc
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 606c1fcdf87b319fe10f2ad100508b16f23a4e59 (commit) via fecf846701ca3a7de4875f5c4362bc79e21b0a4c (commit) via 712452e33088b1ba02c7dde10f56cd2add81deab (commit) via 49a60b70e700e9f0bddc4cb6986d9621423ee2d9 (commit) from 377cd0876d8101934496d83ab86c06cd6b2ba246 (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=606c1fcdf87b319fe10f2ad100508b16f23a4e59 commit 606c1fcdf87b319fe10f2ad100508b16f23a4e59 Merge: 377cd08 fecf846 Author: Brad KingAuthorDate: Wed Mar 22 15:29:33 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 11:29:37 2017 -0400 Stage topic 'doc-prefer-MSVC_VERSION' Topic-id: 23180 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/609 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fecf846701ca3a7de4875f5c4362bc79e21b0a4c commit fecf846701ca3a7de4875f5c4362bc79e21b0a4c Author: Brad King AuthorDate: Wed Mar 22 11:22:35 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 11:24:54 2017 -0400 Help: Document preference of `MSVC_VERSION` over `MSVC##` Issue: #16735 diff --git a/Help/variable/MSVC.rst b/Help/variable/MSVC.rst index 913ed08..22a087a 100644 --- a/Help/variable/MSVC.rst +++ b/Help/variable/MSVC.rst @@ -4,3 +4,5 @@ MSVC ``True`` when using Microsoft Visual C++. Set to ``true`` when the compiler is some version of Microsoft Visual C++. + +See also the :variable:`MSVC_VERSION` variable. diff --git a/Help/variable/MSVC10.rst b/Help/variable/MSVC10.rst index 98e0493..55c6337 100644 --- a/Help/variable/MSVC10.rst +++ b/Help/variable/MSVC10.rst @@ -1,5 +1,7 @@ MSVC10 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using the Microsoft Visual Studio ``v100`` toolset (``cl`` version 16) or another compiler that simulates it. diff --git a/Help/variable/MSVC11.rst b/Help/variable/MSVC11.rst index 42b7b86..17943dc 100644 --- a/Help/variable/MSVC11.rst +++ b/Help/variable/MSVC11.rst @@ -1,5 +1,7 @@ MSVC11 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using the Microsoft Visual Studio ``v110`` toolset (``cl`` version 17) or another compiler that simulates it. diff --git a/Help/variable/MSVC12.rst b/Help/variable/MSVC12.rst index 0648f35..a524fab 100644 --- a/Help/variable/MSVC12.rst +++ b/Help/variable/MSVC12.rst @@ -1,5 +1,7 @@ MSVC12 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using the Microsoft Visual Studio ``v120`` toolset (``cl`` version 18) or another compiler that simulates it. diff --git a/Help/variable/MSVC14.rst b/Help/variable/MSVC14.rst index 16bfe07..79e0c10 100644 --- a/Help/variable/MSVC14.rst +++ b/Help/variable/MSVC14.rst @@ -1,5 +1,7 @@ MSVC14 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using the Microsoft Visual Studio ``v140`` or ``v141`` toolset (``cl`` version 19) or another compiler that simulates it. diff --git a/Help/variable/MSVC60.rst b/Help/variable/MSVC60.rst index 14f09cf..14164bf 100644 --- a/Help/variable/MSVC60.rst +++ b/Help/variable/MSVC60.rst @@ -1,6 +1,8 @@ MSVC60 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using Microsoft Visual C++ 6.0. Set to ``true`` when the compiler is version 6.0 of Microsoft Visual C++. diff --git a/Help/variable/MSVC70.rst b/Help/variable/MSVC70.rst index 76fa96f..ed3b0bb 100644 --- a/Help/variable/MSVC70.rst +++ b/Help/variable/MSVC70.rst @@ -1,6 +1,8 @@ MSVC70 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using Microsoft Visual C++ 7.0. Set to ``true`` when the compiler is version 7.0 of Microsoft Visual C++. diff --git a/Help/variable/MSVC71.rst b/Help/variable/MSVC71.rst index d69d4fc..0237592 100644 --- a/Help/variable/MSVC71.rst +++ b/Help/variable/MSVC71.rst @@ -1,6 +1,8 @@ MSVC71 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using Microsoft Visual C++ 7.1. Set to ``true`` when the compiler is version 7.1 of Microsoft Visual C++. diff --git a/Help/variable/MSVC80.rst b/Help/variable/MSVC80.rst index 0d33e82..1533218 100644 --- a/Help/variable/MSVC80.rst +++ b/Help/variable/MSVC80.rst @@ -1,5 +1,7 @@ MSVC80 -- +Discouraged. Use the :variable:`MSVC_VERSION` variable instead. + ``True`` when using the Microsoft Visual Studio ``v80``
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-573-g377cd08
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 377cd0876d8101934496d83ab86c06cd6b2ba246 (commit) via 8f207df14de3b8141c37b8b34baae29ebda248b3 (commit) via 73f7d266825f1d301aece128beda9297382b (commit) from 872531753f5216d1b6d9682923473df33f3b8860 (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=377cd0876d8101934496d83ab86c06cd6b2ba246 commit 377cd0876d8101934496d83ab86c06cd6b2ba246 Merge: 8725317 8f207df Author: Brad KingAuthorDate: Wed Mar 22 15:09:28 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 11:09:32 2017 -0400 Stage topic 'FindwxWidgets-vs-2017' Topic-id: 23178 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/608 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8f207df14de3b8141c37b8b34baae29ebda248b3 commit 8f207df14de3b8141c37b8b34baae29ebda248b3 Author: Brad King AuthorDate: Wed Mar 22 11:07:16 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 11:08:05 2017 -0400 FindwxWidgets: Add support for VS 2017 v141 toolset Issue: #16735 diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index f1627b6..d30d35f 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -498,7 +498,9 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32") set(_WX_TOOL gcc) elseif(MSVC) set(_WX_TOOL vc) - if(MSVC_VERSION EQUAL 1900) + if(MSVC_VERSION EQUAL 1910) +set(_WX_TOOLVER 141) + elseif(MSVC_VERSION EQUAL 1900) set(_WX_TOOLVER 140) elseif(MSVC_VERSION EQUAL 1800) set(_WX_TOOLVER 120) https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=73f7d266825f1d301aece128beda9297382b commit 73f7d266825f1d301aece128beda9297382b Author: Brad King AuthorDate: Wed Mar 22 11:05:46 2017 -0400 Commit: Brad King CommitDate: Wed Mar 22 11:08:05 2017 -0400 FindwxWidgets: Use `MSVC_VERSION` instead of `MSVC##` diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index 77091f4..f1627b6 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -498,15 +498,15 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32") set(_WX_TOOL gcc) elseif(MSVC) set(_WX_TOOL vc) - if(MSVC14) + if(MSVC_VERSION EQUAL 1900) set(_WX_TOOLVER 140) - elseif(MSVC12) + elseif(MSVC_VERSION EQUAL 1800) set(_WX_TOOLVER 120) - elseif(MSVC11) + elseif(MSVC_VERSION EQUAL 1700) set(_WX_TOOLVER 110) - elseif(MSVC10) + elseif(MSVC_VERSION EQUAL 1600) set(_WX_TOOLVER 100) - elseif(MSVC90) + elseif(MSVC_VERSION EQUAL 1500) set(_WX_TOOLVER 90) endif() if(CMAKE_SIZEOF_VOID_P EQUAL 8) --- Summary of changes: Modules/FindwxWidgets.cmake | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) 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-570-g8725317
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 fb79b7e3a94b17f9410cf71060230941c9a6e607 (commit) discards ebfea4c683321cc6d26d872bd1ae9e16fd3daf6e (commit) via 872531753f5216d1b6d9682923473df33f3b8860 (commit) via 0a9fe75a2d649463a7d17552546a532f6d8c3c80 (commit) via 9a733c7bd626f457a71632da46934995da7bbd4b (commit) via 88d32ef095c06d9ff8044ccd782701951d03e65a (commit) via 352b195f8769c5e4c884c1f9d0ba6d747d533547 (commit) via 9b2f8a82e54538f7132d2e8903c7cc960b6864f7 (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 (fb79b7e3a94b17f9410cf71060230941c9a6e607) \ N -- N -- N (872531753f5216d1b6d9682923473df33f3b8860) 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=872531753f5216d1b6d9682923473df33f3b8860 commit 872531753f5216d1b6d9682923473df33f3b8860 Merge: 0a9fe75 b379079 Author: Brad KingAuthorDate: Wed Mar 22 14:05:18 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 10:54:44 2017 -0400 Stage topic 'vfproj' Topic-id: 23126 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/593 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a9fe75a2d649463a7d17552546a532f6d8c3c80 commit 0a9fe75a2d649463a7d17552546a532f6d8c3c80 Merge: 9a733c7 e1ee7b4 Author: Brad King AuthorDate: Wed Mar 22 14:01:34 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 10:54:44 2017 -0400 Stage topic 'cpack_nsis_sign_uninstaller' Topic-id: 23173 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/605 --- Summary of changes: Modules/FindBoost.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, release, updated. v3.8.0-rc2-35-g352b195
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 352b195f8769c5e4c884c1f9d0ba6d747d533547 (commit) via 9b2f8a82e54538f7132d2e8903c7cc960b6864f7 (commit) from 5b311041f3c5b000137e6c52a9a0bba53146bc79 (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/FindBoost.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, master, updated. v3.8.0-rc2-566-g9a733c7
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 9a733c7bd626f457a71632da46934995da7bbd4b (commit) via 88d32ef095c06d9ff8044ccd782701951d03e65a (commit) via 352b195f8769c5e4c884c1f9d0ba6d747d533547 (commit) via 9b2f8a82e54538f7132d2e8903c7cc960b6864f7 (commit) from da802afd6e88d6cb4b562a816eee1f85e9ad1e8c (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/FindBoost.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
Re: [cmake-developers] Is it possible to clone an existing target?
Aliases for imported targets also would be useful. I found some old email threads, but seems they had not been implemented. On 22 March 2017 at 16:53, Stanislav Pankevichwrote: > Hi Brad, > > Thanks for the answer. > > Yes, I am going to write my own macro which, I hope, will do the job for the > most cases. > > My use case is to generate the LLVM bitcode artefacts *.bc from existing > CMake target instead of a binary that it would produce by default. Cloning > existing target and then patching its settings will help me to maintain both > original and patched versions of a library targets. > > I think this feature might be very useful for all R projects that do all > sorts of analysis or transformations based on LLVM IR: instead of a normal > process of compilation of everything then linking, such project just > consumes a collection of *.bc files and then does some useful work with it. > It is definitely the attempt to use CMake slightly beyond its normal use > case. > > For full background please see my other related question: > > https://cmake.org/pipermail/cmake-developers/2017-January/029788.html > > Thanks, > > Stan > > On Wed, Mar 22, 2017 at 1:06 PM, Brad King wrote: >> >> On 03/22/2017 03:30 AM, Stanislav Pankevich wrote: >> > I have a target `MyTarget`. Is there a way I could do something like >> > >> > clone_target(MyTarget MyNewTarget) >> > >> > so that MyNewTarget appears to be the exact clone (deep copy) >> > of original target with the only difference of a target name? >> >> There is no builtin way to do that, though you might be able to >> get close with a macro that reads target properties from the >> original in order to reproduce them with appropriate commands. >> >> What is your use case? >> >> -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 -- Egor Pugin -- 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
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-566-gfb79b7e
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 61beaf2735aec3a10ce8806639785403b487974b (commit) via fb79b7e3a94b17f9410cf71060230941c9a6e607 (commit) via ebfea4c683321cc6d26d872bd1ae9e16fd3daf6e (commit) via da802afd6e88d6cb4b562a816eee1f85e9ad1e8c (commit) via 72f534ca15674424e7e3974042921178d6b1c64c (commit) via 2192247e336364731cbeafcd63a92d3ec58c38d2 (commit) via b3790796a2fbae9e0558edd6ba3b0212d33669ca (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 (61beaf2735aec3a10ce8806639785403b487974b) \ N -- N -- N (fb79b7e3a94b17f9410cf71060230941c9a6e607) 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=fb79b7e3a94b17f9410cf71060230941c9a6e607 commit fb79b7e3a94b17f9410cf71060230941c9a6e607 Merge: ebfea4c b379079 Author: Brad KingAuthorDate: Wed Mar 22 14:05:18 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 10:06:11 2017 -0400 Stage topic 'vfproj' Topic-id: 23126 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/593 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ebfea4c683321cc6d26d872bd1ae9e16fd3daf6e commit ebfea4c683321cc6d26d872bd1ae9e16fd3daf6e Merge: da802af e1ee7b4 Author: Brad King AuthorDate: Wed Mar 22 14:01:34 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 10:06:10 2017 -0400 Stage topic 'cpack_nsis_sign_uninstaller' Topic-id: 23173 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/605 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3790796a2fbae9e0558edd6ba3b0212d33669ca commit b3790796a2fbae9e0558edd6ba3b0212d33669ca Author: Javier Martín AuthorDate: Mon Mar 20 18:15:22 2017 +0100 Commit: Brad King CommitDate: Mon Mar 20 16:18:57 2017 -0400 VS: Use .vfproj utility targets in Fortran-only projects For CMake projects in which only Fortran has been enabled, make the VS generator create the "support" VS projects (`INSTALL`, `ZERO_CHECK`, etc.) as Fortran projects (`.vfproj`) instead of Visual C/C++ projects (`.vcproj`). Fixes: #16719 diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index a073426..e451f3e 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -735,6 +735,25 @@ bool cmGlobalVisualStudioGenerator::TargetIsFortranOnly( if (*languages.begin() == "Fortran") { return true; } + } else if (languages.empty()) { +// For "language-less" targets (e.g. ALL_BUILD), check if Fortran is the +// only language enabled for this project (other than RC). +if (!this->GetLanguageEnabled("Fortran")) { + return false; +} + +std::vector enabled, accepted; +accepted.push_back("Fortran"); +accepted.push_back("RC"); // Note: add in sorted order! + +this->GetEnabledLanguages(enabled); +std::sort(enabled.begin(), enabled.end()); +// True if accepted includes enabled, that is, if the set of enabled +// languages has no other elements than the accepted ones. +if (std::includes(accepted.begin(), accepted.end(), enabled.begin(), + enabled.end())) { + return true; +} } return false; } --- Summary of changes: Help/dev/review.rst | 21 - Source/cmGlobalVisualStudioGenerator.cxx | 19 +++ 2 files changed, 39 insertions(+), 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, master, updated. v3.8.0-rc2-562-gda802af
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 da802afd6e88d6cb4b562a816eee1f85e9ad1e8c (commit) via 72f534ca15674424e7e3974042921178d6b1c64c (commit) via 2192247e336364731cbeafcd63a92d3ec58c38d2 (commit) from 5d2f30f5acbcf572a464f6f45fafaea23c7ae75a (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/dev/review.rst | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
Re: [CMake] can't locate library with find_library
oh, no, silly me, I didn't. that fixed the problem. thx Feiyi On Wed, Mar 22, 2017 at 10:08 AM, Nils Gladitzwrote: > On 22.03.2017 14:52, Oliver wrote: > >> hi all, >> >> I am running cmake 3 using EPEL install on RHEL 7. I also have installed >> "gflags", >> >> >> >> $rpm -ql gflags >> /usr/bin/gflags_completions.sh >> /usr/lib64/libgflags.so.2.1 >> /usr/lib64/libgflags_nothreads.so.2.1 >> /usr/share/doc/gflags-2.1.1 >> /usr/share/doc/gflags-2.1.1/AUTHORS.txt >> /usr/share/doc/gflags-2.1.1/COPYING.txt >> /usr/share/doc/gflags-2.1.1/ChangeLog.txt >> /usr/share/doc/gflags-2.1.1/README.txt >> >> > Did you also install the corresponding development package e.g. > "gflags-devel"? > > Nils > -- Oliver -- 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] can't locate library with find_library
On 22.03.2017 14:52, Oliver wrote: hi all, I am running cmake 3 using EPEL install on RHEL 7. I also have installed "gflags", $rpm -ql gflags /usr/bin/gflags_completions.sh /usr/lib64/libgflags.so.2.1 /usr/lib64/libgflags_nothreads.so.2.1 /usr/share/doc/gflags-2.1.1 /usr/share/doc/gflags-2.1.1/AUTHORS.txt /usr/share/doc/gflags-2.1.1/COPYING.txt /usr/share/doc/gflags-2.1.1/ChangeLog.txt /usr/share/doc/gflags-2.1.1/README.txt Did you also install the corresponding development package e.g. "gflags-devel"? Nils -- 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-561-g61beaf2
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 a16cf09e57105c0ccb3d86419b1daf72c3b0e6e2 (commit) discards 2a826e330d67889c70009170020bef661195f6da (commit) via 61beaf2735aec3a10ce8806639785403b487974b (commit) via e1ee7b4305bdf2b50640c4c500705bb4bbff47bf (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 (a16cf09e57105c0ccb3d86419b1daf72c3b0e6e2) \ N -- N -- N (61beaf2735aec3a10ce8806639785403b487974b) 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=61beaf2735aec3a10ce8806639785403b487974b commit 61beaf2735aec3a10ce8806639785403b487974b Merge: 5d2f30f e1ee7b4 Author: Brad KingAuthorDate: Wed Mar 22 14:01:34 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 10:01:46 2017 -0400 Stage topic 'cpack_nsis_sign_uninstaller' Topic-id: 23173 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/605 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1ee7b4305bdf2b50640c4c500705bb4bbff47bf commit e1ee7b4305bdf2b50640c4c500705bb4bbff47bf Author: Roman Wüger AuthorDate: Wed Mar 22 13:15:24 2017 +0100 Commit: Roman Wüger CommitDate: Wed Mar 22 13:15:24 2017 +0100 CPack/NSIS: Avoid a race condition when generating the installer diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in index ffa6277..4f6aa75 100644 --- a/Modules/NSIS.template.in +++ b/Modules/NSIS.template.in @@ -30,19 +30,20 @@ ; ;General !ifdef INNER - OutFile "$%TEMP%\tempinstaller.exe" + OutFile "${TEMPINSTALLER}.exe" SetCompress off ; for speed !else ; Call makensis again, defining INNER. This writes an installer for us which, when ; it is invoked, will just write the uninstaller to some location, and then exit. ; Be sure to substitute the name of this script here. - - !system "$\"${NSISDIR}\makensis$\" /DINNER $\"@CPACK_TEMPORARY_DIRECTORY@/../project.nsi$\"" = 0 + !tempfile TEMPINSTALLER + !tempfile TEMPUNINSTALLER + !system "$\"${NSISDIR}\makensis$\" /DTEMPINSTALLER=$\"${TEMPINSTALLER}$\" /DTEMPUNINSTALLER=$\"${TEMPUNINSTALLER}$\" /DINNER $\"@CPACK_TEMPORARY_DIRECTORY@/../project.nsi$\"" = 0 ; So now run that installer we just created as %TEMP%\tempinstaller.exe. Since it ; calls quit the return value isn't zero. - !system "$%TEMP%\tempinstaller.exe" = 2 + !system "$\"${TEMPINSTALLER}.exe$\"" = 2 ; That will have written an uninstaller binary for us. Now we sign it with your ; favourite code signing tool. @@ -52,7 +53,7 @@ !include "${INCEXIST}" !delfile "${INCEXIST}" !ifdef HAVE_SIGN_UNINST - !system '"@CPACK_NSIS_SIGN_UNINSTALLER@" "$%TEMP%\Uninstall.exe"' = 0 + !system '"@CPACK_NSIS_SIGN_UNINSTALLER@" "${TEMPUNINSTALLER}.exe"' = 0 !endif ; Good. Now we can carry on writing the real installer. @@ -674,7 +675,7 @@ Section "-Core installation" ;Create uninstaller !ifndef INNER ; this packages the signed uninstaller - File "$%TEMP%\Uninstall.exe" + File "/oname=Uninstall.exe" "${TEMPUNINSTALLER}.exe" !endif Push "DisplayName" Push "@CPACK_NSIS_DISPLAY_NAME@" @@ -938,7 +939,7 @@ Function .onInit ; the installer. This is better than processing a command line option as it means ; this entire code path is not present in the final (real) installer. - WriteUninstaller "$%TEMP%\Uninstall.exe" + WriteUninstaller "${TEMPUNINSTALLER}.exe" Quit ; just bail out quickly when running the "inner" installer !endif StrCmp "@CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL@" "ON" 0 inst --- Summary of changes: Help/release/dev/cpack-sign-uninstaller.rst |5 +++ Modules/CPackNSIS.cmake |4 +++ Modules/NSIS.template.in| 46 ++- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 Help/release/dev/cpack-sign-uninstaller.rst hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org
Re: [cmake-developers] Is it possible to clone an existing target?
Hi Brad, Thanks for the answer. Yes, I am going to write my own macro which, I hope, will do the job for the most cases. My use case is to generate the LLVM bitcode artefacts *.bc from existing CMake target instead of a binary that it would produce by default. Cloning existing target and then patching its settings will help me to maintain both original and patched versions of a library targets. I think this feature might be very useful for all R projects that do all sorts of analysis or transformations based on LLVM IR: instead of a normal process of compilation of everything then linking, such project just consumes a collection of *.bc files and then does some useful work with it. It is definitely the attempt to use CMake slightly beyond its normal use case. For full background please see my other related question: https://cmake.org/pipermail/cmake-developers/2017-January/029788.html Thanks, Stan On Wed, Mar 22, 2017 at 1:06 PM, Brad Kingwrote: > On 03/22/2017 03:30 AM, Stanislav Pankevich wrote: > > I have a target `MyTarget`. Is there a way I could do something like > > > > clone_target(MyTarget MyNewTarget) > > > > so that MyNewTarget appears to be the exact clone (deep copy) > > of original target with the only difference of a target name? > > There is no builtin way to do that, though you might be able to > get close with a macro that reads target properties from the > original in order to reproduce them with appropriate commands. > > What is your use case? > > -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
[CMake] can't locate library with find_library
hi all, I am running cmake 3 using EPEL install on RHEL 7. I also have installed "gflags", $rpm -ql gflags /usr/bin/gflags_completions.sh /usr/lib64/libgflags.so.2.1 /usr/lib64/libgflags_nothreads.so.2.1 /usr/share/doc/gflags-2.1.1 /usr/share/doc/gflags-2.1.1/AUTHORS.txt /usr/share/doc/gflags-2.1.1/COPYING.txt /usr/share/doc/gflags-2.1.1/ChangeLog.txt /usr/share/doc/gflags-2.1.1/README.txt but my check fails: # glags find_library(GFLAGS_LIB NAMES gflags PATHS /usr/lib64 /usr/lib /usr/local/lib) if (NOT GFLAGS_LIB) message(STATUS "gflags is not present, you can still control logging through env settings") message(STATUS "GLOG_logtostderr=1 ./your_application") else() message(STATUS "gflags is present, you can controll logging through command line:") message(STATUS "./your_application --logtostderr=1") endif() what did I do wrong? thx. -- Oliver -- 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-561-ga16cf09
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 ad1d900e9fe1013dbf0edf5c01ee9065892d72ed (commit) via a16cf09e57105c0ccb3d86419b1daf72c3b0e6e2 (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 (ad1d900e9fe1013dbf0edf5c01ee9065892d72ed) \ N -- N -- N (a16cf09e57105c0ccb3d86419b1daf72c3b0e6e2) 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=a16cf09e57105c0ccb3d86419b1daf72c3b0e6e2 commit a16cf09e57105c0ccb3d86419b1daf72c3b0e6e2 Merge: 5d2f30f 2a826e3 Author: Brad KingAuthorDate: Tue Mar 21 14:33:00 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 09:25:03 2017 -0400 Stage topic 'revert-cpack_nsis_sign_uninstaller' Topic-id: 23143 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/597 --- Summary of changes: 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-561-gad1d900
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 10b21f015010580ceef56d04935650658e7d7236 (commit) discards b70467fc1ffb9962aeeb07ea9bd53ce7208f3ccc (commit) via ad1d900e9fe1013dbf0edf5c01ee9065892d72ed (commit) via 5d2f30f5acbcf572a464f6f45fafaea23c7ae75a (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 (10b21f015010580ceef56d04935650658e7d7236) \ N -- N -- N (ad1d900e9fe1013dbf0edf5c01ee9065892d72ed) 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=ad1d900e9fe1013dbf0edf5c01ee9065892d72ed commit ad1d900e9fe1013dbf0edf5c01ee9065892d72ed Merge: 5d2f30f 2a826e3 Author: Brad KingAuthorDate: Tue Mar 21 14:33:00 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 09:24:58 2017 -0400 Stage topic 'revert-cpack_nsis_sign_uninstaller' Topic-id: 23143 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/597 --- Summary of changes: 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-559-g5d2f30f
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 5d2f30f5acbcf572a464f6f45fafaea23c7ae75a (commit) via edac95b955afdea2d129b32b029bf845dc29cb71 (commit) from e24ed7ad870730304431f5cb09d90c980136639c (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/cmIfCommand.cxx | 20 Source/cmIfCommand.h |2 ++ Tests/RunCMake/if/RunCMakeTest.cmake |4 .../duplicate-deep-else-result.txt}|0 Tests/RunCMake/if/duplicate-deep-else-stderr.txt |4 Tests/RunCMake/if/duplicate-deep-else.cmake|7 +++ .../duplicate-else-after-elseif-result.txt}|0 .../if/duplicate-else-after-elseif-stderr.txt |4 .../RunCMake/if/duplicate-else-after-elseif.cmake |5 + .../duplicate-else-result.txt} |0 Tests/RunCMake/if/duplicate-else-stderr.txt|4 Tests/RunCMake/if/duplicate-else.cmake |4 .../misplaced-elseif-result.txt} |0 Tests/RunCMake/if/misplaced-elseif-stderr.txt |4 Tests/RunCMake/if/misplaced-elseif.cmake |4 15 files changed, 62 insertions(+) copy Tests/RunCMake/{Android/BadSYSROOT-result.txt => if/duplicate-deep-else-result.txt} (100%) create mode 100644 Tests/RunCMake/if/duplicate-deep-else-stderr.txt create mode 100644 Tests/RunCMake/if/duplicate-deep-else.cmake copy Tests/RunCMake/{Android/BadSYSROOT-result.txt => if/duplicate-else-after-elseif-result.txt} (100%) create mode 100644 Tests/RunCMake/if/duplicate-else-after-elseif-stderr.txt create mode 100644 Tests/RunCMake/if/duplicate-else-after-elseif.cmake copy Tests/RunCMake/{Android/BadSYSROOT-result.txt => if/duplicate-else-result.txt} (100%) create mode 100644 Tests/RunCMake/if/duplicate-else-stderr.txt create mode 100644 Tests/RunCMake/if/duplicate-else.cmake copy Tests/RunCMake/{Android/BadSYSROOT-result.txt => if/misplaced-elseif-result.txt} (100%) create mode 100644 Tests/RunCMake/if/misplaced-elseif-stderr.txt create mode 100644 Tests/RunCMake/if/misplaced-elseif.cmake 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-561-g10b21f0
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 6b86e3618662f1d559bd0b94899aaf81232a412d (commit) discards 534911e4267be0ec4940f8122a0d2685bdf711ab (commit) discards a1a6df3d2df5acc99442b579c6428614b3f5ebfa (commit) discards ca2ece6a3c74b3873c0dcb475a6fb354d9c33d78 (commit) via 10b21f015010580ceef56d04935650658e7d7236 (commit) via b70467fc1ffb9962aeeb07ea9bd53ce7208f3ccc (commit) via e24ed7ad870730304431f5cb09d90c980136639c (commit) via 6ce7e587378781931d36b17cf9e3aaf6ebc8c8fa (commit) via 5b311041f3c5b000137e6c52a9a0bba53146bc79 (commit) via ded9859c925698320cfde342651725f4a67cc3c8 (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 (6b86e3618662f1d559bd0b94899aaf81232a412d) \ N -- N -- N (10b21f015010580ceef56d04935650658e7d7236) 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=10b21f015010580ceef56d04935650658e7d7236 commit 10b21f015010580ceef56d04935650658e7d7236 Merge: b70467f edac95b Author: Brad KingAuthorDate: Wed Mar 22 12:44:22 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 09:12:45 2017 -0400 Stage topic '14335-duplicate-else' Topic-id: 23133 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/594 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b70467fc1ffb9962aeeb07ea9bd53ce7208f3ccc commit b70467fc1ffb9962aeeb07ea9bd53ce7208f3ccc Merge: e24ed7a 2a826e3 Author: Brad King AuthorDate: Tue Mar 21 14:33:00 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 09:12:44 2017 -0400 Stage topic 'revert-cpack_nsis_sign_uninstaller' Topic-id: 23143 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/597 --- Summary of changes: hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, release, updated. v3.8.0-rc2-33-g5b31104
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 5b311041f3c5b000137e6c52a9a0bba53146bc79 (commit) via ded9859c925698320cfde342651725f4a67cc3c8 (commit) from 849f1ec1c07826973772599a55ad1736123b7708 (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/FindBLAS.cmake | 33 ++--- Modules/FindLAPACK.cmake | 11 +-- 2 files changed, 35 insertions(+), 9 deletions(-) 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-557-ge24ed7a
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 e24ed7ad870730304431f5cb09d90c980136639c (commit) via 6ce7e587378781931d36b17cf9e3aaf6ebc8c8fa (commit) via 5b311041f3c5b000137e6c52a9a0bba53146bc79 (commit) via ded9859c925698320cfde342651725f4a67cc3c8 (commit) from 84a96aa0a57959f8552b4329d59329be6c645a4c (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/FindBLAS.cmake | 33 ++--- Modules/FindLAPACK.cmake | 11 +-- 2 files changed, 35 insertions(+), 9 deletions(-) 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-553-g84a96aa
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 84a96aa0a57959f8552b4329d59329be6c645a4c (commit) via 849f1ec1c07826973772599a55ad1736123b7708 (commit) via 10eb329e31bf76a1abf2b9b0731a33dac8037970 (commit) via 1356ef4f8403533118ec5855b8135091243ef3e0 (commit) via 47adf51f40c488fa46b4a583d7ac43740274facc (commit) via 68115cf0ea67f9b4d75a4aa8a8dee33755807c66 (commit) from 10cbb87fa3a5f81dc9dedd24580a64e062047887 (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: hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, release, updated. v3.8.0-rc2-31-g849f1ec
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 849f1ec1c07826973772599a55ad1736123b7708 (commit) via 805706b36df2eb31f35c1142e50dac6621683cac (commit) via 10eb329e31bf76a1abf2b9b0731a33dac8037970 (commit) via 9753d4c27e61f1ed90061c9a65a7a30a16062405 (commit) via 2df8aa0c804038e7812b7acf47d5530d967d7ad7 (commit) via 1356ef4f8403533118ec5855b8135091243ef3e0 (commit) via 47adf51f40c488fa46b4a583d7ac43740274facc (commit) via 18009aaf5e1d8a436f251b6f70ac46bcad1ad768 (commit) via feaea0658c9cbd4345f698a22452fe3a08a194a3 (commit) via 68115cf0ea67f9b4d75a4aa8a8dee33755807c66 (commit) via 5606622e61e7f6eba74326510cea8dd0128ab2aa (commit) from 50856e948e4d4898aaa6a811b35976bf68a11f6b (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 | 10 -- Modules/FindHDF5.cmake |8 ++-- Source/cmNinjaNormalTargetGenerator.cxx| 13 +++-- Source/cmNinjaTargetGenerator.cxx | 12 Utilities/cmlibarchive/libarchive/archive_random.c |2 +- 5 files changed, 30 insertions(+), 15 deletions(-) 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-559-g6b86e36
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 c24b513a06200b2f3ad73e7ce71cd805420bc1aa (commit) discards f16cfada5533f954e4fa29f4f083a1b70bbdfdf6 (commit) discards 96079425b326489c24478aef3513ced4e3925f85 (commit) via 6b86e3618662f1d559bd0b94899aaf81232a412d (commit) via 534911e4267be0ec4940f8122a0d2685bdf711ab (commit) via a1a6df3d2df5acc99442b579c6428614b3f5ebfa (commit) via 84a96aa0a57959f8552b4329d59329be6c645a4c (commit) via 849f1ec1c07826973772599a55ad1736123b7708 (commit) via 10eb329e31bf76a1abf2b9b0731a33dac8037970 (commit) via 1356ef4f8403533118ec5855b8135091243ef3e0 (commit) via 47adf51f40c488fa46b4a583d7ac43740274facc (commit) via 68115cf0ea67f9b4d75a4aa8a8dee33755807c66 (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 (c24b513a06200b2f3ad73e7ce71cd805420bc1aa) \ N -- N -- N (6b86e3618662f1d559bd0b94899aaf81232a412d) 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=6b86e3618662f1d559bd0b94899aaf81232a412d commit 6b86e3618662f1d559bd0b94899aaf81232a412d Merge: 534911e edac95b Author: Brad KingAuthorDate: Wed Mar 22 12:44:22 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:56:48 2017 -0400 Stage topic '14335-duplicate-else' Topic-id: 23133 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/594 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=534911e4267be0ec4940f8122a0d2685bdf711ab commit 534911e4267be0ec4940f8122a0d2685bdf711ab Merge: a1a6df3 ca2ece6 Author: Gregor Jasny AuthorDate: Wed Mar 22 07:13:08 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:56:47 2017 -0400 Stage topic '16624-blas-lapack-documentation' Topic-id: 23163 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/603 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a1a6df3d2df5acc99442b579c6428614b3f5ebfa commit a1a6df3d2df5acc99442b579c6428614b3f5ebfa Merge: 84a96aa 2a826e3 Author: Brad King AuthorDate: Tue Mar 21 14:33:00 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:56:47 2017 -0400 Stage topic 'revert-cpack_nsis_sign_uninstaller' Topic-id: 23143 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/597 --- Summary of changes: 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-553-gc24b513
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 ed2a6b4d93647fa6f997ecf8432aa065936d9da1 (commit) discards b3897c5f838e186e4ab665ee7edc588a788d0f2b (commit) discards bfa7ca02038fadd1c72e26c844d7cb2c16b8faf5 (commit) discards bb7a241f86c9235e97cb09a103c29bb5680dd354 (commit) discards 38c9a42b6b0e8f3ef9d14448e6b01cf6b26771dc (commit) discards 213cd05b5264eeaa48f3e8ddb0eac0359b412ae1 (commit) discards 1d75187ea1f1519b0a390928e18e2e8158b72685 (commit) discards bb24b117d8fed6692207ac066ac6fc46867cec93 (commit) discards 266820722c96de7e899a755429c970c1e393665b (commit) discards df189da83628ccad7819ab48574073c9dc3ecb2f (commit) via c24b513a06200b2f3ad73e7ce71cd805420bc1aa (commit) via f16cfada5533f954e4fa29f4f083a1b70bbdfdf6 (commit) via 96079425b326489c24478aef3513ced4e3925f85 (commit) via 10cbb87fa3a5f81dc9dedd24580a64e062047887 (commit) via 56c39d88363b3a0518bde1569d18ef1bdbeb01e7 (commit) via 53e2ef1bb4434081bedce3742105e378452c4c38 (commit) via b5d8a6de4815ead8b342f7862cd0726b13a03a47 (commit) via 59032a38471c27c547ed76730c2643a5457e6abd (commit) via 989484d51fa78f0fc0014212148b52c90872f57e (commit) via 053317480a12464d405490502dfde75c5fc17b1f (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 (ed2a6b4d93647fa6f997ecf8432aa065936d9da1) \ N -- N -- N (c24b513a06200b2f3ad73e7ce71cd805420bc1aa) 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=c24b513a06200b2f3ad73e7ce71cd805420bc1aa commit c24b513a06200b2f3ad73e7ce71cd805420bc1aa Merge: f16cfad edac95b Author: Brad KingAuthorDate: Wed Mar 22 12:44:22 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:52:32 2017 -0400 Stage topic '14335-duplicate-else' Topic-id: 23133 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/594 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f16cfada5533f954e4fa29f4f083a1b70bbdfdf6 commit f16cfada5533f954e4fa29f4f083a1b70bbdfdf6 Merge: 9607942 ca2ece6 Author: Gregor Jasny AuthorDate: Wed Mar 22 07:13:08 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:52:31 2017 -0400 Stage topic '16624-blas-lapack-documentation' Topic-id: 23163 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/603 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=96079425b326489c24478aef3513ced4e3925f85 commit 96079425b326489c24478aef3513ced4e3925f85 Merge: 10cbb87 2a826e3 Author: Brad King AuthorDate: Tue Mar 21 14:33:00 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:52:31 2017 -0400 Stage topic 'revert-cpack_nsis_sign_uninstaller' Topic-id: 23143 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/597 --- Summary of changes: 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-547-g10cbb87
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 10cbb87fa3a5f81dc9dedd24580a64e062047887 (commit) via 56c39d88363b3a0518bde1569d18ef1bdbeb01e7 (commit) via 53e2ef1bb4434081bedce3742105e378452c4c38 (commit) via b5d8a6de4815ead8b342f7862cd0726b13a03a47 (commit) via 59032a38471c27c547ed76730c2643a5457e6abd (commit) via 989484d51fa78f0fc0014212148b52c90872f57e (commit) via 053317480a12464d405490502dfde75c5fc17b1f (commit) via 805706b36df2eb31f35c1142e50dac6621683cac (commit) via 2c55c143c8648869ef4042bc980b55f76a51d3a9 (commit) via 63c0ba5ff136bcca413567e2073d4a8c7702f416 (commit) via 9753d4c27e61f1ed90061c9a65a7a30a16062405 (commit) via 2df8aa0c804038e7812b7acf47d5530d967d7ad7 (commit) via 18009aaf5e1d8a436f251b6f70ac46bcad1ad768 (commit) via feaea0658c9cbd4345f698a22452fe3a08a194a3 (commit) via 6c8326749fccd37afd5343d926d650c87ecdfb9f (commit) via 075f6454092ae058add228eda8220a3680b2f9e4 (commit) via 21c4ec4ffe1c40382f6b435ff49eade31e1137f2 (commit) via 24361a455a2a3bd904433ec3b0107493d29d98ba (commit) via 845c482448e5b60f4934a48eea9c8c1e466f8fea (commit) via 5606622e61e7f6eba74326510cea8dd0128ab2aa (commit) via fdb2ba2521998397d97d466b10a8ac2458363625 (commit) via 4f90e7931487195b5d540fbaa5dad1c90b26cee1 (commit) from 7ebbe4f9d853a5823ef47a13b53ef7e1f469bd2e (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-modules.7.rst|1 + Help/module/CheckIPOSupported.rst |1 + Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst |7 + Help/release/dev/CheckIPOSupported.rst |6 + .../module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS.rst |8 + Modules/CPackRPM.cmake | 10 +- 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/FindHDF5.cmake | 11 +- Modules/Platform/Linux-Intel.cmake |5 + Source/bindexplib.cxx | 50 +++-- Source/bindexplib.h|1 + Source/cmGeneratorTarget.cxx | 11 +- Source/cmGeneratorTarget.h |2 + Source/cmGlobalVisualStudioGenerator.cxx | 73 --- Source/cmLocalVisualStudio7Generator.cxx |2 +- Source/cmMakefileTargetGenerator.cxx | 37 ++-- Source/cmNinjaNormalTargetGenerator.cxx| 33 ++- Source/cmNinjaTargetGenerator.cxx | 24 ++- Source/cmVisualStudio10TargetGenerator.cxx |2 +- Source/cmcmd.cxx | 15 +- Tests/ModuleDefinition/CMakeLists.txt |9 +- Tests/ModuleDefinition/example_exe.c |6 +- Tests/ModuleDefinition/split_dll.c |9 + Tests/ModuleDefinition/split_dll_1.def |2 + Tests/ModuleDefinition/split_dll_2.def |2 + Tests/RunCMake/CMakeLists.txt |1 + Tests/RunCMake/CheckIPOSupported/CMakeLists.txt|4 + .../RunCMake/CheckIPOSupported/RunCMakeTest.cmake |9 + .../default-lang-none-result.txt} |0 .../CheckIPOSupported/default-lang-none-stderr.txt |7 + .../CheckIPOSupported/default-lang-none.cmake |1 + .../not-supported-by-cmake-result.txt} |0 .../not-supported-by-cmake-stderr.txt |6 + .../CheckIPOSupported/not-supported-by-cmake.cmake |3 + .../not-supported-by-compiler-result.txt} |0 .../not-supported-by-compiler-stderr.txt |6 + .../not-supported-by-compiler.cmake|4 + .../CheckIPOSupported/save-to-result.cmake | 22 ++ .../unparsed-arguments-result.txt} |0 .../unparsed-arguments-stderr.txt |5 + .../CheckIPOSupported/unparsed-arguments.cmake |1 + .../user-lang-fortran-result.txt} |0 .../CheckIPOSupported/user-lang-fortran-stderr.txt |6 +
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-553-ged2a6b4
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 cc58090bb01be9c687ae307201040e4d9f27ca23 (commit) discards 77e5b3b683470c27f3cfef73c0b5c777383ef3d9 (commit) discards 64601c441f5ea323ba2b16fd351760cb4dce6120 (commit) discards 8d241e1d1ff431e289681e3701ebe372f46725e4 (commit) discards 34f0e30ba3330a641c90e8e9b4121c00d98b8b1e (commit) discards 90bd013cadfd642c046183a29b88d2c20d822347 (commit) discards 6b2b25256d6a91c19984c57a44705f988b874cd0 (commit) discards 9d56545bf15fe9a22f8468ea1a7263701577bdbf (commit) discards e49f1273a98ff9fabadeab307d49e43e10960215 (commit) discards ee1a83a7d5baa835174d9916aac5df9e11b2a2eb (commit) discards 93e18d8e1342f6533891c9e40ffac5542d61d2f8 (commit) via ed2a6b4d93647fa6f997ecf8432aa065936d9da1 (commit) via b3897c5f838e186e4ab665ee7edc588a788d0f2b (commit) via bfa7ca02038fadd1c72e26c844d7cb2c16b8faf5 (commit) via bb7a241f86c9235e97cb09a103c29bb5680dd354 (commit) via 38c9a42b6b0e8f3ef9d14448e6b01cf6b26771dc (commit) via 213cd05b5264eeaa48f3e8ddb0eac0359b412ae1 (commit) via 1d75187ea1f1519b0a390928e18e2e8158b72685 (commit) via bb24b117d8fed6692207ac066ac6fc46867cec93 (commit) via 266820722c96de7e899a755429c970c1e393665b (commit) via df189da83628ccad7819ab48574073c9dc3ecb2f (commit) via edac95b955afdea2d129b32b029bf845dc29cb71 (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 (cc58090bb01be9c687ae307201040e4d9f27ca23) \ N -- N -- N (ed2a6b4d93647fa6f997ecf8432aa065936d9da1) 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=ed2a6b4d93647fa6f997ecf8432aa065936d9da1 commit ed2a6b4d93647fa6f997ecf8432aa065936d9da1 Merge: b3897c5 edac95b Author: Brad KingAuthorDate: Wed Mar 22 12:44:22 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:44:24 2017 -0400 Stage topic '14335-duplicate-else' Topic-id: 23133 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/594 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3897c5f838e186e4ab665ee7edc588a788d0f2b commit b3897c5f838e186e4ab665ee7edc588a788d0f2b Merge: bfa7ca0 ca2ece6 Author: Gregor Jasny AuthorDate: Wed Mar 22 07:13:08 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:43:59 2017 -0400 Stage topic '16624-blas-lapack-documentation' Topic-id: 23163 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/603 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bfa7ca02038fadd1c72e26c844d7cb2c16b8faf5 commit bfa7ca02038fadd1c72e26c844d7cb2c16b8faf5 Merge: bb7a241 805706b Author: Brad King AuthorDate: Tue Mar 21 19:27:56 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:43:59 2017 -0400 Stage topic 'ninja-fortran-depfile-fix' Topic-id: 23158 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/601 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bb7a241f86c9235e97cb09a103c29bb5680dd354 commit bb7a241f86c9235e97cb09a103c29bb5680dd354 Merge: 38c9a42 2c55c14 Author: Brad King AuthorDate: Tue Mar 21 17:17:05 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:43:58 2017 -0400 Stage topic 'FindHDF5-optional-no-config' Topic-id: 23148 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/599 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=38c9a42b6b0e8f3ef9d14448e6b01cf6b26771dc commit 38c9a42b6b0e8f3ef9d14448e6b01cf6b26771dc Merge: 213cd05 feaea06 Author: Brad King AuthorDate: Tue Mar 21 15:16:33 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:43:58 2017 -0400 Stage topic 'cuda_no_ninja_response_support' Topic-id: 23138 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/596 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=213cd05b5264eeaa48f3e8ddb0eac0359b412ae1 commit 213cd05b5264eeaa48f3e8ddb0eac0359b412ae1 Merge: 1d75187
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-553-gcc58090
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 5379a6a630d988cd12532413e98824fb462f (commit) discards e125f0d100dc5085c783344ef131807f58a50800 (commit) discards 52f0588c14fc1b708b26bdcb522fd13074ef6302 (commit) discards 8aadd020004c7106ef16e2fb3e855fe13db78e50 (commit) discards baadd789d981fc47f8b56c54472e6106946b0211 (commit) discards 4fd4d4c48195e7a41d0fc05aa6db5c19959c0fa3 (commit) discards 9e9a9ebb062320896c4735ac71ae5362c9882488 (commit) discards b3f791af4ba1e1cb6c7de95cac88c8244f97e535 (commit) discards 6ba0f1b929884a8ab41a4969e328cb3f4f18780c (commit) discards 067685a69563f74aaf7b8ab138e6017f776340d7 (commit) via cc58090bb01be9c687ae307201040e4d9f27ca23 (commit) via 77e5b3b683470c27f3cfef73c0b5c777383ef3d9 (commit) via 64601c441f5ea323ba2b16fd351760cb4dce6120 (commit) via 8d241e1d1ff431e289681e3701ebe372f46725e4 (commit) via 34f0e30ba3330a641c90e8e9b4121c00d98b8b1e (commit) via 90bd013cadfd642c046183a29b88d2c20d822347 (commit) via 6b2b25256d6a91c19984c57a44705f988b874cd0 (commit) via 9d56545bf15fe9a22f8468ea1a7263701577bdbf (commit) via e49f1273a98ff9fabadeab307d49e43e10960215 (commit) via ee1a83a7d5baa835174d9916aac5df9e11b2a2eb (commit) via 7ebbe4f9d853a5823ef47a13b53ef7e1f469bd2e (commit) via 5fe3630677a9525428de0f5cd40d4846bd6b9113 (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 (5379a6a630d988cd12532413e98824fb462f) \ N -- N -- N (cc58090bb01be9c687ae307201040e4d9f27ca23) 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=cc58090bb01be9c687ae307201040e4d9f27ca23 commit cc58090bb01be9c687ae307201040e4d9f27ca23 Merge: 77e5b3b ca2ece6 Author: Gregor JasnyAuthorDate: Wed Mar 22 07:13:08 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:08:57 2017 -0400 Stage topic '16624-blas-lapack-documentation' Topic-id: 23163 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/603 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=77e5b3b683470c27f3cfef73c0b5c777383ef3d9 commit 77e5b3b683470c27f3cfef73c0b5c777383ef3d9 Merge: 64601c4 805706b Author: Brad King AuthorDate: Tue Mar 21 19:27:56 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:08:57 2017 -0400 Stage topic 'ninja-fortran-depfile-fix' Topic-id: 23158 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/601 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=64601c441f5ea323ba2b16fd351760cb4dce6120 commit 64601c441f5ea323ba2b16fd351760cb4dce6120 Merge: 8d241e1 2c55c14 Author: Brad King AuthorDate: Tue Mar 21 17:17:05 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:08:56 2017 -0400 Stage topic 'FindHDF5-optional-no-config' Topic-id: 23148 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/599 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8d241e1d1ff431e289681e3701ebe372f46725e4 commit 8d241e1d1ff431e289681e3701ebe372f46725e4 Merge: 34f0e30 feaea06 Author: Brad King AuthorDate: Tue Mar 21 15:16:33 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:08:56 2017 -0400 Stage topic 'cuda_no_ninja_response_support' Topic-id: 23138 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/596 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=34f0e30ba3330a641c90e8e9b4121c00d98b8b1e commit 34f0e30ba3330a641c90e8e9b4121c00d98b8b1e Merge: 90bd013 18009aa Author: Brad King AuthorDate: Tue Mar 21 15:13:09 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 08:08:56 2017 -0400 Stage topic 'libarchive-backport-rc4-crypto-rec' Topic-id: 23145 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/598 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=90bd013cadfd642c046183a29b88d2c20d822347 commit 90bd013cadfd642c046183a29b88d2c20d822347 Merge:
[Cmake-commits] CMake branch, master, updated. v3.8.0-rc2-525-g7ebbe4f
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 7ebbe4f9d853a5823ef47a13b53ef7e1f469bd2e (commit) via 5fe3630677a9525428de0f5cd40d4846bd6b9113 (commit) from 564add478dd49f3c444b0f92b22991ea02da30b5 (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/dev/review.rst |7 +++ 1 file changed, 7 insertions(+) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
Re: [cmake-developers] Is it possible to clone an existing target?
On 03/22/2017 03:30 AM, Stanislav Pankevich wrote: > I have a target `MyTarget`. Is there a way I could do something like > > clone_target(MyTarget MyNewTarget) > > so that MyNewTarget appears to be the exact clone (deep copy) > of original target with the only difference of a target name? There is no builtin way to do that, though you might be able to get close with a macro that reads target properties from the original in order to reproduce them with appropriate commands. What is your use case? -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
[cmake-developers] Is it possible to clone an existing target?
Hello, I have a target `MyTarget`. Is there a way I could do something like clone_target(MyTarget MyNewTarget) so that MyNewTarget appears to be the exact clone (deep copy) of original target with the only difference of a target name? P.S. I understand that complex projects may be the edge-cases for a general-purpose cloning routine. I would be fine with a method that does the job in most of the cases. Thanks, Stan -- 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
[Cmake-commits] CMake branch, next, updated. v3.8.0-rc2-551-g5379a6a
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 5379a6a630d988cd12532413e98824fb462f (commit) via ca2ece6a3c74b3873c0dcb475a6fb354d9c33d78 (commit) from e125f0d100dc5085c783344ef131807f58a50800 (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=5379a6a630d988cd12532413e98824fb462f commit 5379a6a630d988cd12532413e98824fb462f Merge: e125f0d ca2ece6 Author: Gregor JasnyAuthorDate: Wed Mar 22 07:13:08 2017 + Commit: Kitware Robot CommitDate: Wed Mar 22 03:13:27 2017 -0400 Stage topic '16624-blas-lapack-documentation' Topic-id: 23163 Topic-url: https://gitlab.kitware.com/cmake/cmake/merge_requests/603 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ca2ece6a3c74b3873c0dcb475a6fb354d9c33d78 commit ca2ece6a3c74b3873c0dcb475a6fb354d9c33d78 Author: Gregor Jasny AuthorDate: Tue Mar 21 21:38:54 2017 +0100 Commit: Gregor Jasny CommitDate: Tue Mar 21 21:38:54 2017 +0100 FindBLAS/LAPACK: Format documentation Closes #16624 diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 853a6b4..2684617 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -32,13 +32,32 @@ # all the possibilities # BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK # -# # ## List of vendors (BLA_VENDOR) valid in this module # -# Goto,OpenBLAS,ATLAS PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL, -# Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit, -# lp thread model, lp64 model), # Intel10_64lp_seq (intel mkl v10 64 -# bit,sequential code, lp64 model), # Intel( older versions of mkl 32 -# and 64 bit), ACML,ACML_MP,ACML_GPU,Apple, NAS, Generic C/CXX should be -# enabled to use Intel mkl +# List of vendors (BLA_VENDOR) valid in this module: +# +# * Goto +# * OpenBLAS +# * ATLAS PhiPACK +# * CXML +# * DXML +# * SunPerf +# * SCSL +# * SGIMATH +# * IBMESSL +# * Intel10_32 (intel mkl v10 32 bit) +# * Intel10_64lp (intel mkl v10 64 bit, lp thread model, lp64 model) +# * Intel10_64lp_seq (intel mkl v10 64 bit, sequential code, lp64 model) +# * Intel (older versions of mkl 32 and 64 bit) +# * ACML +# * ACML_MP +# * ACML_GPU +# * Apple +# * NAS +# * Generic +# +# .. note:: +# +# C/CXX should be enabled to use Intel mkl +# include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake) include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake) diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index fe6af91..a451e6c 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -33,8 +33,15 @@ # all the possibilities # BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK # -# ## List of vendors (BLA_VENDOR) valid in this module # Intel(mkl), -# OpenBLAS, ACML,Apple, NAS, Generic +# List of vendors (BLA_VENDOR) valid in this module: +# +# * Intel(mkl) +# * OpenBLAS +# * ACML +# * Apple +# * NAS +# * Generic +# set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) --- Summary of changes: Modules/FindBLAS.cmake | 33 ++--- Modules/FindLAPACK.cmake | 11 +-- 2 files changed, 35 insertions(+), 9 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits