[CMake] When is escaping of space characters in parameters really needed?
Hello, I would like to construct a custom command for the tool Latexmk. http://www.cmake.org/cmake/help/v3.2/command/add_custom_command.html The corresponding Perl script can handle a parameter like pdflatex. If I omit the parameter VERBATIM, the current CMake software will add backslashes before space characters. Example: … -pdf -pdflatex='/usr/bin/pdflatex\ -halt-on-error\ --shell-escape\ %O\ %S' … Can such an adjustment of the really desired string value be avoided anyhow? Should the value work also without the shown escaping? Regards, Markus -- 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-developers] cmake --help-policy CMP0057 MAIN_DEPENDENCY
On 05/12/2015 07:23 AM, James Bigler wrote: OK, thanks. I still think that if there is a difference in behavior for Makefile generators between MAIN_DEPENDENCY and DEPENDENCY there is a bug in CMake. Perhaps there needs to be bug filed for that. Here's the documentation: In makefile terms this creates a new target in the following form:: OUTPUT: MAIN_DEPENDENCY DEPENDS COMMAND For a makefile, there shouldn't be a difference between the dependency coming in on MAIN_DEPENDENCY or DEPENDENCY. CMake is doing something else with that property. I would prefer that too but the add_custom_command() implementation which handles MAIN_DEPENDENCY and DEPENDENCY and attaches commands to source files is common to all generators. Treating MAIN_DEPENDENCY and DEPENDENCY the same for Makefiles in this case would break existing projects (when using the Makefile generators) when they list the source file named by MAIN_DEPENDENCY but not the source file named by OUTPUT since then the custom command would not get emitted at all. 2. I'm curious why this causes a problem. It seems to me that dummy.cpp should be present by the time the add_custom_command is even run, Yes, it is. so why would it care whether it was created by CMake or anything else? That isn't the issue. The test case failure depends on the presence of the custom command but the custom command is not involved in creation of dummy.cpp; it only uses it as input. Due to MAIN_DEPENDENCY the custom command is attached to dummy.cpp. I think the issue is due to cmake trying to attach the command used to compile dummy.cpp itself as a custom command as well. [1] Nils [1] http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmLocalGenerator.cxx;h=88c88cd133a753fc319a785e116fdb8e6d5fd94a;hb=HEAD#l580 -- 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.2.2-2697-g4283712
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 4283712685e5e31ff05db587ea7cfcfdc203f447 (commit) via 7953867ba46223dfab373ce58cff0a4bc20c3864 (commit) from 1b28de9174cb01ffc2fea5097208a2210934adde (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=4283712685e5e31ff05db587ea7cfcfdc203f447 commit 4283712685e5e31ff05db587ea7cfcfdc203f447 Merge: 1b28de9 7953867 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 13:47:59 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 13:47:59 2015 -0400 Merge topic 'FindJava-openjdk-8' into next 7953867b FindJava: Fix OpenJDK 8 version detection (#15565) http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7953867ba46223dfab373ce58cff0a4bc20c3864 commit 7953867ba46223dfab373ce58cff0a4bc20c3864 Author: Felix Geyer de...@ubuntu.com AuthorDate: Tue May 12 13:45:43 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 13:46:12 2015 -0400 FindJava: Fix OpenJDK 8 version detection (#15565) The openjdk-8 (8u45-b14-2) package on Debian unstable has extra text after the version number components. Match this and add it to the reported version string. diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake index bb73853..9e43174 100644 --- a/Modules/FindJava.cmake +++ b/Modules/FindJava.cmake @@ -137,7 +137,7 @@ if(Java_JAVA_EXECUTABLE) elseif(var MATCHES java full version \kaffe-([0-9]+\\.[0-9]+\\.[0-9_]+)\) # Kaffe style set(Java_VERSION_STRING ${CMAKE_MATCH_1}) - elseif(var MATCHES openjdk version \([0-9]+\\.[0-9]+\\.[0-9_]+)\) + elseif(var MATCHES openjdk version \([0-9]+\\.[0-9]+\\.[0-9_]+.*)\) # OpenJDK ver 1.7.x on OpenBSD set(Java_VERSION_STRING ${CMAKE_MATCH_1}) else() --- Summary of changes: Modules/FindJava.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-developers] [CMake 0015565]: Add support for openjdk 8
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15565 == Reported By:Felix Geyer Assigned To: == Project:CMake Issue ID: 15565 Category: Modules Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2015-05-12 13:41 EDT Last Modified: 2015-05-12 13:41 EDT == Summary:Add support for openjdk 8 Description: cmake 3.2.2 fails to detect openjdk-8 (8u45-b14-2) on Debian unstable. CMake Warning at /usr/share/cmake-3.2/Modules/FindJava.cmake:145 (message): regex not supported: openjdk version 1.8.0_45-internal OpenJDK Runtime Environment (build 1.8.0_45-internal-b14) OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode). Please report The attached patch fixes this. == Issue History Date ModifiedUsername FieldChange == 2015-05-12 13:41 Felix GeyerNew Issue 2015-05-12 13:41 Felix GeyerFile Added: cmake_openjdk8_debian.diff == -- 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] (no subject)
Am Dienstag, 12. Mai 2015, 20:32:48 schrieb Uma Devi: dear cmake user i am not able to updaate the cmake in one of my linux system. how can i update the cmake in centos Maybe because CentOS is still at cmake v 2.6? Martin -- Cd wrttn wtht vwls s mch trsr. -- 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-developers] Proper way to find 64-bit version of a library (or specifically OSG)
Hi all, I'm wondering what the proper way is to go about finding 64-bit versions of a library. My situation is that I have built OpenSceneGraph 64-bit and installed it. The libraries end up in /usr/whatever/lib64. But to be able to find the libraries I needed to modify Modules/FindOpenThreads.cmake and Modules/Findosg_functions.cmake to also search lib64 suffixes (modified PATH_SUFFIXES). Is this the way to go? Should I submit a patch ? Or is there some higher level way to make find_package look for 64-bit libraries that is more appropriate ? And yes, I'm on CMake master as of may12. Thanks Mattias -- 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] (no subject)
Uma, There are a few ways to do this. As Martin said, CentOS has an ancient version of CMake that ships with it and you can't update it with yum. So, you have 3 options: 1. Use the version shipped with CentOS and deal with it being old. 2. Download the latest binary release script/tarball: http://www.cmake.org/download/ 3. Download, compile, and install from source: http://www.cmake.org/install/ I usually go with option 2 and get the shell script from the download page for my architecture, it works pretty well. Hope that helps! -Caleb On Tue, May 12, 2015 at 4:17 PM, Martin Weber fifteenknots...@gmail.com wrote: Am Dienstag, 12. Mai 2015, 20:32:48 schrieb Uma Devi: dear cmake user i am not able to updaate the cmake in one of my linux system. how can i update the cmake in centos Maybe because CentOS is still at cmake v 2.6? Martin -- Cd wrttn wtht vwls s mch trsr. -- 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 -- J. Caleb Wherry *Scientific Software Engineer* http://www.calebwherry.com http://www.calebwherry.com +1 (615) 708-5651 calebwhe...@gmail.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://public.kitware.com/mailman/listinfo/cmake
[Cmake-commits] CMake branch, next, updated. v3.2.2-2699-g13e8682
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 13e86829073482237617637c644b073a6f3300c5 (commit) via 69a600d4d9adc582523acf5c83abbb989461 (commit) from 4283712685e5e31ff05db587ea7cfcfdc203f447 (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=13e86829073482237617637c644b073a6f3300c5 commit 13e86829073482237617637c644b073a6f3300c5 Merge: 4283712 69a600d Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue May 12 17:05:03 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 17:05:03 2015 -0400 Merge topic 'add-iwyu-support' into next 69a600d4 add support for include what you use (iwyu) to CMake/CTest. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=69a600d4d9adc582523acf5c83abbb989461 commit 69a600d4d9adc582523acf5c83abbb989461 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue May 12 16:37:11 2015 -0400 Commit: Bill Hoffman bill.hoff...@kitware.com CommitDate: Tue May 12 16:37:11 2015 -0400 add support for include what you use (iwyu) to CMake/CTest. This commit adds a cmake -E command to run iwyu in place of a compiler for the compile line, then it then runs the compiler. This is inserted into the COMPILE_CXX_OBJECT command if CMAKE_IWYU_EXECUTABLE is set in the project. This allows for a complete build to be done since iwyu can not actually build files. The output from iwyu is treated as a warning by ctest and will show up nicely on CDash when ctest launchers are used. diff --git a/Modules/CMakeCXXInformation.cmake b/Modules/CMakeCXXInformation.cmake index 72b2857..c186eeb 100644 --- a/Modules/CMakeCXXInformation.cmake +++ b/Modules/CMakeCXXInformation.cmake @@ -280,6 +280,14 @@ if(NOT CMAKE_CXX_COMPILE_OBJECT) set(CMAKE_CXX_COMPILE_OBJECT CMAKE_CXX_COMPILER DEFINES FLAGS -o OBJECT -c SOURCE) endif() +# check to see if CMAKE_IWYU_EXECUTABLE is set. If yes, +# then use the cmake -E __run_iwyu command to run iwyu +# as well as the clang compiler for building cxx files. +if(CMAKE_IWYU_EXECUTABLE) + set(CMAKE_CXX_COMPILE_OBJECT +CMAKE_COMMAND -E __run_iwyu --iwyu=${CMAKE_IWYU_EXECUTABLE} -- ${CMAKE_CXX_COMPILE_OBJECT}) +endif() + if(NOT CMAKE_CXX_LINK_EXECUTABLE) set(CMAKE_CXX_LINK_EXECUTABLE diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index 29e07ef..98dfcfa 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -133,6 +133,8 @@ static const char* cmCTestWarningMatches[] = { cc-[0-9]* CC: REMARK File = .*, Line = [0-9]*, ^CMake Warning.*:, ^\\[WARNING\\], + .*should remove these lines:, + .*should add these lines:, 0 }; diff --git a/Source/CTest/cmCTestLaunch.cxx b/Source/CTest/cmCTestLaunch.cxx index de6ecde..bf271e9 100644 --- a/Source/CTest/cmCTestLaunch.cxx +++ b/Source/CTest/cmCTestLaunch.cxx @@ -649,7 +649,9 @@ void cmCTestLaunch::LoadScrapeRules() this-RegexWarning.push_back((^|[ :])[Ww][Aa][Rr][Nn][Ii][Nn][Gg]); this-RegexWarning.push_back((^|[ :])[Rr][Ee][Mm][Aa][Rr][Kk]); this-RegexWarning.push_back((^|[ :])[Nn][Oo][Tt][Ee]); - + // add warning expressions for include-what-you-use output + this-RegexWarning.push_back(.*should remove these lines:); + this-RegexWarning.push_back(.*should add these lines:); // Load custom match rules given to us by CTest. this-LoadScrapeRules(Warning, this-RegexWarning); this-LoadScrapeRules(WarningSuppress, this-RegexWarningSuppress); diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 12bb8ee..79177fb 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -210,6 +210,57 @@ int cmcmd::ExecuteCMakeCommand(std::vectorstd::string args) } return 0; } +// run include what you use command and then run the compile +// command. This is an internal undocumented option and should +// only be used by CMake itself when running iwyu. +else if (args[1] == __run_iwyu) + { + if(args.size() 3) +{ +std::cerr __run_iwyu Usage: -E __run_iwyu [--iwyu=/path/iwyu] + -- compile command\n; +return 1; +} + bool doing_options = true; + std::vectorstd::string orig_cmd; + std::string cmd; + for (std::string::size_type cc = 2; cc args.size(); cc ++) +{ +std::string const arg = args[cc]; +if(arg == --) + { + doing_options = false; + } +else if (doing_options cmHasLiteralPrefix(arg, --iwyu=)) + { + cmd = arg.substr(7); +
[CMake] How to add swig output file to SRC file list
Hello, I have following cmake file, I am using cmake 3.2 SET_SOURCE_FILES_PROPERTIES(${MYSRC}/myapi.i PROPERTIES CPLUSPLUS ON) SET_SOURCE_FILES_PROPERTIES(${MYSRC}/myapi.i PROPERTIES SWIG_FLAGS -ignoremissing) SWIG_ADD_MODULE(myapi_swig python ${MYSRC}/myapi.i} set(MYLIBSRC_FILES ${MYSRC}/file1.cpp ${MYSRC}/file2.cpp ) add_library(atlas_client ${MYLIBSRC_FILES} ) Now I want to add the cpp file that swig created to list of files that go into my library? Basically what I want to do is include file myapiPYTHON_wrap.cxx that swig generates to MYLIBSRC_FILES I see that currently by default SWIG ADD MODULE is creating a .so file, which I don’t want to create. Would appreciate any help/pointers. -Subodh -- 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] EXCLUDE_FROM_DEFAULT_BUILD: a solution that works for both interactive and unattended builds
Hi All (similar questions have been asked before, but none has quite hit the mark) Is there any way to force MSVC to build custom targets marked with EXCLUDE_FROM_DEFAULT_BUILD? Using cmake --build . --target SOME_EXCLUDED_TARGET --config Release will produce the well known message Project not selected to build for this solution configuration I could find the following two ways to get the targets to build, but they all have drawbacks: 1. Use a BATCH_BUILD variable that will disable the setting of EXCLUDE_FROM_DEFAULT_BUILD on the targets. 2. Define a set of build configurations on which EXCLUDE_FROM_DEFAULT_BUILD_config is not set (e.g. Release_ALL is identical to Release, except it has no build exclusions) Option 1 has the drawback of producing solutions that do not work well for interactive development Option 2 is rather cumbersome and would require the users to build separate sets of binaries. I could not quite figure out a way to make the Release_ALL packaging commands reference the Release target binaries. Has anyone figured out a way to get the full monty, i.e. a way to generate an MSVC solution that works well for both interactive and command line builds? Thank you so much for any feedback you can provide on this -alessio -- 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-developers] [CMake 0015563]: ABI failures are not treated as a fatal error
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15563 == Reported By:Alex Lamaison Assigned To: == Project:CMake Issue ID: 15563 Category: CMake Reproducibility:sometimes Severity: minor Priority: normal Status: new == Date Submitted: 2015-05-12 06:18 EDT Last Modified: 2015-05-12 06:18 EDT == Summary:ABI failures are not treated as a fatal error Description: With Visual Studio 2005/2008 ABI detection sometimes fails because the path to the source file is too long. When that happens, CMake continues configuring and doesn't treat it as a fatal error. Shouldn't building be aborted if ABI tests fail? What effect might it have on the binaries that are built? Steps to Reproduce: Install CMake at the default location. Create a CMake project at a directory several steps down from C:\, e.g C:\Users\MyUsername\Project\My\Project. Configure the project with CMake to use Visual Studio 2005 or 2008 as generator. Observe log output like: 1-- The C compiler identification is MSVC 14.0.50727 1-- The CXX compiler identification is MSVC 14.0.50727 1-- Check for working C compiler using: Visual Studio 8 2005 Win64 1-- Check for working C compiler using: Visual Studio 8 2005 Win64 -- works 1-- Detecting C compiler ABI info 1-- Detecting C compiler ABI info - failed 1-- Check for working CXX compiler using: Visual Studio 8 2005 Win64 1-- Check for working CXX compiler using: Visual Studio 8 2005 Win64 -- works 1-- Detecting CXX compiler ABI info 1-- Detecting CXX compiler ABI info - failed Observe that configuration continues after the ABI check failure and reports success. The only way to notice that ABI detection failed is to grep the log. Additional Information: The reason the ABI step fails with older visual studio is that CMake adds the full path to CMakeCXXCompilerABI.cpp as a RelativePath in the VS project. For example, C:\Program Files (x86)\CMake\share\cmake-3.2\Modules\CMakeCXXCompilerABI.cpp. Visual Studio converts all paths to be relative to the build directory. Assuming a build path of C:\Users\MyUsername\Project\My\Project\bin, VS tries to open ..\..\..\..\..\Program Files (x86)\CMake\share\cmake-3.2\Modules\CMakeCXXCompilerABI.cpp and fails because this is longer than Windows path limits. A workaround for this would be for CMake to copy CMakeCXXCompilerABI.cpp to the binary directory, the way it does for the source file it uses to determine if the compiler is working. See https://github.com/ruslo/hunter/issues/121#issuecomment-101219535 for more history on this issue. == Issue History Date ModifiedUsername FieldChange == 2015-05-12 06:18 Alex Lamaison New Issue == -- 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.2.2-2667-gaf88f06
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 af88f0632a1efcc421562859580e3589cd36011c (commit) via cfb2eca185fd2523a8889484abc9859f33b1eb51 (commit) from 27d3244480a208f7939a0d88e746cafe76397d58 (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=af88f0632a1efcc421562859580e3589cd36011c commit af88f0632a1efcc421562859580e3589cd36011c Merge: 27d3244 cfb2eca Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 08:56:27 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 08:56:27 2015 -0400 Merge topic 'cpack-not-running-tests' into next cfb2eca1 fixup! CPack DEB and RPM tests not running http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cfb2eca185fd2523a8889484abc9859f33b1eb51 commit cfb2eca185fd2523a8889484abc9859f33b1eb51 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 08:56:12 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 08:56:12 2015 -0400 fixup! CPack DEB and RPM tests not running diff --git a/Tests/CPackComponentsPrefix/CMakeLists.txt b/Tests/CPackComponentsPrefix/CMakeLists.txt index 770f825..581d3b3 100644 --- a/Tests/CPackComponentsPrefix/CMakeLists.txt +++ b/Tests/CPackComponentsPrefix/CMakeLists.txt @@ -6,7 +6,7 @@ install(FILES file-runtime.txt install(FILES file-development.txt DESTINATION lib COMPONENT Development) -set(CPACK_PACKAGE_CONTACT None) # mandatore for debian package generator +set(CPACK_PACKAGE_CONTACT None) # mandatory for DEB generator set(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY 1) set(CPACK_COMPONENTS_ALL Development) set(CPACK_ARCHIVE_COMPONENT_INSTALL 1) --- Summary of changes: Tests/CPackComponentsPrefix/CMakeLists.txt |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.2.2-2671-gbf646a1
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 bf646a167e3ce90f869494ba74413deaaa457026 (commit) via 1237d5fa8c721f629f0cc44a389703539c5687aa (commit) from cf743f5f8b1aa3403410ffe0d9fe16e75fc18014 (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=bf646a167e3ce90f869494ba74413deaaa457026 commit bf646a167e3ce90f869494ba74413deaaa457026 Merge: cf743f5 1237d5f Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:05:39 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:05:39 2015 -0400 Merge topic 'cpack-deb-component-dependencies' into next 1237d5fa Help: Add notes for topic 'cpack-deb-component-dependencies' http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1237d5fa8c721f629f0cc44a389703539c5687aa commit 1237d5fa8c721f629f0cc44a389703539c5687aa Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:05:17 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 09:05:17 2015 -0400 Help: Add notes for topic 'cpack-deb-component-dependencies' diff --git a/Help/release/dev/cpack-deb-component-dependencies.rst b/Help/release/dev/cpack-deb-component-dependencies.rst new file mode 100644 index 000..de9f457 --- /dev/null +++ b/Help/release/dev/cpack-deb-component-dependencies.rst @@ -0,0 +1,6 @@ +cpack-deb-component-dependencies + + +* The :module:`CPackDeb` module learned a new + :variable:`CPACK_DEBIAN_COMPONENT_PACKAGE_DEPENDS` + option to specify per-component dependencies. --- Summary of changes: Help/release/dev/cpack-deb-component-dependencies.rst |6 ++ 1 file changed, 6 insertions(+) create mode 100644 Help/release/dev/cpack-deb-component-dependencies.rst hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.2.2-2675-g9cdd1cc
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 9cdd1cc2bbf8bec3062b52eaf86cc52ff5f7ad2a (commit) via 226df303f955a8756cda7544f58242b52ea7ec2e (commit) via 28e7a135e001afb36a7cff8e896ebac75390dde0 (commit) via 231601b696d79075b9c0fe346a8b336f291f6829 (commit) from bf646a167e3ce90f869494ba74413deaaa457026 (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=9cdd1cc2bbf8bec3062b52eaf86cc52ff5f7ad2a commit 9cdd1cc2bbf8bec3062b52eaf86cc52ff5f7ad2a Merge: bf646a1 226df30 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:10:19 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:10:19 2015 -0400 Merge topic 'ctest-no-make-i' into next 226df303 CTest: Stop telling 'make' to ignore errors with -i 28e7a135 Help: Fix build_command alternative signature docs 231601b6 build_command: Choose configuration consistently across signatures http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=226df303f955a8756cda7544f58242b52ea7ec2e commit 226df303f955a8756cda7544f58242b52ea7ec2e Author: Brad King brad.k...@kitware.com AuthorDate: Fri May 8 15:41:08 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 09:06:49 2015 -0400 CTest: Stop telling 'make' to ignore errors with -i Add policy CMP0061 to maintain compatibility for existing projects. diff --git a/Help/command/build_command.rst b/Help/command/build_command.rst index fa971e4..1298c1f 100644 --- a/Help/command/build_command.rst +++ b/Help/command/build_command.rst @@ -19,7 +19,8 @@ Sets the given ``variable`` to a command-line string of the form:: where ``cmake`` is the location of the :manual:`cmake(1)` command-line tool, and ``config`` and ``target`` are the values provided to the ``CONFIGURATION`` and ``TARGET`` options, if any. The trailing ``-- -i`` -option is added for Makefile generators. +option is added for :ref:`Makefile Generators` if policy :policy:`CMP0061` +is not set to ``NEW``. When invoked, this ``cmake --build`` command line will launch the underlying build system tool. diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index aff696d..e59cce7 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -118,3 +118,4 @@ All Policies /policy/CMP0058 /policy/CMP0059 /policy/CMP0060 + /policy/CMP0061 diff --git a/Help/policy/CMP0061.rst b/Help/policy/CMP0061.rst new file mode 100644 index 000..069a1ab --- /dev/null +++ b/Help/policy/CMP0061.rst @@ -0,0 +1,24 @@ +CMP0061 +--- + +CTest does not by default tell ``make`` to ignore errors (``-i``). + +The :command:`ctest_build` and :command:`build_command` commands no +longer generate build commands for :ref:`Makefile Generators` with +the ``-i`` option. Previously this was done to help build as much +of tested projects as possible. However, this behavior is not +consistent with other generators and also causes the return code +of the ``make`` tool to be meaningless. + +Of course users may still add this option manually by setting +:variable:`CTEST_BUILD_COMMAND` or the ``MAKECOMMAND`` cache entry. +See the :ref:`CTest Build Step` ``MakeCommand`` setting documentation +for their effects. + +The ``OLD`` behavior for this policy is to add ``-i`` to ``make`` +calls in CTest. The ``NEW`` behavior for this policy is to not +add ``-i``. + +This policy was introduced in CMake version 3.3. Unlike most policies, +CMake version |release| does *not* warn when this policy is not set and +simply uses OLD behavior. diff --git a/Help/release/dev/ctest-no-make-i.rst b/Help/release/dev/ctest-no-make-i.rst new file mode 100644 index 000..96da0bd --- /dev/null +++ b/Help/release/dev/ctest-no-make-i.rst @@ -0,0 +1,7 @@ +ctest-no-make-i +--- + +* The :command:`ctest_build` and :command:`build_command` commands + no longer tell ``make`` tools to ignore errors with the ``-i`` option. + Previously this was done for :ref:`Makefile Generators` but not others. + See policy :policy:`CMP0061`. diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx index 2b36b0a..27e22c4 100644 --- a/Source/CTest/cmCTestBuildCommand.cxx +++ b/Source/CTest/cmCTestBuildCommand.cxx @@ -141,7 +141,8 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() = this-GlobalGenerator- GenerateCMakeBuildCommand(cmakeBuildTarget ? cmakeBuildTarget : , cmakeBuildConfiguration, - cmakeBuildAdditionalFlags ? cmakeBuildAdditionalFlags : ,
Re: [cmake-developers] find_package config mode search path rule #5 error prone
On 05/07/2015 08:40 AM, Ruslan Baratov via cmake-developers wrote: On 07-May-15 00:00, Tamás Kenéz wrote: There are great and proper ways to use the products of a project in a dependent project. Opening the project in cmake-gui to expose the byproduct of a config-module configuration+installation process in the binary dir, is not of them. Totally agree, since I am a reporter of this bug: http://public.kitware.com/Bug/view.php?id=14781 As far as I know it works only for GUI version and only on Windows. So does anybody really use such workflow regularly? This behavior has been there since find_package was first written, but since then we gained much better capabilities and alternatives: find_package: Drop search in recent cmake-gui locations http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1506f9ca -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] [CPackIFW] Adding QtIFW 2.0 Support (Technical Preview)
Online repository updated! Meet CMake 3.2.20150512 :-) Online installers for Linux and Windows are available at the links below. Dear developers, I have just one question: anyone uses CPackIFW or QtIFW? 29.04.2015, 16:57, Konstantin Podsvirov konstan...@podsvirov.pro: Hello dear developers! Recently we learned the good news about the release QtIFW 2.0: http://blog.qt.io/blog/2015/04/07/qt-installer-framework-2-0-released And I too was delighted at once. But then I was faced with an unstable work of the installer on Windows and it upset me. I think QtIFW 2.0 as quickly as possible became better - you need to actively use and test in various situations. On adding support QtIFW 2.0 now I work in a topic branch cpack-ifw-develop: http://git.podsvirov.pro/?p=kitware/cmake.git;a=shortlog;h=refs/heads/cpack-ifw-develop All those interested can get acquainted with the code, but I want to submit online installers CMake based on this code, and built by ourselves :-) : Two installer collected in Debian 8: http://ifw.podsvirov.pro/cmake/cmake-master-i386-online.run http://ifw.podsvirov.pro/cmake/cmake-master-amd64-online.run Installer And two collected in Windows 7: http://ifw.podsvirov.pro/cmake/cmake-master-win32-online.exe http://ifw.podsvirov.pro/cmake/cmake-master-win64-online.exe Working with cpack-ifw-develop I will periodically update the online repository. The presented version of CMake (CPackIFW) already know how to work with QtIFW 2.0 but not in full. I would like to know from users CPackIFW and QtIFW what functionality demanded in the first place. Suggest we discuss the quality of the generated configuration files. Also available documentation: http://ifw.podsvirov.pro/cmake/doc/sphinx http://ifw.podsvirov.pro/cmake/doc/doxygen When I decide that the support QtIFW 2.0 has reached an acceptable state, we will begin work on the integration of changes. Waiting for answers, questions, suggestions! -- Regards, Konstantin Podsvirov Regards, Konstantin Podsvirov -- 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.2.2-2669-gcf743f5
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 cf743f5f8b1aa3403410ffe0d9fe16e75fc18014 (commit) via 7c103be8deb906a2c6036da6f25dd30928cc1a54 (commit) from af88f0632a1efcc421562859580e3589cd36011c (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=cf743f5f8b1aa3403410ffe0d9fe16e75fc18014 commit cf743f5f8b1aa3403410ffe0d9fe16e75fc18014 Merge: af88f06 7c103be Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 08:59:07 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 08:59:07 2015 -0400 Merge topic 'cpack-not-running-tests' into next 7c103be8 CPack: Enable DEB and RPM tests more reliably http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7c103be8deb906a2c6036da6f25dd30928cc1a54 commit 7c103be8deb906a2c6036da6f25dd30928cc1a54 Author: Domen Vrankar domen.vran...@gmail.com AuthorDate: Sat May 9 00:42:30 2015 +0200 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 08:56:34 2015 -0400 CPack: Enable DEB and RPM tests more reliably CPack DEB and RPM generators were not used for some tests because CPACK_BINARY_DEB and CPACK_BINARY_RPM variable were not set. Fix this, simplify generator selection in CTEST_RUN_CPackComponentsForAll, and fix bugs that were detected after tests were run. diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake index e672e72..cb77fb8 100644 --- a/Modules/CPackRPM.cmake +++ b/Modules/CPackRPM.cmake @@ -1197,18 +1197,17 @@ function(cpack_rpm_generate_package) set(CPACK_RPM_COMPRESSION_TYPE_TMP ) endif() - if(CPACK_PACKAGE_RELOCATABLE) -set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE) - endif() - if(CPACK_RPM_PACKAGE_RELOCATABLE) + if(CPACK_PACKAGE_RELOCATABLE OR CPACK_RPM_PACKAGE_RELOCATABLE) if(CPACK_RPM_PACKAGE_DEBUG) message(CPackRPM:Debug: Trying to build a relocatable package) endif() if(CPACK_SET_DESTDIR AND (NOT CPACK_SET_DESTDIR STREQUAL I_ON)) message(CPackRPM:Warning: CPACK_SET_DESTDIR is set (=${CPACK_SET_DESTDIR}) while requesting a relocatable package (CPACK_RPM_PACKAGE_RELOCATABLE is set): this is not supported, the package won't be relocatable.) + set(CPACK_RPM_PACKAGE_RELOCATABLE FALSE) else() set(CPACK_RPM_PACKAGE_PREFIX ${CPACK_PACKAGING_INSTALL_PREFIX}) # kept for back compatibility (provided external RPM spec files) cpack_rpm_prepare_relocation_paths() + set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE) endif() endif() diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 58feefd..f890e56 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -112,6 +112,22 @@ if(BUILD_TESTING) set(RPMBUILD_EXECUTABLE RPMBUILD_EXECUTABLE-NOTFOUND) endif() + if(RPMBUILD_EXECUTABLE) +set(CPACK_BINARY_RPM ON) + else() +set(CPACK_BINARY_RPM OFF) + endif() + + # Look for rpmbuild to use for tests. + # The tool does not work with spaces in the path. + find_program(DPKG_EXECUTABLE NAMES dpkg) + + if(DPKG_EXECUTABLE) +set(CPACK_BINARY_DEB ON) + else() +set(CPACK_BINARY_DEB OFF) + endif() + #--- # Add tests below here. @@ -865,11 +881,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release set(CTEST_RUN_CPackComponentsForAll ${CTEST_TEST_CPACK}) set(CTEST_RUN_CPackComponentsPrefix ${CTEST_TEST_CPACK}) - # Do not try to build RPM - if (NOT RPMBUILD_EXECUTABLE) -set(CPACK_BINARY_RPM OFF) - endif() - find_program(NSIS_MAKENSIS_EXECUTABLE NAMES makensis PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\NSIS] DOC makensis program location @@ -948,13 +959,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release if(CTEST_RUN_CPackComponentsForAll) # Check whether if rpmbuild command is found # before adding RPM tests -if(RPMBUILD_EXECUTABLE) +if(CPACK_BINARY_RPM) list(APPEND ACTIVE_CPACK_GENERATORS RPM) endif() # Check whether if dpkg command is found # before adding DEB tests -find_program(DPKG_EXECUTABLE NAMES dpkg) -if(DPKG_EXECUTABLE) +if(CPACK_BINARY_DEB) list(APPEND ACTIVE_CPACK_GENERATORS DEB) endif() @@ -962,17 +972,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release # now contains the list of 'active generators' set(CPackComponentsForAll_BUILD_OPTIONS) # set up list of CPack generators -list(APPEND GENLST ZIP) +list(APPEND ACTIVE_CPACK_GENERATORS ZIP) if(APPLE)
Re: [cmake-developers] [PATCH v3] FindHDF5.cmake HDF5_VERSION Support
On 05/12/2015 09:58 AM, Brad King wrote: Thanks. Applied with minor tweaks to the commit message plus a test suite update: FindHDF5: Add version support http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c1150734 I revised the copyright block to fix the ModuleNotices test: FindHDF5: Add version support http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=58d6709e -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-commits] CMake branch, master, updated. v3.2.2-1117-ga6a9710
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 a6a9710fca291a96d01d848bd1aee8233beacf6b (commit) from 53bb51fc31ddfbc7c62598db1abdef3a1cdd45e7 (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=a6a9710fca291a96d01d848bd1aee8233beacf6b commit a6a9710fca291a96d01d848bd1aee8233beacf6b Author: Kitware Robot kwro...@kitware.com AuthorDate: Wed May 13 00:01:06 2015 -0400 Commit: Kitware Robot kwro...@kitware.com CommitDate: Wed May 13 00:01:06 2015 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index cf7a523..16114a5 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 2) -set(CMake_VERSION_PATCH 20150512) +set(CMake_VERSION_PATCH 20150513) #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/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.2.2-1102-g733ca51
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 733ca510a636aeadd84df761bb3844c473f71ab0 (commit) via f39d26caa77525ee12b8f5fcb4932ebb642c970f (commit) from 55fe56444f134e676a0b9a54d72dbdb85b573a49 (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=733ca510a636aeadd84df761bb3844c473f71ab0 commit 733ca510a636aeadd84df761bb3844c473f71ab0 Merge: 55fe564 f39d26c Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:46 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:46 2015 -0400 Merge topic 'doc-file-COPY-preserves-structure' f39d26ca Help: Clarify file(COPY) directory semantics (#15561) --- Summary of changes: Help/command/file.rst |6 +- 1 file changed, 5 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.2.2-1098-gcca3bbd
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 cca3bbde98de7954ebd3bca1966c92d931fe0dab (commit) via cf8ce7a39e425aa5ea6a4847f512b8e8628af61a (commit) via ca658a456f80febe05e57bfae8448c8646960ddf (commit) from 0f2658f62d949137c9b0b9081d1a93e5f39d2bb2 (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=cca3bbde98de7954ebd3bca1966c92d931fe0dab commit cca3bbde98de7954ebd3bca1966c92d931fe0dab Merge: 0f2658f cf8ce7a Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:41 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:41 2015 -0400 Merge topic 'ninja-gcc-windows' cf8ce7a3 RC: Do not override MinGW Makefiles generator preference ca658a45 Ninja: Use forward slashes for linking with any GCC on Windows (#15439) --- Summary of changes: Modules/Platform/Windows-GNU.cmake |2 +- Source/cmNinjaNormalTargetGenerator.cxx |2 +- 2 files changed, 2 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, master, updated. v3.2.2-1100-g55fe564
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 55fe56444f134e676a0b9a54d72dbdb85b573a49 (commit) via dcb188363d5faba80664c17e9a4713bbd5c0b372 (commit) from cca3bbde98de7954ebd3bca1966c92d931fe0dab (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=55fe56444f134e676a0b9a54d72dbdb85b573a49 commit 55fe56444f134e676a0b9a54d72dbdb85b573a49 Merge: cca3bbd dcb1883 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:43 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:43 2015 -0400 Merge topic 'ExternalProject-improve-missing-source-error' dcb18836 ExternalProject: Improve error when SOURCE_DIR is missing (#15560) --- Summary of changes: Modules/ExternalProject.cmake| 13 - .../NoOptions-result.txt}|0 Tests/RunCMake/ExternalProject/NoOptions-stderr.txt | 18 ++ Tests/RunCMake/ExternalProject/NoOptions.cmake |2 ++ Tests/RunCMake/ExternalProject/RunCMakeTest.cmake|3 +++ .../SourceEmpty-result.txt} |0 .../RunCMake/ExternalProject/SourceEmpty-stderr.txt | 18 ++ Tests/RunCMake/ExternalProject/SourceEmpty.cmake |5 + .../SourceMissing-result.txt}|0 .../ExternalProject/SourceMissing-stderr.txt | 18 ++ Tests/RunCMake/ExternalProject/SourceMissing.cmake |2 ++ 11 files changed, 78 insertions(+), 1 deletion(-) copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = ExternalProject/NoOptions-result.txt} (100%) create mode 100644 Tests/RunCMake/ExternalProject/NoOptions-stderr.txt create mode 100644 Tests/RunCMake/ExternalProject/NoOptions.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = ExternalProject/SourceEmpty-result.txt} (100%) create mode 100644 Tests/RunCMake/ExternalProject/SourceEmpty-stderr.txt create mode 100644 Tests/RunCMake/ExternalProject/SourceEmpty.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = ExternalProject/SourceMissing-result.txt} (100%) create mode 100644 Tests/RunCMake/ExternalProject/SourceMissing-stderr.txt create mode 100644 Tests/RunCMake/ExternalProject/SourceMissing.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, master, updated. v3.2.2-1095-g0f2658f
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 0f2658f62d949137c9b0b9081d1a93e5f39d2bb2 (commit) via a190493414c04804bacce1ce627448440b07b63d (commit) via e228d66d60ca8c7609d56fb135b2e68f686d34af (commit) from df95367d7e656608cdeca5c5cdaad79195cd465a (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=0f2658f62d949137c9b0b9081d1a93e5f39d2bb2 commit 0f2658f62d949137c9b0b9081d1a93e5f39d2bb2 Merge: df95367 a190493 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:40 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:40 2015 -0400 Merge topic 'suppress-LNK4089-warning' a1904934 CTestCustom: Suppress LNK4089 warning about RPCRT4 e228d66d CTestCustom: Suppress LNK4089 warning about ole32 --- Summary of changes: CTestCustom.cmake.in |2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
Re: [CMake] EXCLUDE_FROM_DEFAULT_BUILD: a solution that works for both interactive and unattended builds
I am also interested in this. Not because I couldn’t do 2 seperate build directories for CLI and IDE building, but because VS projects are still the best shot at getting parallel builds on Windows. NMake batch support is not implemented, and Ninja has never built any of my projects without errors. Feladó: Alessio Elküldve: kedd, 2015. május 12. 13:28 Címzett: cmake@cmake.org Hi All (similar questions have been asked before, but none has quite hit the mark) Is there any way to force MSVC to build custom targets marked with EXCLUDE_FROM_DEFAULT_BUILD? Using cmake --build . --target SOME_EXCLUDED_TARGET --config Release will produce the well known message Project not selected to build for this solution configuration I could find the following two ways to get the targets to build, but they all have drawbacks: Use a BATCH_BUILD variable that will disable the setting of EXCLUDE_FROM_DEFAULT_BUILD on the targets. Define a set of build configurations on which EXCLUDE_FROM_DEFAULT_BUILD_config is not set (e.g. Release_ALL is identical to Release, except it has no build exclusions) Option 1 has the drawback of producing solutions that do not work well for interactive development Option 2 is rather cumbersome and would require the users to build separate sets of binaries. I could not quite figure out a way to make the Release_ALL packaging commands reference the Release target binaries. Has anyone figured out a way to get the full monty, i.e. a way to generate an MSVC solution that works well for both interactive and command line builds? Thank you so much for any feedback you can provide on this -alessio-- 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.2.2-2693-gaa546d6
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 aa546d6efa4af4d61fd216f2cb5acc6e0ab6ea95 (commit) via 947cd7ebde863c9fdb1c55f7dcf8e07d489b739e (commit) from 4951e2a3a8edc6af8080bf31978acef9f06e0e4a (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=aa546d6efa4af4d61fd216f2cb5acc6e0ab6ea95 commit aa546d6efa4af4d61fd216f2cb5acc6e0ab6ea95 Merge: 4951e2a 947cd7e Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 10:04:05 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 10:04:05 2015 -0400 Merge topic 'FindHDF5-version-support' into next 947cd7eb fixup! FindHDF5: Add version support http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=947cd7ebde863c9fdb1c55f7dcf8e07d489b739e commit 947cd7ebde863c9fdb1c55f7dcf8e07d489b739e Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 10:03:55 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 10:03:55 2015 -0400 fixup! FindHDF5: Add version support diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 2a92f5c..b4f4399 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -60,8 +60,8 @@ # HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool #= +# Copyright 2015 Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf # Copyright 2009 Kitware, Inc. -# 2015 Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf # # Distributed under the OSI-approved BSD License (the License); # see accompanying file Copyright.txt for details. --- Summary of changes: Modules/FindHDF5.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.2.2-1104-g16d8411
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 16d84111da20da59a2eadb673e1bb74eb3a73706 (commit) via 3307e10fc4ef5ffb551df35bc0978a2543305e9d (commit) from 733ca510a636aeadd84df761bb3844c473f71ab0 (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=16d84111da20da59a2eadb673e1bb74eb3a73706 commit 16d84111da20da59a2eadb673e1bb74eb3a73706 Merge: 733ca51 3307e10 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:48 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:48 2015 -0400 Merge topic 'detect-c++14-missing-gets' 3307e10f Avoid using C++14 to build CMake if cstdio breaks --- Summary of changes: CMakeLists.txt |7 - Source/Checks/cm_cxx14_cstdio.cmake| 33 .../dummy.c = Source/Checks/cm_cxx14_cstdio.cpp |1 + 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 Source/Checks/cm_cxx14_cstdio.cmake copy Tests/FindPackageTest/Exporter/dummy.c = Source/Checks/cm_cxx14_cstdio.cpp (58%) 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.2.2-2689-g5ccac64
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 5ccac647e88eb5dabd10dd3a2bed3a3a5fd5b21e (commit) via 53bb51fc31ddfbc7c62598db1abdef3a1cdd45e7 (commit) via 70d48e1287c8e91c4815573485c8acba0879df89 (commit) via a5bab6e1a4e55637dbde3f1a526b87e06c715283 (commit) via ffd5d0922576ff1acd72c1498a6b59ce94194be7 (commit) via 16d84111da20da59a2eadb673e1bb74eb3a73706 (commit) via 733ca510a636aeadd84df761bb3844c473f71ab0 (commit) via 55fe56444f134e676a0b9a54d72dbdb85b573a49 (commit) via cca3bbde98de7954ebd3bca1966c92d931fe0dab (commit) via 0f2658f62d949137c9b0b9081d1a93e5f39d2bb2 (commit) via df95367d7e656608cdeca5c5cdaad79195cd465a (commit) via df0aa37a67e05008ac7ec175b14a0f3eaa78067e (commit) via ee3973e72a7e9775848fe806492c6e3a2feb8f47 (commit) via c6a805d1926ed73e94013c11c8556fc35d2bc35c (commit) from 9cdd1cc2bbf8bec3062b52eaf86cc52ff5f7ad2a (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=5ccac647e88eb5dabd10dd3a2bed3a3a5fd5b21e commit 5ccac647e88eb5dabd10dd3a2bed3a3a5fd5b21e Merge: 9cdd1cc 53bb51f Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:15:26 2015 -0400 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 09:15:26 2015 -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/mailman/listinfo/cmake-commits
Re: [cmake-developers] [PATCH v3] FindHDF5.cmake HDF5_VERSION Support
On 05/11/2015 09:22 AM, Huebl, Axel wrote: This commit adds VERSION support for HDF5 from the same sources as it adds the HDF5_IS_PARALLEL flag. Thanks. Applied with minor tweaks to the commit message plus a test suite update: FindHDF5: Add version support http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c1150734 -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-commits] CMake branch, next, updated. v3.2.2-2691-g4951e2a
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 4951e2a3a8edc6af8080bf31978acef9f06e0e4a (commit) via c11507340c4ad35367634868734beef320422ec9 (commit) from 5ccac647e88eb5dabd10dd3a2bed3a3a5fd5b21e (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=4951e2a3a8edc6af8080bf31978acef9f06e0e4a commit 4951e2a3a8edc6af8080bf31978acef9f06e0e4a Merge: 5ccac64 c115073 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:57:58 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:57:58 2015 -0400 Merge topic 'FindHDF5-version-support' into next c1150734 FindHDF5: Add version support http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c11507340c4ad35367634868734beef320422ec9 commit c11507340c4ad35367634868734beef320422ec9 Author: Axel Huebl a.hu...@hzdr.de AuthorDate: Mon May 11 15:22:28 2015 +0200 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 09:57:27 2015 -0400 FindHDF5: Add version support Detect the HDF5 version and set HDF5_VERSION just as we detect HDF5_IS_PARALLEL from the header already. diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 0d58e13..2a92f5c 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -51,6 +51,7 @@ # bindings. # HDF5_LIBRARIES - Required libraries for all requested bindings # HDF5_FOUND - true if HDF5 was found on the system +# HDF5_VERSION - HDF5 version in format Major.Minor.Release # HDF5_LIBRARY_DIRS - the full set of library directories # HDF5_IS_PARALLEL - Whether or not HDF5 was found with parallel IO support # HDF5_C_COMPILER_EXECUTABLE - the path to the HDF5 C wrapper compiler @@ -60,6 +61,7 @@ #= # Copyright 2009 Kitware, Inc. +# 2015 Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf # # Distributed under the OSI-approved BSD License (the License); # see accompanying file Copyright.txt for details. @@ -335,6 +337,7 @@ if( NOT HDF5_FOUND ) # If the HDF5 include directory was found, open H5pubconf.h to determine if # HDF5 was compiled with parallel IO support set( HDF5_IS_PARALLEL FALSE ) +set( HDF5_VERSION ) foreach( _dir IN LISTS HDF5_INCLUDE_DIRS ) if( EXISTS ${_dir}/H5pubconf.h ) file( STRINGS ${_dir}/H5pubconf.h @@ -343,6 +346,16 @@ if( NOT HDF5_FOUND ) if( HDF5_HAVE_PARALLEL_DEFINE ) set( HDF5_IS_PARALLEL TRUE ) endif() +unset(HDF5_HAVE_PARALLEL_DEFINE) + +file( STRINGS ${_dir}/H5pubconf.h +HDF5_VERSION_DEFINE +REGEX ^[ \t]*#[ \t]*define[ \t]+H5_VERSION[ \t]+ ) +if( ${HDF5_VERSION_DEFINE} MATCHES +H5_VERSION[ \t]+\([0-9]+\\.[0-9]+\\.[0-9]+).*\ ) +set( HDF5_VERSION ${CMAKE_MATCH_1} ) +endif() +unset(HDF5_VERSION_DEFINE) endif() endforeach() set( HDF5_IS_PARALLEL ${HDF5_IS_PARALLEL} CACHE BOOL @@ -357,8 +370,8 @@ if( NOT HDF5_FOUND ) endif() -find_package_handle_standard_args( HDF5 DEFAULT_MSG -HDF5_LIBRARIES -HDF5_INCLUDE_DIRS +find_package_handle_standard_args( HDF5 +REQUIRED_VARS HDF5_LIBRARIES HDF5_INCLUDE_DIRS +VERSION_VAR HDF5_VERSION ) diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt index 15493be..bdc2563 100644 --- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt +++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt @@ -86,8 +86,8 @@ foreach(VTEST ALSA ARMADILLO BZIP2 CUPS CURL EXPAT FREETYPE GETTEXT GIT HG check_version_string(${VTEST} ${VTEST}_VERSION_STRING) endforeach() -foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2 LibArchive OPENSCENEGRAPH -RUBY SWIG) +foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2 +HDF5 LibArchive OPENSCENEGRAPH RUBY SWIG) check_version_string(${VTEST} ${VTEST}_VERSION) endforeach() --- Summary of changes: Modules/FindHDF5.cmake| 19 --- Tests/CMakeOnly/AllFindModules/CMakeLists.txt |4 ++-- 2 files changed, 18 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, master, updated. v3.2.2-1112-g70d48e1
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 70d48e1287c8e91c4815573485c8acba0879df89 (commit) via 1237d5fa8c721f629f0cc44a389703539c5687aa (commit) via e3f522f6e44d459247fa3dbc3cde65867c148f76 (commit) from a5bab6e1a4e55637dbde3f1a526b87e06c715283 (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=70d48e1287c8e91c4815573485c8acba0879df89 commit 70d48e1287c8e91c4815573485c8acba0879df89 Merge: a5bab6e 1237d5f Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:54 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:54 2015 -0400 Merge topic 'cpack-deb-component-dependencies' 1237d5fa Help: Add notes for topic 'cpack-deb-component-dependencies' e3f522f6 CPack/DEB per component dependencies --- Summary of changes: .../dev/cpack-deb-component-dependencies.rst |6 ++ Modules/CPackDeb.cmake | 68 +++- Tests/CMakeLists.txt |4 +- ... MyLibCPackConfig-components-depend1.cmake.in} |5 ++ ... MyLibCPackConfig-components-depend2.cmake.in} | 15 +++-- ... RunCPackVerifyResult-components-depend1.cmake} | 22 +++ ... RunCPackVerifyResult-components-depend2.cmake} | 44 - .../CPackComponentsDEB/RunCPackVerifyResult.cmake |1 + 8 files changed, 117 insertions(+), 48 deletions(-) create mode 100644 Help/release/dev/cpack-deb-component-dependencies.rst copy Tests/CPackComponentsDEB/{MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in = MyLibCPackConfig-components-depend1.cmake.in} (57%) copy Tests/CPackComponentsDEB/{MyLibCPackConfig-components-shlibdeps1.cmake.in = MyLibCPackConfig-components-depend2.cmake.in} (52%) copy Tests/CPackComponentsDEB/{RunCPackVerifyResult-components-description1.cmake = RunCPackVerifyResult-components-depend1.cmake} (78%) copy Tests/CPackComponentsDEB/{RunCPackVerifyResult-components-description1.cmake = RunCPackVerifyResult-components-depend2.cmake} (60%) 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.2.2-1116-g53bb51f
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 53bb51fc31ddfbc7c62598db1abdef3a1cdd45e7 (commit) via 226df303f955a8756cda7544f58242b52ea7ec2e (commit) via 28e7a135e001afb36a7cff8e896ebac75390dde0 (commit) via 231601b696d79075b9c0fe346a8b336f291f6829 (commit) from 70d48e1287c8e91c4815573485c8acba0879df89 (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=53bb51fc31ddfbc7c62598db1abdef3a1cdd45e7 commit 53bb51fc31ddfbc7c62598db1abdef3a1cdd45e7 Merge: 70d48e1 226df30 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:56 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:56 2015 -0400 Merge topic 'ctest-no-make-i' 226df303 CTest: Stop telling 'make' to ignore errors with -i 28e7a135 Help: Fix build_command alternative signature docs 231601b6 build_command: Choose configuration consistently across signatures --- Summary of changes: Help/command/build_command.rst |5 ++-- Help/manual/cmake-policies.7.rst |1 + Help/policy/CMP0061.rst| 24 Help/release/dev/ctest-no-make-i.rst |7 ++ Source/CTest/cmCTestBuildCommand.cxx |3 ++- Source/cmBuildCommand.cxx |8 --- Source/cmBuildCommand.h|2 ++ Source/cmMakefile.cxx | 20 Source/cmMakefile.h|2 ++ Source/cmPolicies.h|3 +++ .../RunCMake/build_command/CMP0061-NEW-stderr.txt | 10 Tests/RunCMake/build_command/CMP0061-NEW.cmake |2 ++ .../build_command/CMP0061-OLD-make-stderr.txt | 10 .../RunCMake/build_command/CMP0061-OLD-make.cmake |2 ++ .../build_command/CMP0061-OLD-other-stderr.txt | 10 .../RunCMake/build_command/CMP0061-OLD-other.cmake |2 ++ Tests/RunCMake/build_command/CMP0061Common.cmake | 10 Tests/RunCMake/build_command/RunCMakeTest.cmake|8 +++ .../BuildFailure-CMP0061-OLD-result.txt|1 + .../BuildFailure-CMP0061-OLD-stderr.txt|2 ++ .../BuildFailure-result.txt} |0 Tests/RunCMake/ctest_build/BuildFailure-stderr.txt |2 ++ Tests/RunCMake/ctest_build/CMakeLists.txt.in |1 + Tests/RunCMake/ctest_build/RunCMakeTest.cmake | 23 +++ Tests/RunCMake/ctest_build/test.cmake.in |4 +++- 25 files changed, 155 insertions(+), 7 deletions(-) create mode 100644 Help/policy/CMP0061.rst create mode 100644 Help/release/dev/ctest-no-make-i.rst create mode 100644 Tests/RunCMake/build_command/CMP0061-NEW-stderr.txt create mode 100644 Tests/RunCMake/build_command/CMP0061-NEW.cmake create mode 100644 Tests/RunCMake/build_command/CMP0061-OLD-make-stderr.txt create mode 100644 Tests/RunCMake/build_command/CMP0061-OLD-make.cmake create mode 100644 Tests/RunCMake/build_command/CMP0061-OLD-other-stderr.txt create mode 100644 Tests/RunCMake/build_command/CMP0061-OLD-other.cmake create mode 100644 Tests/RunCMake/build_command/CMP0061Common.cmake create mode 100644 Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-result.txt create mode 100644 Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD-stderr.txt copy Tests/RunCMake/{ctest_memcheck/DummyAddressSanitizer-result.txt = ctest_build/BuildFailure-result.txt} (100%) create mode 100644 Tests/RunCMake/ctest_build/BuildFailure-stderr.txt 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.2.2-1109-ga5bab6e
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 a5bab6e1a4e55637dbde3f1a526b87e06c715283 (commit) via 7c103be8deb906a2c6036da6f25dd30928cc1a54 (commit) from ffd5d0922576ff1acd72c1498a6b59ce94194be7 (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=a5bab6e1a4e55637dbde3f1a526b87e06c715283 commit a5bab6e1a4e55637dbde3f1a526b87e06c715283 Merge: ffd5d09 7c103be Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:52 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:52 2015 -0400 Merge topic 'cpack-not-running-tests' 7c103be8 CPack: Enable DEB and RPM tests more reliably --- Summary of changes: Modules/CPackRPM.cmake |7 +++-- Tests/CMakeLists.txt | 40 +++- Tests/CPackComponentsPrefix/CMakeLists.txt |1 + 3 files changed, 25 insertions(+), 23 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.2.2-1107-gffd5d09
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 ffd5d0922576ff1acd72c1498a6b59ce94194be7 (commit) via 1506f9ca56c813f6c1fee4cea90a1cd8e5a4a04d (commit) via 8d484463725edec792c26fdd33547f7ad63c2c14 (commit) from 16d84111da20da59a2eadb673e1bb74eb3a73706 (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=ffd5d0922576ff1acd72c1498a6b59ce94194be7 commit ffd5d0922576ff1acd72c1498a6b59ce94194be7 Merge: 16d8411 1506f9c Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 09:12:50 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 09:12:50 2015 -0400 Merge topic 'find_package-no-cmake-gui-paths' 1506f9ca find_package: Drop search in recent cmake-gui locations 8d484463 FindFLTK: Drop search in recent cmake-gui locations --- Summary of changes: Help/command/find_package.rst | 16 --- .../dev/find_package-no-cmake-gui-paths.rst| 10 +++ Modules/FindFLTK.cmake | 15 -- Modules/FindFLTK2.cmake| 13 - Source/cmFindPackageCommand.cxx| 30 +--- Source/cmFindPackageCommand.h |2 -- 6 files changed, 16 insertions(+), 70 deletions(-) create mode 100644 Help/release/dev/find_package-no-cmake-gui-paths.rst hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, next, updated. v3.2.2-2695-g1b28de9
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 1b28de9174cb01ffc2fea5097208a2210934adde (commit) via 58d6709e64d3ae061da2b9db49ce9d884a77e654 (commit) from aa546d6efa4af4d61fd216f2cb5acc6e0ab6ea95 (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=1b28de9174cb01ffc2fea5097208a2210934adde commit 1b28de9174cb01ffc2fea5097208a2210934adde Merge: aa546d6 58d6709 Author: Brad King brad.k...@kitware.com AuthorDate: Tue May 12 10:04:45 2015 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue May 12 10:04:45 2015 -0400 Merge topic 'FindHDF5-version-support' into next 58d6709e FindHDF5: Add version support http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=58d6709e64d3ae061da2b9db49ce9d884a77e654 commit 58d6709e64d3ae061da2b9db49ce9d884a77e654 Author: Axel Huebl a.hu...@hzdr.de AuthorDate: Mon May 11 15:22:28 2015 +0200 Commit: Brad King brad.k...@kitware.com CommitDate: Tue May 12 10:04:19 2015 -0400 FindHDF5: Add version support Detect the HDF5 version and set HDF5_VERSION just as we detect HDF5_IS_PARALLEL from the header already. diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 0d58e13..b4f4399 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -51,6 +51,7 @@ # bindings. # HDF5_LIBRARIES - Required libraries for all requested bindings # HDF5_FOUND - true if HDF5 was found on the system +# HDF5_VERSION - HDF5 version in format Major.Minor.Release # HDF5_LIBRARY_DIRS - the full set of library directories # HDF5_IS_PARALLEL - Whether or not HDF5 was found with parallel IO support # HDF5_C_COMPILER_EXECUTABLE - the path to the HDF5 C wrapper compiler @@ -59,6 +60,7 @@ # HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool #= +# Copyright 2015 Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf # Copyright 2009 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the License); @@ -335,6 +337,7 @@ if( NOT HDF5_FOUND ) # If the HDF5 include directory was found, open H5pubconf.h to determine if # HDF5 was compiled with parallel IO support set( HDF5_IS_PARALLEL FALSE ) +set( HDF5_VERSION ) foreach( _dir IN LISTS HDF5_INCLUDE_DIRS ) if( EXISTS ${_dir}/H5pubconf.h ) file( STRINGS ${_dir}/H5pubconf.h @@ -343,6 +346,16 @@ if( NOT HDF5_FOUND ) if( HDF5_HAVE_PARALLEL_DEFINE ) set( HDF5_IS_PARALLEL TRUE ) endif() +unset(HDF5_HAVE_PARALLEL_DEFINE) + +file( STRINGS ${_dir}/H5pubconf.h +HDF5_VERSION_DEFINE +REGEX ^[ \t]*#[ \t]*define[ \t]+H5_VERSION[ \t]+ ) +if( ${HDF5_VERSION_DEFINE} MATCHES +H5_VERSION[ \t]+\([0-9]+\\.[0-9]+\\.[0-9]+).*\ ) +set( HDF5_VERSION ${CMAKE_MATCH_1} ) +endif() +unset(HDF5_VERSION_DEFINE) endif() endforeach() set( HDF5_IS_PARALLEL ${HDF5_IS_PARALLEL} CACHE BOOL @@ -357,8 +370,8 @@ if( NOT HDF5_FOUND ) endif() -find_package_handle_standard_args( HDF5 DEFAULT_MSG -HDF5_LIBRARIES -HDF5_INCLUDE_DIRS +find_package_handle_standard_args( HDF5 +REQUIRED_VARS HDF5_LIBRARIES HDF5_INCLUDE_DIRS +VERSION_VAR HDF5_VERSION ) diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt index 15493be..bdc2563 100644 --- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt +++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt @@ -86,8 +86,8 @@ foreach(VTEST ALSA ARMADILLO BZIP2 CUPS CURL EXPAT FREETYPE GETTEXT GIT HG check_version_string(${VTEST} ${VTEST}_VERSION_STRING) endforeach() -foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2 LibArchive OPENSCENEGRAPH -RUBY SWIG) +foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2 +HDF5 LibArchive OPENSCENEGRAPH RUBY SWIG) check_version_string(${VTEST} ${VTEST}_VERSION) endforeach() --- Summary of changes: hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits
[cmake-developers] [CMake 0015564]: MIPS is a CPU (fix mipsel support)
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15564 == Reported By:Mathieu Malaterre Assigned To: == Project:CMake Issue ID: 15564 Category: CMake Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2015-05-12 11:15 EDT Last Modified: 2015-05-12 11:15 EDT == Summary:MIPS is a CPU (fix mipsel support) Description: The code assume that __MIPS__ imply big endian, which is incorrect. See attached patch for details. Orig ref: https://bugs.debian.org/785126 == Issue History Date ModifiedUsername FieldChange == 2015-05-12 11:15 Mathieu MalaterreNew Issue 2015-05-12 11:15 Mathieu MalaterreFile Added: mipsel.patch == -- 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] (no subject)
dear cmake user i am not able to updaate the cmake in one of my linux system. how can i update the cmake in centos -- 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] install/strip target doesn't exist?
I'm actually glad it doesn't auto strip though... in this case I'm appending signature data to the exe and it would be bad if that was stripped; and strip does do a good job of removing that also. I am curious why I can't specify the target on the command line... like why there's an automatic translation of slashes; would really think that it's up to the user to specify the correct direction of slashes. There's nothing in the windows file system that doesn't like forward or backward slash (it accepts either), just applications. (as in) cmake.exe --build . --config release --target install/strip -- which gets the / reversed before make is called. On Mon, May 11, 2015 at 10:44 AM, J Decker d3c...@gmail.com wrote: yes. running strip on DLLs can take a 24k dll and make it 10k. https://drive.google.com/folderview?id=0B812EYiKwtkkfkc5bDI1RUZOaEtyV1VicUpva0Nkd09pN2V2YjFCODdNajRYNWRWZ2psZkE It has a lot of extra data even building with CMAKE_BUILD_TYPE=release On Mon, May 11, 2015 at 10:36 AM, Hendrik Sattler p...@hendrik-sattler.de wrote: Am 11. Mai 2015 18:46:13 MESZ, schrieb J Decker d3c...@gmail.com: command: cmake.exe --build . --config release --target install/strip -- output: mingw32-make.exe: *** No rule to make target 'install\strip'. Stop. It reverses the slash? install doesn't always strip? does package strip? Is there actually anything to strip from a windows executable? Even on Linux: stripping a binary without debug symbols? HS -- 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