[cmake-developers] [ANNOUNCE] CMake 3.0-rc5 now ready for testing!
I am proud to announce the CMake 3.0 fifth release candidate. Sources and binaries are available at: http://www.cmake.org/files/v3.0/?C=M;O=D Documentation is available at: http://www.cmake.org/cmake/help/v3.0 Release notes appear below and are also published at http://www.cmake.org/cmake/help/v3.0/release/3.0.0.html Some of the more significant features of CMake 3.0 are: * Compatibility options supporting code written for CMake versions prior to 2.4 have been removed. * The CMake language has been extended with *Bracket Argument* and *Bracket Comment* syntax inspired by Lua long brackets. * The CMake documentation has been converted to reStructuredText and uses Sphix generation. * Generators for Visual Studio 10 (2010) and later were renamed to include the product year like generators for older VS versions: * Visual Studio 10 - Visual Studio 10 2010 * Visual Studio 11 - Visual Studio 11 2012 * Visual Studio 12 - Visual Studio 12 2013 This clarifies which generator goes with each Visual Studio version. The old names are recognized for compatibility. * A new CodeLite extra generator is available for use with the Makefile or Ninja generators. * A new Kate extra generator is available for use with the Makefile or Ninja generators. * The add_library() command learned a new INTERFACE library type. Interface libraries have no build rules but may have properties defining usage requirements and may be installed, exported, and imported. This is useful to create header-only libraries that have concrete link dependencies on other libraries. * The export() command learned a new EXPORT mode that retrieves the list of targets to export from an export set configured by the install(TARGETS) command EXPORT option. This makes it easy to export from the build tree the same targets that are exported from the install tree. * The project() command learned to set some version variables to values specified by the new VERSION option or to empty strings. See policy CMP0048. * Several long-outdated commands that should no longer be called have been disallowed in new code by policies: * Policy CMP0029 disallows subdir_depends() * Policy CMP0030 disallows use_mangled_mesa() * Policy CMP0031 disallows load_command() * Policy CMP0032 disallows output_required_files() * Policy CMP0033 disallows export_library_dependencies() * Policy CMP0034 disallows utility_source() * Policy CMP0035 disallows variable_requires() * Policy CMP0036 disallows build_name() --- Changes made since CMake 3.0.0-rc4: Brad King (10): Utilities/Sphinx: Fix cmake domain document removal with python3 Utilities/Sphinx: Add option to build 'singlehtml' format Restore --help-full option to output all help manuals ExternalProject: Fix path to cmake in verify script KWSys SystemInformation: Include backtrace APIs whenever we use them ctest_build: Do not crash on bad generator name cmTarget: Drop unused GetProperty signature cmTarget: Evaluate CMP0026 in calling context Ninja: Fix deptype for Intel compiler on Linux Eric Berge (1): VS: Fix /MANIFESTUAC:NO linker option mapping Felix Krause (1): InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12 (#14903) Johannes Huber (1): cmake-gui: Fix desktop file icon configuration Mark Wright (2): FindCurses: Honor CURSES_NEED_NCURSES when curses is found FindCurses: Detect and satisfy ncurses dependency on tinfo Rolf Eike Beer (3): CompileFlags: Test for C++ features after selecting flags CompileFlags: Add -AA +hpxstd98 on HP-UX 11.11 with aCC CompileFlags: add better selection which aCC version gets -AA +hpxstd98 flags Tim Blechmann (1): OS X: Fix Info.plist placement in a CFBundle Uwe L. Korn (1): Utilities/Sphinx: Port documentation generation to python3 (#14886) -- 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/cgi-bin/mailman/listinfo/cmake-developers
Re: [CMake] Info.plist with per-configuration information
Hi Tim, I just created a test project t2 with Xcode itself, and in the projects source file t2-Info.plist, I added a Get info string key with a value of This is the ${CONFIGURATION} build. Then, after I build the Debug config, and inspect the generated bundle, the Info.plist inside of it contains the string This is the Debug build. Perhaps you could use a single all-config custom MACOSX_BUNDLE_INFO_PLIST and use similar strings inside it? Or do you need more than just the configuration value as a string to be different in the resulting file? HTH, David C. -- 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://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Info.plist with per-configuration information
hi david, I just created a test project t2 with Xcode itself, and in the projects source file t2-Info.plist, I added a Get info string key with a value of This is the ${CONFIGURATION} build. Then, after I build the Debug config, and inspect the generated bundle, the Info.plist inside of it contains the string This is the Debug build. Perhaps you could use a single all-config custom MACOSX_BUNDLE_INFO_PLIST and use similar strings inside it? Or do you need more than just the configuration value as a string to be different in the resulting file? hmm, i've ended up using configure_file to generate the initial Info.plist, setting both MACOSX_BUNDLE_INFO_PLIST and XCODE_ATTRIBUTE_INFOPLIST_FILE attributes and executing PlistBuddy in a custom command with a generator expression ... not too elegant, but it works with both ninja and xcode ... cheers, tim -- 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://www.cmake.org/mailman/listinfo/cmake
[CMake] [ANNOUNCE] CMake 3.0-rc5 now ready for testing!
I am proud to announce the CMake 3.0 fifth release candidate. Sources and binaries are available at: http://www.cmake.org/files/v3.0/?C=M;O=D Documentation is available at: http://www.cmake.org/cmake/help/v3.0 Release notes appear below and are also published at http://www.cmake.org/cmake/help/v3.0/release/3.0.0.html Some of the more significant features of CMake 3.0 are: * Compatibility options supporting code written for CMake versions prior to 2.4 have been removed. * The CMake language has been extended with *Bracket Argument* and *Bracket Comment* syntax inspired by Lua long brackets. * The CMake documentation has been converted to reStructuredText and uses Sphix generation. * Generators for Visual Studio 10 (2010) and later were renamed to include the product year like generators for older VS versions: * Visual Studio 10 - Visual Studio 10 2010 * Visual Studio 11 - Visual Studio 11 2012 * Visual Studio 12 - Visual Studio 12 2013 This clarifies which generator goes with each Visual Studio version. The old names are recognized for compatibility. * A new CodeLite extra generator is available for use with the Makefile or Ninja generators. * A new Kate extra generator is available for use with the Makefile or Ninja generators. * The add_library() command learned a new INTERFACE library type. Interface libraries have no build rules but may have properties defining usage requirements and may be installed, exported, and imported. This is useful to create header-only libraries that have concrete link dependencies on other libraries. * The export() command learned a new EXPORT mode that retrieves the list of targets to export from an export set configured by the install(TARGETS) command EXPORT option. This makes it easy to export from the build tree the same targets that are exported from the install tree. * The project() command learned to set some version variables to values specified by the new VERSION option or to empty strings. See policy CMP0048. * Several long-outdated commands that should no longer be called have been disallowed in new code by policies: * Policy CMP0029 disallows subdir_depends() * Policy CMP0030 disallows use_mangled_mesa() * Policy CMP0031 disallows load_command() * Policy CMP0032 disallows output_required_files() * Policy CMP0033 disallows export_library_dependencies() * Policy CMP0034 disallows utility_source() * Policy CMP0035 disallows variable_requires() * Policy CMP0036 disallows build_name() --- Changes made since CMake 3.0.0-rc4: Brad King (10): Utilities/Sphinx: Fix cmake domain document removal with python3 Utilities/Sphinx: Add option to build 'singlehtml' format Restore --help-full option to output all help manuals ExternalProject: Fix path to cmake in verify script KWSys SystemInformation: Include backtrace APIs whenever we use them ctest_build: Do not crash on bad generator name cmTarget: Drop unused GetProperty signature cmTarget: Evaluate CMP0026 in calling context Ninja: Fix deptype for Intel compiler on Linux Eric Berge (1): VS: Fix /MANIFESTUAC:NO linker option mapping Felix Krause (1): InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12 (#14903) Johannes Huber (1): cmake-gui: Fix desktop file icon configuration Mark Wright (2): FindCurses: Honor CURSES_NEED_NCURSES when curses is found FindCurses: Detect and satisfy ncurses dependency on tinfo Rolf Eike Beer (3): CompileFlags: Test for C++ features after selecting flags CompileFlags: Add -AA +hpxstd98 on HP-UX 11.11 with aCC CompileFlags: add better selection which aCC version gets -AA +hpxstd98 flags Tim Blechmann (1): OS X: Fix Info.plist placement in a CFBundle Uwe L. Korn (1): Utilities/Sphinx: Port documentation generation to python3 (#14886) -- 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://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] version-info module?
On 05/13/2014 02:50 AM, Yngve Inntjore Levinsen wrote: Hi, Do you meen as in set_target_properties(mytarget PROPERTIES VERSION 1.0 SOVERSION 1) ? Something that would calculate those values based on the ‘current[:revision[:age]]’ values used for version-info as described in the link. Den 12. mai 2014 19:24, skrev Orion Poplawski: Is anyone aware of a cmake module that would be the equivalent of the -version-info mechanism in libtool for generating VERSION and SOVERSION? http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA DivisionFAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com -- 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://www.cmake.org/mailman/listinfo/cmake
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc4-3160-g38645eb
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 38645eb84c62e767e0b1fb24656aa379d798ad42 (commit) via 5f1eae826c2559758a3118659265ffdd976fbd46 (commit) from ef03a75556ce857c91388de10122023f5dc179f5 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=38645eb84c62e767e0b1fb24656aa379d798ad42 commit 38645eb84c62e767e0b1fb24656aa379d798ad42 Merge: ef03a75 5f1eae8 Author: Joe Snyder joe.sny...@kitware.com AuthorDate: Wed May 14 10:52:52 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 10:52:52 2014 -0400 Merge topic 'fix_mumps_coverage' into next 5f1eae82 CTEST: Remove old VistA-FOIA directory before copying http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5f1eae826c2559758a3118659265ffdd976fbd46 commit 5f1eae826c2559758a3118659265ffdd976fbd46 Author: Joseph Snyder joe.sny...@kitware.com AuthorDate: Wed May 14 10:49:50 2014 -0400 Commit: Joseph Snyder joe.sny...@kitware.com CommitDate: Wed May 14 10:49:50 2014 -0400 CTEST: Remove old VistA-FOIA directory before copying Ensure that the directory that holds the MUMPS code is removed before copying the test routines into it. Ensures that the old routines aren't left behind. diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 0475e3e..281bd2d 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2134,6 +2134,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release configure_file( ${CMake_SOURCE_DIR}/Tests/MumpsCoverage/gtm_coverage.mcov.in ${CMake_BINARY_DIR}/Testing/MumpsCoverage/gtm_coverage.mcov) + file(REMOVE_RECURSE ${CMake_BINARY_DIR}/Testing/MumpsCoverage/VistA-FOIA) file(COPY ${CMake_SOURCE_DIR}/Tests/MumpsCoverage/VistA-FOIA DESTINATION ${CMake_BINARY_DIR}/Testing/MumpsCoverage) add_test(NAME CTestGTMCoverage --- Summary of changes: Tests/CMakeLists.txt |1 + 1 file changed, 1 insertion(+) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, release, updated. v3.0.0-rc4-35-gb3ebb8f
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 b3ebb8f4344d4a3665d7be45a34773fecb94c67f (commit) from 9996b9846d5131e98d01c754eb50893d83314c3c (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/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc4-3164-gb3bf963
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 b3bf9631dcb2212c94964a16392c71e7c3cf0b78 (commit) via 90d82db8c6eef78cddd05b80291c98758a862ecc (commit) via 605eba8439fbad4baff7bee225674b207e9238b4 (commit) via 7ceab3d08a86c7ed0ac1f048090688e01e996981 (commit) from 38645eb84c62e767e0b1fb24656aa379d798ad42 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3bf9631dcb2212c94964a16392c71e7c3cf0b78 commit b3bf9631dcb2212c94964a16392c71e7c3cf0b78 Merge: 90d82db 605eba8 Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 11:19:06 2014 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Wed May 14 11:19:06 2014 -0400 Merge branch 'master' into next http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=90d82db8c6eef78cddd05b80291c98758a862ecc commit 90d82db8c6eef78cddd05b80291c98758a862ecc Merge: 38645eb 7ceab3d Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 11:18:57 2014 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Wed May 14 11:18:57 2014 -0400 Merge branch 'master' into next --- 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/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake annotated tag, v3.0.0-rc5, created. v3.0.0-rc5
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The annotated tag, v3.0.0-rc5 has been created at fa5f5b26756de2ae810f1acf216fba093e4a12ac (tag) tagging b3ebb8f4344d4a3665d7be45a34773fecb94c67f (commit) replaces v3.0.0-rc4 tagged by Brad King on Wed May 14 11:21:26 2014 -0400 - Log - CMake 3.0.0-rc5 -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAABAgAGBQJTc4n6AAoJEOyP7zp7+07afyMP/1HkOSsBl16RS/gHQ+K2Wcb8 8ueZBUuLTgMoxcg1dwoEJxhS7EoGTi2XQ4yhfg1mcZNF4XAx+p+6V0YeR9aHRV2S zlWphSPn2zcfiVzdelwMB8eta0kwD5cV8tZigjwVQQW7p3VYNcwTgE9B80oQW4WE To3CFX7ybUvaKLAlz6LuYzD6QwdDwE9c64Dy4/YEeAf+12PJgWv47AuUo5fidx4v L8pHqoUIuTOdHTAiV2ctmDJKB7Xf5d1Zz0iovndtGdz6TGssg7nmeI+ffZcdlBMy 82s2JYtjXWz0VTur9eys8iXyV3rYwgc/f8d1/bGA1QKlZFiIQgYnno9HTvWGcUqv 6JBt4O6FKvHqu95f7Qkwn/fQRfT4LR7uRQQ3iKfzjY9yU5Bm32k80WQirFGALehE hbNn7oZ3cYn8lzH8UAblhyg9tHtsmlJ7+zgbFmtVPNftr3b5/yMJlLVkFvry9P65 hXyfgiWKdtAEeAvulOwJhmPylCuKybw+C43I2/gH65xwk3j6mOawYMrDuBDfKIwI 761xHIQqVCsVLEq2KXgtDvqNPVv2UF55bg96mBATy2sovsSHF9B2iTwaohL3cXq2 4XBrxzy+65JXPdKNicNrT6Ez6I+XCE/bKkufXgkP5WJI93vJw8IAywjD065sOJqm mnwVmBTWoCrMgWIHzLvs =ZwDH -END PGP SIGNATURE- Brad King (25): Merge branch 'sphinx-python3' into release Merge branch 'osx-CFBundle-info-plist' into release Utilities/Sphinx: Fix cmake domain document removal with python3 Merge branch 'sphinx-python3' into release Utilities/Sphinx: Add option to build 'singlehtml' format Restore --help-full option to output all help manuals Merge branch 'doc-full-help' into release Merge branch 'doc-singlehtml' into release ExternalProject: Fix path to cmake in verify script Merge branch 'ExternalProject-verify-cmake-var' into release Merge branch 'InstallRequiredSystemLibraries-vs12-mfc' into release KWSys SystemInformation: Include backtrace APIs whenever we use them Merge branch 'backport-kwsys-compile-fix' into release Merge branch 'hpux-compile' into release Merge branch 'ncurses-tinfo' into release ctest_build: Do not crash on bad generator name Merge branch 'ctest-bad-generator' into release Merge branch 'desktop-icon' into release Merge branch 'vs-fix-MANIFESTUAC' into release cmTarget: Drop unused GetProperty signature cmTarget: Evaluate CMP0026 in calling context Merge branch 'backport-target-property-policy-context' into release Ninja: Fix deptype for Intel compiler on Linux Merge branch 'ninja-intel-linux' into release CMake 3.0.0-rc5 Eric Berge (1): VS: Fix /MANIFESTUAC:NO linker option mapping Felix Krause (1): InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12 (#14903) Johannes Huber (1): cmake-gui: Fix desktop file icon configuration Mark Wright (2): FindCurses: Honor CURSES_NEED_NCURSES when curses is found FindCurses: Detect and satisfy ncurses dependency on tinfo Rolf Eike Beer (3): CompileFlags: Test for C++ features after selecting flags CompileFlags: Add -AA +hpxstd98 on HP-UX 11.11 with aCC CompileFlags: add better selection which aCC version gets -AA +hpxstd98 flags Tim Blechmann (1): OS X: Fix Info.plist placement in a CFBundle Uwe L. Korn (1): Utilities/Sphinx: Port documentation generation to python3 (#14886) --- hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.0.0-rc4-906-g605eba8
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 605eba8439fbad4baff7bee225674b207e9238b4 (commit) via b3ebb8f4344d4a3665d7be45a34773fecb94c67f (commit) from 7ceab3d08a86c7ed0ac1f048090688e01e996981 (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/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3131-g10e4f66
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 10e4f66f7081a9c49e7b5349d082e9d3f9c3a9b2 (commit) via 2aa301c507de311b56660b8b076fae853a3802e6 (commit) from b3bf9631dcb2212c94964a16392c71e7c3cf0b78 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=10e4f66f7081a9c49e7b5349d082e9d3f9c3a9b2 commit 10e4f66f7081a9c49e7b5349d082e9d3f9c3a9b2 Merge: b3bf963 2aa301c Author: Joe Snyder joe.sny...@kitware.com AuthorDate: Wed May 14 11:58:25 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 11:58:25 2014 -0400 Merge topic 'fix_mumps_coverage' into next 2aa301c5 CTEST: Add folder removal to Cache Coverage test http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2aa301c507de311b56660b8b076fae853a3802e6 commit 2aa301c507de311b56660b8b076fae853a3802e6 Author: Joseph Snyder joe.sny...@kitware.com AuthorDate: Wed May 14 11:57:08 2014 -0400 Commit: Joseph Snyder joe.sny...@kitware.com CommitDate: Wed May 14 11:57:08 2014 -0400 CTEST: Add folder removal to Cache Coverage test Add the recursive removal of files to the MumpsCacheCoverage test as well. diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 281bd2d..b397171 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2152,6 +2152,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release configure_file( ${CMake_SOURCE_DIR}/Tests/MumpsCoverage/cache_coverage.cmcov.in ${CMake_BINARY_DIR}/Testing/MumpsCacheCoverage/cache_coverage.cmcov) + file(REMOVE_RECURSE ${CMake_BINARY_DIR}/Testing/MumpsCacheCoverage/VistA-FOIA) file(COPY ${CMake_SOURCE_DIR}/Tests/MumpsCoverage/VistA-FOIA DESTINATION ${CMake_BINARY_DIR}/Testing/MumpsCacheCoverage) add_test(NAME CTestCacheCoverage --- Summary of changes: Tests/CMakeLists.txt |1 + 1 file changed, 1 insertion(+) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3133-gc4e7aa4
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 c4e7aa4be00c890f1b7cf09ef0bb79b95cd44aaa (commit) via 62a4a67dc54f3b796cd2735b230a863815d932b2 (commit) from 10e4f66f7081a9c49e7b5349d082e9d3f9c3a9b2 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c4e7aa4be00c890f1b7cf09ef0bb79b95cd44aaa commit c4e7aa4be00c890f1b7cf09ef0bb79b95cd44aaa Merge: 10e4f66 62a4a67 Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 13:57:16 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 13:57:16 2014 -0400 Merge topic 'WriteCompilerDetectionHeader-module' into next 62a4a67d Add the WriteCompilerDetectionHeader module. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=62a4a67dc54f3b796cd2735b230a863815d932b2 commit 62a4a67dc54f3b796cd2735b230a863815d932b2 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Oct 21 16:59:40 2013 +0200 Commit: Brad King brad.k...@kitware.com CommitDate: Wed May 14 13:57:30 2014 -0400 Add the WriteCompilerDetectionHeader module. Provide a function to write a portable header to detect compiler features. Generate a preprocessor #error for unknown compilers and compiler versions whose features are not yet recorded. This error condition might be relaxed in the future, but for now it is useful for verification of expectations. diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst index 2bbe622..ecc9cc4 100644 --- a/Help/manual/cmake-modules.7.rst +++ b/Help/manual/cmake-modules.7.rst @@ -232,3 +232,4 @@ All Modules /module/UsewxWidgets /module/Use_wxWindows /module/WriteBasicConfigVersionFile + /module/WriteCompilerDetectionHeader diff --git a/Help/module/WriteCompilerDetectionHeader.rst b/Help/module/WriteCompilerDetectionHeader.rst new file mode 100644 index 000..4c81b48 --- /dev/null +++ b/Help/module/WriteCompilerDetectionHeader.rst @@ -0,0 +1 @@ +.. cmake-module:: ../../Modules/WriteCompilerDetectionHeader.cmake diff --git a/Help/release/dev/module-WriteCompilerDetectionHeader.rst b/Help/release/dev/module-WriteCompilerDetectionHeader.rst new file mode 100644 index 000..10e7b86 --- /dev/null +++ b/Help/release/dev/module-WriteCompilerDetectionHeader.rst @@ -0,0 +1,5 @@ +module-WriteCompilerDetectionHeader +--- + +* The :module:`WriteCompilerDetectionHeader` module was added to allow + creation of a portable header file for compiler optional feature detection. diff --git a/Modules/WriteCompilerDetectionHeader.cmake b/Modules/WriteCompilerDetectionHeader.cmake new file mode 100644 index 000..fd236c1 --- /dev/null +++ b/Modules/WriteCompilerDetectionHeader.cmake @@ -0,0 +1,401 @@ +#.rst: +# WriteCompilerDetectionHeader +# +# +# This module provides the function write_compiler_detection_header(). +# +# The ``WRITE_COMPILER_DETECTION_HEADER`` function can be used to generate +# a file suitable for preprocessor inclusion which contains macros to be +# used in source code:: +# +#write_compiler_detection_header( +# FILE file +# PREFIX prefix +# COMPILERS compiler [...] +# FEATURES feature [...] +# [VERSION version] +# [PROLOG prolog] +# [EPILOG epilog] +#) +# +# The ``write_compiler_detection_header`` function generates the +# file ``file`` with macros which all have the prefix ``prefix``. +# +# ``VERSION`` may be used to specify the API version to be generated. +# Future versions of CMake may introduce alternative APIs. A given +# API is selected by any ``version`` value greater than or equal +# to the version of CMake that introduced the given API and less +# than the version of CMake that introduced its succeeding API. +# The value of the :variable:`CMAKE_MINIMUM_REQUIRED_VERSION` +# variable is used if no explicit version is specified. +# (As of CMake version |release| there is only one API version.) +# +# ``PROLOG`` may be specified as text content to write at the start of the +# header. ``EPILOG`` may be specified as text content to write at the end +# of the header +# +# At least one ``compiler`` and one ``feature`` must be listed. Compilers +# which are known to CMake, but not specified are detected and a preprocessor +# ``#error`` is generated for them. A preprocessor macro matching +# ``PREFIX_COMPILER_IS_compiler`` is generated for each compiler +# known to CMake to contain the value ``0`` or ``1``. +# +# Possible compiler identifiers are documented with the +#
[Cmake-commits] CMake branch, master, updated. v3.0.0-rc5-876-g07163ca
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 07163ca0701485785372c07d53c76dc7f52765b1 (commit) via 7fa16df4d7ce963dda98a6c5d54f528db7a29037 (commit) via 7762c57405d3b0daefc484a5e07bc24e04701615 (commit) from 2e347eb1837d85c0323b51322f267e69a7bd680f (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=07163ca0701485785372c07d53c76dc7f52765b1 commit 07163ca0701485785372c07d53c76dc7f52765b1 Merge: 2e347eb 7fa16df Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 13:58:32 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 13:58:32 2014 -0400 Merge topic 'update-kwsys' 7fa16df4 Merge branch 'upstream-kwsys' into update-kwsys 7762c574 KWSys 2014-05-07 (6074f33f) --- Summary of changes: Source/kwsys/CommandLineArguments.cxx | 10 +- Source/kwsys/Glob.cxx | 31 ++-- Source/kwsys/Glob.hxx.in |4 +- Source/kwsys/RegularExpression.cxx |7 - Source/kwsys/RegularExpression.hxx.in | 43 +- Source/kwsys/SystemTools.cxx | 214 ++-- Source/kwsys/SystemTools.hxx.in| 18 +-- Source/kwsys/testCommandLineArguments.cxx |2 +- Source/kwsys/testCommandLineArguments1.cxx |4 +- Source/kwsys/testSystemTools.cxx |8 +- 10 files changed, 185 insertions(+), 156 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3137-ga5b7c93
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 a5b7c93d014d9407b30a01f9f2f3e062c68e607e (commit) via 775458dede98d28fe81ac878541a6ead735443fc (commit) via 07163ca0701485785372c07d53c76dc7f52765b1 (commit) via 2e347eb1837d85c0323b51322f267e69a7bd680f (commit) from c4e7aa4be00c890f1b7cf09ef0bb79b95cd44aaa (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a5b7c93d014d9407b30a01f9f2f3e062c68e607e commit a5b7c93d014d9407b30a01f9f2f3e062c68e607e Merge: c4e7aa4 775458d Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 13:59:49 2014 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Wed May 14 13:59:49 2014 -0400 Merge branch 'master' into next --- Summary of changes: hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.0.0-rc5-873-g2e347eb
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 2e347eb1837d85c0323b51322f267e69a7bd680f (commit) via 62a4a67dc54f3b796cd2735b230a863815d932b2 (commit) from 605eba8439fbad4baff7bee225674b207e9238b4 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2e347eb1837d85c0323b51322f267e69a7bd680f commit 2e347eb1837d85c0323b51322f267e69a7bd680f Merge: 605eba8 62a4a67 Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 13:58:30 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 13:58:30 2014 -0400 Merge topic 'WriteCompilerDetectionHeader-module' 62a4a67d Add the WriteCompilerDetectionHeader module. --- Summary of changes: Help/manual/cmake-modules.7.rst|1 + Help/module/WriteCompilerDetectionHeader.rst |1 + .../dev/module-WriteCompilerDetectionHeader.rst|5 + Modules/WriteCompilerDetectionHeader.cmake | 401 Tests/CMakeLists.txt |2 + .../WriteCompilerDetectionHeader/CMakeLists.txt| 79 Tests/Module/WriteCompilerDetectionHeader/main.cpp | 19 + Tests/RunCMake/CMakeLists.txt |1 + .../WriteCompilerDetectionHeader/CMakeLists.txt|3 + .../ExtraArgs-result.txt} |0 .../ExtraArgs-stderr.txt |5 + .../WriteCompilerDetectionHeader/ExtraArgs.cmake | 10 + .../FileTypo-result.txt} |0 .../FileTypo-stderr.txt|5 + .../WriteCompilerDetectionHeader/FileTypo.cmake|7 + .../InvalidArgs-result.txt}|0 .../InvalidArgs-stderr.txt | 11 + .../WriteCompilerDetectionHeader/InvalidArgs.cmake |6 + .../InvalidCXXFeature-result.txt} |0 .../InvalidCXXFeature-stderr.txt |5 + .../InvalidCXXFeature.cmake| 10 + .../InvalidCompiler-result.txt}|0 .../InvalidCompiler-stderr.txt |5 + .../InvalidCompiler.cmake | 10 + .../InvalidFeature-result.txt} |0 .../InvalidFeature-stderr.txt |5 + .../InvalidFeature.cmake | 10 + .../NoCompiler-result.txt} |0 .../NoCompiler-stderr.txt |6 + .../WriteCompilerDetectionHeader/NoCompiler.cmake | 10 + .../NoFeature-result.txt} |0 .../NoFeature-stderr.txt |6 + .../WriteCompilerDetectionHeader/NoFeature.cmake | 10 + .../OldVersion-result.txt} |0 .../OldVersion-stderr.txt |5 + .../WriteCompilerDetectionHeader/OldVersion.cmake | 10 + .../PrefixTypo-result.txt} |0 .../PrefixTypo-stderr.txt |5 + .../WriteCompilerDetectionHeader/PrefixTypo.cmake |7 + .../RunCMakeTest.cmake | 12 + 40 files changed, 672 insertions(+) create mode 100644 Help/module/WriteCompilerDetectionHeader.rst create mode 100644 Help/release/dev/module-WriteCompilerDetectionHeader.rst create mode 100644 Modules/WriteCompilerDetectionHeader.cmake create mode 100644 Tests/Module/WriteCompilerDetectionHeader/CMakeLists.txt create mode 100644 Tests/Module/WriteCompilerDetectionHeader/main.cpp create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/CMakeLists.txt copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = WriteCompilerDetectionHeader/ExtraArgs-result.txt} (100%) create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/ExtraArgs-stderr.txt create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/ExtraArgs.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = WriteCompilerDetectionHeader/FileTypo-result.txt} (100%) create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/FileTypo-stderr.txt create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/FileTypo.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = WriteCompilerDetectionHeader/InvalidArgs-result.txt} (100%) create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/InvalidArgs-stderr.txt create mode 100644 Tests/RunCMake/WriteCompilerDetectionHeader/InvalidArgs.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt =
[Cmake-commits] CMake branch, master, updated. v3.0.0-rc5-878-g775458d
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 775458dede98d28fe81ac878541a6ead735443fc (commit) via 24bd7ae11af5dc989e569fee8422018a92c4f23e (commit) from 07163ca0701485785372c07d53c76dc7f52765b1 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=775458dede98d28fe81ac878541a6ead735443fc commit 775458dede98d28fe81ac878541a6ead735443fc Merge: 07163ca 24bd7ae Author: Brad King brad.k...@kitware.com AuthorDate: Wed May 14 13:58:33 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 13:58:33 2014 -0400 Merge topic 'fix-atomic-rename-Windows-sharing-violation' 24bd7ae1 cmSystemTools::RenameFile: Retry on Windows ERROR_SHARING_VIOLATION --- Summary of changes: Source/cmSystemTools.cxx |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3139-ge273338
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 e27333898cef5944c617d0bcc544b44d9e4b8faa (commit) via c042642a3776d47be060da644fc4676e1729fbdb (commit) from a5b7c93d014d9407b30a01f9f2f3e062c68e607e (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e27333898cef5944c617d0bcc544b44d9e4b8faa commit e27333898cef5944c617d0bcc544b44d9e4b8faa Merge: a5b7c93 c042642 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed May 14 17:46:25 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 17:46:25 2014 -0400 Merge topic 'compile-features-C-language' into next c042642a Features: Extend concept to C language. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c042642a3776d47be060da644fc4676e1729fbdb commit c042642a3776d47be060da644fc4676e1729fbdb Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Nov 4 01:15:43 2013 +0100 Commit: Stephen Kelly steve...@gmail.com CommitDate: Wed May 14 23:40:28 2014 +0200 Features: Extend concept to C language. Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a PREFIX_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature. diff --git a/Help/command/target_compile_features.rst b/Help/command/target_compile_features.rst index f8e5c54..9559600 100644 --- a/Help/command/target_compile_features.rst +++ b/Help/command/target_compile_features.rst @@ -8,7 +8,8 @@ Add expected compiler features to a target. target_compile_features(target PRIVATE|PUBLIC|INTERFACE feature [...]) Specify compiler features required when compiling a given target. If the -feature is not listed in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable, +feature is not listed in the :variable:`CMAKE_C_COMPILE_FEATURES` variable +or :variable:`CMAKE_CXX_COMPILE_FEATURES` variable, then an error will be reported by CMake. If the use of the feature requires an additional compiler flag, such as ``-std=c++11``, the flag will be added automatically. diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst index 14d2e7f..a204a9c 100644 --- a/Help/manual/cmake-properties.7.rst +++ b/Help/manual/cmake-properties.7.rst @@ -16,6 +16,7 @@ Properties of Global Scope /prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS /prop_gbl/AUTOGEN_TARGETS_FOLDER /prop_gbl/AUTOMOC_TARGETS_FOLDER + /prop_gbl/CMAKE_C_KNOWN_FEATURES /prop_gbl/CMAKE_CXX_KNOWN_FEATURES /prop_gbl/DEBUG_CONFIGURATIONS /prop_gbl/DISABLED_FEATURES @@ -93,6 +94,9 @@ Properties on Targets /prop_tgt/BUILD_WITH_INSTALL_RPATH /prop_tgt/BUNDLE_EXTENSION /prop_tgt/BUNDLE + /prop_tgt/C_EXTENSIONS + /prop_tgt/C_STANDARD + /prop_tgt/C_STANDARD_REQUIRED /prop_tgt/COMPATIBLE_INTERFACE_BOOL /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index a7d4af6..b2dc88f 100644 --- a/Help/manual/cmake-variables.7.rst +++ b/Help/manual/cmake-variables.7.rst @@ -260,6 +260,10 @@ Variables for Languages :maxdepth: 1 /variable/CMAKE_COMPILER_IS_GNULANG + /variable/CMAKE_C_COMPILE_FEATURES + /variable/CMAKE_C_EXTENSIONS + /variable/CMAKE_C_STANDARD + /variable/CMAKE_C_STANDARD_REQUIRED /variable/CMAKE_CXX_COMPILE_FEATURES /variable/CMAKE_CXX_EXTENSIONS /variable/CMAKE_CXX_STANDARD diff --git a/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst new file mode 100644 index 000..c57bc73 --- /dev/null +++ b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst @@ -0,0 +1,25 @@ +CMAKE_C_KNOWN_FEATURES +-- + +List of C features known to this version of CMake. + +The features listed in this global property may be known to be available to the +C compiler. If the feature is available with the C compiler, it will +be listed in the :variable:`CMAKE_C_COMPILE_FEATURES` variable. + +The features listed here may be used with the :command:`target_compile_features` +command. + +The features known to this version of CMake are: + +``c_function_prototypes`` + Function prototypes, as defined in ``ISO/IEC 9899:1990``. + +``c_restrict`` + ``restrict`` keyword, as defined in ``ISO/IEC 9899:1999``. + +``c_static_assert`` + Static assert, as defined in ``ISO/IEC 9899:2011``. + +``c_variadic_macros`` +
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3142-g27da992
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 27da992426b38969cf1399a7018a5b6f005f6b71 (commit) via 920598131076f18bfe2c051c30e48d75deb1dcd2 (commit) via 5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53 (commit) from e27333898cef5944c617d0bcc544b44d9e4b8faa (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=27da992426b38969cf1399a7018a5b6f005f6b71 commit 27da992426b38969cf1399a7018a5b6f005f6b71 Merge: e273338 9205981 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed May 14 18:06:06 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 18:06:06 2014 -0400 Merge topic 'minor-cleanups' into next 92059813 Features: Use the features symbol in the feature-test compile. 5c04dfe4 Features: Only require AppleClang policy to be NEW on APPLE. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=920598131076f18bfe2c051c30e48d75deb1dcd2 commit 920598131076f18bfe2c051c30e48d75deb1dcd2 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed May 14 23:56:53 2014 +0200 Commit: Stephen Kelly steve...@gmail.com CommitDate: Wed May 14 23:56:53 2014 +0200 Features: Use the features symbol in the feature-test compile. Clang discards the entire string if it is not used, removing the ability to read the features from the compiled binary. That is prevented by using the symbol. diff --git a/Modules/Internal/FeatureTesting.cmake b/Modules/Internal/FeatureTesting.cmake index 7bf6d91..bea1cfa 100644 --- a/Modules/Internal/FeatureTesting.cmake +++ b/Modules/Internal/FeatureTesting.cmake @@ -20,7 +20,7 @@ macro(record_compiler_features lang compile_flags feature_list) endif() endforeach() file(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc} -\n};\n\nint main() { return 0; }\n) +\n};\n\nint main() { (void)features; return 0; }\n) try_compile(CMAKE_${lang}_FEATURE_TEST ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc} http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53 commit 5c04dfe465d85be3d11f37d16d6ebcafbdcb7d53 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed May 14 23:55:34 2014 +0200 Commit: Stephen Kelly steve...@gmail.com CommitDate: Wed May 14 23:55:34 2014 +0200 Features: Only require AppleClang policy to be NEW on APPLE. diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake index a1b3a10..0409c24 100644 --- a/Modules/Compiler/Clang-CXX.cmake +++ b/Modules/Compiler/Clang-CXX.cmake @@ -6,7 +6,7 @@ if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL MSVC) endif() cmake_policy(GET CMP0025 appleClangPolicy) -if(NOT appleClangPolicy STREQUAL NEW) +if(APPLE AND NOT appleClangPolicy STREQUAL NEW) return() endif() --- Summary of changes: Modules/Compiler/Clang-CXX.cmake |2 +- Modules/Internal/FeatureTesting.cmake |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3144-g1c69673
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 1c6967306ae58b03df273661dd9076ee1853aa46 (commit) via 2ea825ad09040ef91d31c2008c4cb5f3483dd26b (commit) from 27da992426b38969cf1399a7018a5b6f005f6b71 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1c6967306ae58b03df273661dd9076ee1853aa46 commit 1c6967306ae58b03df273661dd9076ee1853aa46 Merge: 27da992 2ea825a Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed May 14 18:12:39 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 18:12:39 2014 -0400 Merge topic 'compile-features-C-language' into next 2ea825ad Extend release notes. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2ea825ad09040ef91d31c2008c4cb5f3483dd26b commit 2ea825ad09040ef91d31c2008c4cb5f3483dd26b Author: Stephen Kelly steve...@gmail.com AuthorDate: Thu May 15 00:11:54 2014 +0200 Commit: Stephen Kelly steve...@gmail.com CommitDate: Thu May 15 00:11:54 2014 +0200 Extend release notes. diff --git a/Help/release/dev/compile-language-features.rst b/Help/release/dev/compile-language-features.rst index 3c5d7ca..fe72e39 100644 --- a/Help/release/dev/compile-language-features.rst +++ b/Help/release/dev/compile-language-features.rst @@ -7,6 +7,12 @@ target-language-features :variable:`CMAKE_CXX_STANDARD` and :variable:`CMAKE_CXX_EXTENSIONS` variables may be set to initialize the target properties. +* New :prop_tgt:`C_STANDARD` and :prop_tgt:`C_EXTENSIONS` target + properties may specify values which CMake uses to compute required + compile options such as ``-std=c11`` or ``-std=gnu11``. The + :variable:`CMAKE_C_STANDARD` and :variable:`CMAKE_C_EXTENSIONS` + variables may be set to initialize the target properties. + * New :prop_tgt:`COMPILE_FEATURES` target property may contain a list of features required to compile a target. CMake uses this information to ensure that the compiler in use is capable of building --- Summary of changes: Help/release/dev/compile-language-features.rst |6 ++ 1 file changed, 6 insertions(+) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3146-g5e67fa2
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 5e67fa29d5a7d77524abcbba8168c8297f52d8d2 (commit) via e0890d03a48d12904ffe24aa94fb2847d8d5f4e7 (commit) from 1c6967306ae58b03df273661dd9076ee1853aa46 (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5e67fa29d5a7d77524abcbba8168c8297f52d8d2 commit 5e67fa29d5a7d77524abcbba8168c8297f52d8d2 Merge: 1c69673 e0890d0 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed May 14 18:15:31 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed May 14 18:15:31 2014 -0400 Merge topic 'compile-features-C-language' into next e0890d03 Features: Extend concept to C language. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e0890d03a48d12904ffe24aa94fb2847d8d5f4e7 commit e0890d03a48d12904ffe24aa94fb2847d8d5f4e7 Author: Stephen Kelly steve...@gmail.com AuthorDate: Mon Nov 4 01:15:43 2013 +0100 Commit: Stephen Kelly steve...@gmail.com CommitDate: Thu May 15 00:15:18 2014 +0200 Features: Extend concept to C language. Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a PREFIX_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature. diff --git a/Help/command/target_compile_features.rst b/Help/command/target_compile_features.rst index f8e5c54..9559600 100644 --- a/Help/command/target_compile_features.rst +++ b/Help/command/target_compile_features.rst @@ -8,7 +8,8 @@ Add expected compiler features to a target. target_compile_features(target PRIVATE|PUBLIC|INTERFACE feature [...]) Specify compiler features required when compiling a given target. If the -feature is not listed in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable, +feature is not listed in the :variable:`CMAKE_C_COMPILE_FEATURES` variable +or :variable:`CMAKE_CXX_COMPILE_FEATURES` variable, then an error will be reported by CMake. If the use of the feature requires an additional compiler flag, such as ``-std=c++11``, the flag will be added automatically. diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst index 14d2e7f..a204a9c 100644 --- a/Help/manual/cmake-properties.7.rst +++ b/Help/manual/cmake-properties.7.rst @@ -16,6 +16,7 @@ Properties of Global Scope /prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS /prop_gbl/AUTOGEN_TARGETS_FOLDER /prop_gbl/AUTOMOC_TARGETS_FOLDER + /prop_gbl/CMAKE_C_KNOWN_FEATURES /prop_gbl/CMAKE_CXX_KNOWN_FEATURES /prop_gbl/DEBUG_CONFIGURATIONS /prop_gbl/DISABLED_FEATURES @@ -93,6 +94,9 @@ Properties on Targets /prop_tgt/BUILD_WITH_INSTALL_RPATH /prop_tgt/BUNDLE_EXTENSION /prop_tgt/BUNDLE + /prop_tgt/C_EXTENSIONS + /prop_tgt/C_STANDARD + /prop_tgt/C_STANDARD_REQUIRED /prop_tgt/COMPATIBLE_INTERFACE_BOOL /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index a7d4af6..b2dc88f 100644 --- a/Help/manual/cmake-variables.7.rst +++ b/Help/manual/cmake-variables.7.rst @@ -260,6 +260,10 @@ Variables for Languages :maxdepth: 1 /variable/CMAKE_COMPILER_IS_GNULANG + /variable/CMAKE_C_COMPILE_FEATURES + /variable/CMAKE_C_EXTENSIONS + /variable/CMAKE_C_STANDARD + /variable/CMAKE_C_STANDARD_REQUIRED /variable/CMAKE_CXX_COMPILE_FEATURES /variable/CMAKE_CXX_EXTENSIONS /variable/CMAKE_CXX_STANDARD diff --git a/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst new file mode 100644 index 000..c57bc73 --- /dev/null +++ b/Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst @@ -0,0 +1,25 @@ +CMAKE_C_KNOWN_FEATURES +-- + +List of C features known to this version of CMake. + +The features listed in this global property may be known to be available to the +C compiler. If the feature is available with the C compiler, it will +be listed in the :variable:`CMAKE_C_COMPILE_FEATURES` variable. + +The features listed here may be used with the :command:`target_compile_features` +command. + +The features known to this version of CMake are: + +``c_function_prototypes`` + Function prototypes, as defined in ``ISO/IEC 9899:1990``. + +``c_restrict`` + ``restrict`` keyword, as defined in ``ISO/IEC 9899:1999``. + +``c_static_assert`` + Static assert, as defined in ``ISO/IEC 9899:2011``. + +``c_variadic_macros`` +
[Cmake-commits] CMake branch, master, updated. v3.0.0-rc5-879-g1f1df31
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 1f1df31a36d4af212e83d6a9d8b6528dd983b422 (commit) from 775458dede98d28fe81ac878541a6ead735443fc (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 - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1f1df31a36d4af212e83d6a9d8b6528dd983b422 commit 1f1df31a36d4af212e83d6a9d8b6528dd983b422 Author: Kitware Robot kwro...@kitware.com AuthorDate: Thu May 15 00:01:21 2014 -0400 Commit: Kitware Robot kwro...@kitware.com CommitDate: Thu May 15 00:01:21 2014 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index ea8cdf8..1d7c127 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 0) -set(CMake_VERSION_PATCH 20140514) +set(CMake_VERSION_PATCH 20140515) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits