[cmake-developers] [CMake 0014786]: Imported targets always require an IMPORTED_LOCATION
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14786 == Reported By:Philipp Möller Assigned To: == Project:CMake Issue ID: 14786 Category: CMake Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2014-03-05 08:06 EST Last Modified: 2014-03-05 08:06 EST == Summary:Imported targets always require an IMPORTED_LOCATION Description: When creating an imported target importtarget and not setting the IMPORTED_LOCATION property, targets linking against the imported target will have a dependency on importtarget-NOTFOUND, making it impossible to build. A common use case is to manually create imported targets from the result of a find_package call for easy reference to the dependency in various places in the build system. Some libraries (like core Boost, Eigen) don't have any libraries. Steps to Reproduce: Use: cmake_minimum_required(VERSION 2.8) project(Foo) add_executable(main main.cpp) add_library(Header_only_lib IMPORTED) set_target_properties(${lib} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES /usr/include/my_lib ) target_link_libraries(main Header_only_lib) cmake . make main # boom Additional Information: AFAIK this is going to be resolved with add_library(foo INTERFACE IMPORTED), but a work-around for earlier CMake versions would be much appreciated. == Issue History Date ModifiedUsername FieldChange == 2014-03-05 08:06 Philipp Möller New Issue == -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] Introduction and volunteering for the Matlab package
Hello, My name is Raffi Enficiaud. I am volunteering myself for maintaining the Matlab package. In fact, I wrote a Matlab package that I am currently using on Mac and Win in Bamboo continuous build (and in the near future on Ubuntu). I already gave some of the functionalities in the following mantis ticket: http://www.cmake.org/Bug/view.php?id=14641 I would like to release this to the cmake community and to maintain it. Waiting for your feedbacks, Best, Raffi Enficiaud -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] [CMake 0014787]: Unable to include a directory named after a Visual Studio macro.
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=14787 == Reported By:tibur Assigned To: == Project:CMake Issue ID: 14787 Category: CMake Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2014-03-05 09:12 EST Last Modified: 2014-03-05 09:12 EST == Summary:Unable to include a directory named after a Visual Studio macro. Description: I am trying to include a directory defined by a Visual Studio macro name ($(BlahBlahBlah)). Using the following CMakeLists.txt, CMake concatenates the project working dir (d:/taf/Blah) with my macro name, leading to a wrong include directory. Steps to Reproduce: cmake_minimum_required(VERSION 2.8) include_directories(c:/) include_directories($(BlahBlahBlah)) include_directories(d:/) add_executable(Blah main.cpp) Produces: AdditionalIncludeDirectoriesc:\;d:\Taf\Blah\$(BlahBlahBlah);d:\;%(AdditionalIncludeDirectories)/AdditionalIncludeDirectories == Issue History Date ModifiedUsername FieldChange == 2014-03-05 09:12 tibur New Issue == -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] Fwd: [Bug 1072964] New: Could NOT find PythonInterp
So, I reverted the patch in Fedora to that stated in http://cmake.org/Bug/view.php?id=13794 and that seems to have immediately broken things. I'm attaching the version that Fedora has been carrying (and seemingly working). BTW - This seems to be a duplicate: http://cmake.org/Bug/view.php?id=10077 - Orion Original Message Subject: [Bug 1072964] New: Could NOT find PythonInterp Date: Wed, 05 Mar 2014 13:58:41 + From: bugzi...@redhat.com To: or...@cora.nwra.com https://bugzilla.redhat.com/show_bug.cgi?id=1072964 Bug ID: 1072964 Summary: Could NOT find PythonInterp Product: Fedora Version: rawhide Component: cmake Assignee: or...@cora.nwra.com Reporter: akozu...@redhat.com QA Contact: extras...@fedoraproject.org CC: jrez...@redhat.com, lti...@redhat.com, or...@cora.nwra.com, pertu...@free.fr, pmach...@redhat.com, rdie...@math.unl.edu Hello, DNF rawhide builds started to fail today: http://kojipkgs.fedoraproject.org//work/tasks/4/664/build.log The most relevant part is below. dgilmore noticed there has been this change in CMake: [14:49]dgilmore akozumpl: cmake-3.0.0-0.3.rc1.fc21 [14:49]dgilmore [14:49]dgilmore * Mon Mar 03 2014 Orion Poplawski or...@cora.nwra.com - 3.0.0-0.3.rc1 [14:49]dgilmore - Update to upstreams version of FindPythonLibs patch so we think it's probable cmake is causing this. mock builds are passing so far. -- Found PythonLibs: /usr/lib64/libpython3.3m.so (found suitable version 3.3.2, minimum required is 3.0) CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message): Could NOT find PythonInterp: Found unsuitable version 2.7.6, but required is at least 3.0 (found /usr/bin/python) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:341 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindPythonInterp.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:18 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also /builddir/build/BUILD/dnf/py3/CMakeFiles/CMakeOutput.log. error: Bad exit status from /var/tmp/rpm-tmp.eGxvxC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.eGxvxC (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/dnf.spec'] Traceback (most recent call last): File /usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py, line 70, in trace result = func(*args, **kw) File /usr/lib/python2.7/site-packages/mockbuild/util.py, line 376, in do raise mockbuild.exception.Error, (Command failed. See logs for output.\n # %s % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/dnf.spec'] LEAVE do -- EXCEPTION RAISED -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. diff -rupN cmake/Modules/FindPythonLibs.cmake new/Modules/FindPythonLibs.cmake --- cmake/Modules/FindPythonLibs.cmake 2013-04-12 14:09:08.470669049 -0500 +++ new/Modules/FindPythonLibs.cmake 2013-04-12 15:41:15.789496153 -0500 @@ -69,10 +69,21 @@ endif() # Set up the versions we know about, in the order we will search. Always add # the user supplied additional versions to the front. -set(_Python_VERSIONS - ${Python_ADDITIONAL_VERSIONS} - ${_PYTHON_FIND_OTHER_VERSIONS} - ) +# If FindPythonInterp has already found the major and minor version, +# insert that version between the user supplied versions and the stock +# version list. +if(DEFINED PYTHON_VERSION_MAJOR AND DEFINED PYTHON_VERSION_MINOR) + set(_Python_VERSIONS +${Python_ADDITIONAL_VERSIONS} +${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} +${_PYTHON_FIND_OTHER_VERSIONS} +) +else() + set(_Python_VERSIONS +${Python_ADDITIONAL_VERSIONS} +${_PYTHON_FIND_OTHER_VERSIONS} +) +endif() unset(_PYTHON_FIND_OTHER_VERSIONS) unset(_PYTHON1_VERSIONS) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] Cmake contribution for Open Watcom (patch)
On 02/28/2014 02:38 PM, Jiri Malak wrote: FYI, you can run the test suite with the Open Watcom compiler by configuring to build with another compiler but setting CMAKE_TEST_GENERATOR and CMAKE_TEST_MAKEPROGRAM to be Watcom WMake and c:/path/to/wmake.exe, respectively. Then after building, open a terminal in an environment set up for Open Watcom and run bin\ctest to run the tests. Add options -j 8 for parallel testing or -R someregex to run a subset of tests or -V to see verbose test output. Thanks for hint, it is very useful. After working that way for years, by coincidence I just changed testing for Open Watcom to use another approach that will be easier to generalize for other compilers. Now after building CMake with another compiler, open a terminal with the environment configured for Open Watcom and do: mkdir CMake-ow-build cd CMake-ow-build cmake ../CMake -G Watcom WMake -DCMake_TEST_EXTERNAL_CMAKE=... where the ... value is a path to the directory containing the cmake, ctest, and cpack executables to be tested, such as: c:/path/to/CMake-other-build/bin Then run wmake in case there are any test-only binaries to build. Finally run ctest to launch the tests. The ctest -j/-R/-V/etc. options will still work. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] [Review request] Topic FindPkgConfig_Extend-PKG_CONFIG_PATH
On 03/04/2014 10:07 PM, Daniele E. Domenichelli wrote: Follow up to this thread: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/8369 Please review the topic FindPkgConfig_Extend-PKG_CONFIG_PATH. Nice! Please revise the documentation to use proper cross-reference syntax to link to other variables instead of just inline literals: ``SOME_VARIABLE`` = :variable:`SOME_VARIABLE` Also it looks like some logic is taken from GNUInstallDirs. Is there enough in common to try to factor that out into a helper module? Thanks, -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] Fwd: [Bug 1072964] New: Could NOT find PythonInterp
On 03/05/2014 10:29 AM, Orion Poplawski wrote: So, I reverted the patch in Fedora to that stated in http://cmake.org/Bug/view.php?id=13794 and that seems to have immediately broken things. I re-opened the issue, thanks. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] Fwd: [Bug 1072964] New: Could NOT find PythonInterp
On 03/05/2014 12:02 PM, Orion Poplawski wrote: On 03/05/2014 09:53 AM, Brad King wrote: On 03/05/2014 10:29 AM, Orion Poplawski wrote: http://cmake.org/Bug/view.php?id=13794 I re-opened the issue, thanks. Thanks - but I don't seem to be able to comment on it. Oops, I think I picked the wrong state. Please try again. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] Introduction and volunteering for the Matlab package
On 03/05/2014 08:49 AM, Raffi Enficiaud wrote: I am volunteering myself for maintaining the Matlab package. Great, thanks! I already gave some of the functionalities in the following mantis ticket: http://www.cmake.org/Bug/view.php?id=14641 In answer to your questions from there: - What should I do now? - What is the release process? Posting here was a good first step. See full instructions here: http://www.cmake.org/Wiki/CMake:Module_Maintainers#New_Maintainer Please post the proposed module as an attachment here for discussion and review. Once things are in good shape then we will ask you to sign up for Git access. - If I release this script with the BSD-3 license, it is ok right? What about the Boost v1 license that I am currently using? We require the BSD 3-Clause license, please. The developer manual: http://www.cmake.org/cmake/help/v3.0/manual/cmake-developer.7.html#find-modules specifies the exact format in which the legal notice must appear. The test suite verifies it. - How to update the documentation then? Should the package be released with a text file documenting the functionalities? The documentation goes in the module as described here: http://www.cmake.org/cmake/help/v3.0/manual/cmake-developer.7.html#module-documentation Thanks, -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] pause on new topics please
Hi Folks, Please do not merge any new topics to 'next' until further notice. It should just be for a day or two. Ben has been working for a while on sweeping API changes in the dev/string-apis topic to improve performance and reduce the mix of std::string and char* APIs. He has patiently rebased on every topic that has been coming through but is now ready to test it on the dashboards. The topic will likely conflict with most other changes. After it is clean I will merge it to master and lift the freeze. Then all active topics can be rebased on it to resolve the conflicts. Thanks, -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] [Patch] fix archive library build by Open Watcom
Hi, I enclosed fix for archive library (Utility) build by Open Watcom Regards JiriFrom 7bf955a4f1ffb5117063e17023d74fb11edf30a5 Mon Sep 17 00:00:00 2001 From: Jiri Malak malak.j...@gmail.com Date: Tue, 4 Mar 2014 16:35:44 +0100 Subject: [PATCH] fix archive library build by Open Watcom --- Utilities/cmlibarchive/libarchive/archive.h | 2 +- Utilities/cmlibarchive/libarchive/archive_entry.h | 4 ++-- Utilities/cmlibarchive/libarchive/archive_windows.h | 5 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Utilities/cmlibarchive/libarchive/archive.h b/Utilities/cmlibarchive/libarchive/archive.h index 1a1d32a..83d2c16 100644 --- a/Utilities/cmlibarchive/libarchive/archive.h +++ b/Utilities/cmlibarchive/libarchive/archive.h @@ -54,7 +54,7 @@ /* Get appropriate definitions of standard POSIX-style types. */ /* These should match the types used in 'struct stat' */ -#if defined(_WIN32) !defined(__CYGWIN__) +#if defined(_WIN32) !defined(__CYGWIN__) !defined(__WATCOMC__) # define __LA_INT64_T __int64 # if defined(_SSIZE_T_DEFINED) || defined(_SSIZE_T_) # define __LA_SSIZE_T ssize_t diff --git a/Utilities/cmlibarchive/libarchive/archive_entry.h b/Utilities/cmlibarchive/libarchive/archive_entry.h index 85ea885..ae6a76e 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry.h +++ b/Utilities/cmlibarchive/libarchive/archive_entry.h @@ -48,7 +48,7 @@ #endif /* Get a suitable 64-bit integer type. */ -#if defined(_WIN32) !defined(__CYGWIN__) +#if defined(_WIN32) !defined(__CYGWIN__) !defined(__WATCOMC__) # define __LA_INT64_T __int64 #else #include unistd.h @@ -63,7 +63,7 @@ #if ARCHIVE_VERSION_NUMBER = 3999000 /* Switch to plain 'int' for libarchive 4.0. It's less broken than 'mode_t' */ # define __LA_MODE_T int -#elif defined(_WIN32) !defined(__CYGWIN__) !defined(__BORLANDC__) +#elif defined(_WIN32) !defined(__CYGWIN__) !defined(__BORLANDC__) !defined(__WATCOMC__) # define __LA_MODE_T unsigned short #else # define __LA_MODE_T mode_t diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.h b/Utilities/cmlibarchive/libarchive/archive_windows.h index 620810c..1dd61b6 100644 --- a/Utilities/cmlibarchive/libarchive/archive_windows.h +++ b/Utilities/cmlibarchive/libarchive/archive_windows.h @@ -188,6 +188,9 @@ #define S_ISDIR(m) (((m) S_IFMT) == S_IFDIR) /* directory */ #define S_ISREG(m) (((m) S_IFMT) == S_IFREG) /* regular file */ #endif + +#if !defined(__WATCOMC__) + #define S_ISLNK(m) (((m) S_IFMT) == S_IFLNK) /* Symbolic link */ #define S_ISSOCK(m) (((m) S_IFMT) == S_IFSOCK) /* Socket */ @@ -227,6 +230,8 @@ #define S_IWOTH_S_IWOTH #define S_IROTH_S_IROTH +#endif + #define F_DUPFD 0 /* Duplicate file descriptor. */ #define F_GETFD 1 /* Get file descriptor flags. */ #define F_SETFD 2 /* Set file descriptor flags. */ -- 1.8.1.4 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [cmake-developers] Introduction and volunteering for the Matlab package
Hi, So, I began writing the doc of the module and changed the license according to the instructions. I am attaching the module to the email. FindMatlab.cmake Description: Binary data From what I see in the instructions, there are some issues with the proposed module: - the error messages are more or less message(STATUS... and sometimes message(FATAL_ERROR, rather than using Xxx_NOT_FOUND_MESSAGE. So basically if I set this variable to the error message and just call “return()” from the module scope, it will do the job? - it looks like I am making too much use of the CACHE. However, I do not know if the variables like Xxx_INCLUDE_DIRS should go to the CACHE or to the PARENT_SCOPE. What are the good practices for these variables ? - some of the variables should be renamed - the version matching should be performed in the module, right ? Best, Raffi Enficiaud On 05 Mar 2014, at 18:50, Brad King brad.k...@kitware.com wrote: On 03/05/2014 08:49 AM, Raffi Enficiaud wrote: I am volunteering myself for maintaining the Matlab package. Great, thanks! I already gave some of the functionalities in the following mantis ticket: http://www.cmake.org/Bug/view.php?id=14641 In answer to your questions from there: - What should I do now? - What is the release process? Posting here was a good first step. See full instructions here: http://www.cmake.org/Wiki/CMake:Module_Maintainers#New_Maintainer Please post the proposed module as an attachment here for discussion and review. Once things are in good shape then we will ask you to sign up for Git access. - If I release this script with the BSD-3 license, it is ok right? What about the Boost v1 license that I am currently using? We require the BSD 3-Clause license, please. The developer manual: http://www.cmake.org/cmake/help/v3.0/manual/cmake-developer.7.html#find-modules specifies the exact format in which the legal notice must appear. The test suite verifies it. - How to update the documentation then? Should the package be released with a text file documenting the functionalities? The documentation goes in the module as described here: http://www.cmake.org/cmake/help/v3.0/manual/cmake-developer.7.html#module-documentation Thanks, -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
[cmake-developers] Who does CMake contract work?
Hi all, Are there any companies/individuals out there that have a history of contributions to CMake that would be interested in adding Android.mk generator and an NSight Tegra (Visual Studio plugin) generator? Details: Modify CMake to be able to generate Android.mk files usable by ndk-build Prove correct operation by building all LiquidFun targets using Android.mk files generated by CMake. Modify open source CMake to be able to generate NSight Tegra project files. Prove correct operation by building all LiquidFun targets using NSight Tegra files generated by CMake. Submit a patch to LiquidFun with working CMake files. (with copyright assignment) LiquidFun - http://google-opensource.blogspot.com/2013/12/liquidfun-rigid-body-physics-library.html (High probability of ongoing work as we port more CMake based open source projects to Android) Thanks, Vince -- Vince Harron | Technical Lead Manager | vhar...@google.com | 858-442-0868 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [CMake] Not finding build type when using cmake with llvm/clang
Am Mittwoch, 5. März 2014, 00:29:55 schrieb Edward Diener: When trying to build llvm/clang on Windows using cmake I execute from a build directory I created: cmake -DCMAKE_BUILD_TYPE=Release -G MinGW Makefiles ..\llvm only to receive: CMake Error: CMake was unable to find a build program corresponding to MinGW Makefiles. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake was unable to find a build program corresponding to MinGW Makefiles. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file: C:/Programming/VersionControl/bmw64_clang/CMakeFiles/2.8.12.1/CMakeCCompiler .cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: C:/Programming/VersionControl/bmw64_clang/CMakeFiles/2.8.12.1/CMakeCXXCompil er.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also C:/Programming/VersionControl/bmw64_clang/CMakeFiles/CMakeOutput.log. See also C:/Programming/VersionControl/bmw64_clang/CMakeFiles/CMakeError.log. I am using cmake 2.8.12.1. The doc says that MinGW Makefiles is a valid build type. Why is cmake looking for and why is i failing ? If I use Ninja as the build type cmake works fine. Hey, First hit on Google: http://stackoverflow.com/questions/6141608/cmake-make-program-not-found CMake doesn't seem to find 'make.exe' from the MinGW installation. Make sure it is in your %PATH%. Cheers -- Kevin Funk -- 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] Run executable targets after change of dependency and/or every time
Hi CMakers, I'm looking for a way to 1. build and run executable targets, after one of their dependency has been changed and 2. to run these executable targets every time whether they were rebuild or not. The first point is more important to me that the second one. A little background: I am working on automatical created, build and run tests. These tests use the Boost Test Framework. They are created by CMake by using configure_file() and a template, which works very well. After that the target is created and the dependencies are set: add_executable(${target}_tests EXCLUDE_FROM_ALL ${CMAKE_CURRENT_SOURCE_DIR}/tests/${target}_Tests.cpp) target_link_libraries(${target}_tests ${target}) target_link_libraries(${target}_tests ${Boost_LIBRARIES}) After that add_custom_command makes the executable run after the build: add_custom_command( TARGET ${target}_tests POST_BUILD COMMAND ${CMAKE_BINARY_DIR}/bin/${target}_tests${CMAKE_EXECUTABLE_SUFFIX} ARGS --log_format=XML --log_sink=${CMAKE_TEST_RESULTS}/${target}-test_results.xml --log-level=all --report_level=detailed DEPENDS ${target} ) There are two versions, one for Visual Studio which looks similiar. This works, too. But only the first time the code is build or when the code of the test is changed, not when the target it should test is changed. To the first point: I thought this should work out of the box, but it does not seem to. What would you suggest to solve this issue? Regarding the second point: I tried to use the touch command offered by CMake to make the tests targets to look as if they changed. Also I tried to use a custom_target (which I made all tests depend on), to have a target which is always out-of-date and forces the tests to be rebuild. Non of these attempts worked. So I now hope for your help. Best regards, Philipp -- 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] Run executable targets after change of dependency and/or every time
I forgot to mention, that I also have a custom_target called run_tests, which is created and depends on every test. By being build (in the sense of calling, since it does not have any source or anything else) this target arranges that all tests are being build and run. -- 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] problems with Visual Studio Express 2013
Hi all We're trying to build an application using ITK on Windows using Visual Studio Express 2013 (downloads of all software happened last week, so I guess we're up-to-date). Unfortunately, we get a lot of configuration errors (see full list below), implying that CMake 2.8.12.2 has problems with this compiler. The first one is like this: CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:311 (file): file STRINGS file C:/Users/Sarah/Documents/Elective/PETPVC-master/bin/CMakeFiles/2.8.12.2/Com pilerIdC/CompilerIdC.exe cannot be read. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (PROJECT) We first thought that we could get through this, as when pressing the Configure button again, those warnings disappear, and we can generate the project files, and VSE2013 loads them without problem, and indeed even can compile. However, we do get a lot of errors building ITK. On closer inspection, the compiler flags are not set properly (for instance, exception handling is not enabled). Indeed, checking the CMake Advanced variables, all compiler flags are just empty. I did a tiny bit more of investigation to check if I can find the CompilerIdC.exe files mentioned above. It isn't there. I do find a CompilerIdC directory with projects files, a Debug directory with some stuff, but no executable. (Sorry to be so vague, but this is all happening on a student's computer to which I have no access to show you more detail). Anything we can do? Thanks Kris --- Full error log CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:311 (file): file STRINGS file C:/Users/Sarah/Documents/Elective/PETPVC-master/bin/CMakeFiles/2.8.12.2/Com pilerIdC/CompilerIdC.exe cannot be read. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (PROJECT) CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:340 (file): file Internal CMake error when trying to open file: C:/Users/Sarah/Documents/Elective/PETPVC-master/bin/CMakeFiles/2.8.12.2/Comp ilerIdC/CompilerIdC.exe for reading. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (PROJECT) CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:341 (string): string end index: 1 is out of range -1 - 0 Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (PROJECT) CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:342 (string): string begin index: 1 is out of range 0 - 0 Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (PROJECT) CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:350 (math): math cannot parse the expression: * 16 + : syntax error, unexpected exp_TIMES, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (PROJECT) CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:352 (file): file Internal CMake error when trying to open file: C:/Users/Sarah/Documents/Elective/PETPVC-master/bin/CMakeFiles/2.8.12.2/Comp ilerIdC/CompilerIdC.exe for reading. Call Stack (most recent call first): C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:41 (CMAKE_DETERMINE_COMPILER_ID_CHECK) C:/Program
Re: [CMake] Not finding build type when using cmake with llvm/clang
On 3/5/2014 3:19 AM, Kevin Funk wrote: Am Mittwoch, 5. März 2014, 00:29:55 schrieb Edward Diener: When trying to build llvm/clang on Windows using cmake I execute from a build directory I created: cmake -DCMAKE_BUILD_TYPE=Release -G MinGW Makefiles ..\llvm only to receive: CMake Error: CMake was unable to find a build program corresponding to MinGW Makefiles. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake was unable to find a build program corresponding to MinGW Makefiles. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file: C:/Programming/VersionControl/bmw64_clang/CMakeFiles/2.8.12.1/CMakeCCompiler .cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: C:/Programming/VersionControl/bmw64_clang/CMakeFiles/2.8.12.1/CMakeCXXCompil er.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also C:/Programming/VersionControl/bmw64_clang/CMakeFiles/CMakeOutput.log. See also C:/Programming/VersionControl/bmw64_clang/CMakeFiles/CMakeError.log. I am using cmake 2.8.12.1. The doc says that MinGW Makefiles is a valid build type. Why is cmake looking for and why is i failing ? If I use Ninja as the build type cmake works fine. Hey, First hit on Google: http://stackoverflow.com/questions/6141608/cmake-make-program-not-found CMake doesn't seem to find 'make.exe' from the MinGW installation. Make sure it is in your %PATH%. MingW does not have a make.exe at all. What actual program is cmake looking for when MinGW Makefiles is specified ? Cheers -- 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] How to write a correct wrapper of MESSAGE()?
On Mon, Oct 21, 2013 at 6:06 PM, Johannes Zarl johannes.z...@jku.at wrote: On Thursday, 17. October 2013, 07:12:51, Clark WANG wrote: When I'm using CMake more and more I find it's not a real serious language. It's so tricky. I can see why you are frustrated. I don't think it's all bad though. Hopefully CMake3 will be used for some language cleanups at the expense of breaking some backwards-compatibility... The 3.0 (now rc1) release noteshttp://www.cmake.org/cmake/help/v3.0/release/3.0.0.htmldid not mention about these kinds of things. :( Johannes -- 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 -- 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] Not finding build type when using cmake with llvm/clang
On 05.03.2014 16:06, Edward Diener wrote: MingW does not have a make.exe at all. What actual program is cmake looking for when MinGW Makefiles is specified ? http://www.cmake.org/cmake/help/git-master/generator/MinGW%20Makefiles.html: mingw32-make Is mingw's bin directory in your PATH? Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] PackageMaker with script for InstallationCheck
Hello list, I found variables to launch custom preflight/postflight scripts with CPACK_PREFLIGHT_SCRIPT and CPACK_POSTFLIGHT_SCRIPT. Is there also a way to call a custom install check script? For example, I need to know if a specified application is already installed or not. If the application wasn't found then the installer could exit. Thanks in advance -- 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] CMAKE_RUNTIME_OUTPUT_DIRECTORY inconsistent between make and Xcode
Hello, I have noticed an annoying difference between Xcode and make as far as the output directory is concerned. I have added the following to my CMakeLists.txt: set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) When I run the makefiles generated by CMake with CMAKE_BUILD_TYPE=Debug, I can find all of my executables and libraries in build_dir/bin. However, if I generate an Xcode project with CMake and build my binaries, they'll end up partly in build_dir/bin and partly in build_dir/bin/Debug. With Xcode, the binaries that end up in build_dir/bin/Debug are those generated by add_executable/library CMake rules. And the binaries that end up in build_dir/bin are those generated by my add_custom_command to which I told to put the binaries in ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}. But if I tell my custom command to put the binaries in ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE}, then it'll be ok with Xcode but not make. So what should I do? Is it an expected behavior? Thanks, Lucas -- 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] difference between LINK_INTERFACE_LIBRARIES and INTERFACE_LINK_LIBRARIES
Based on --help-property I can't really tease them apart. It looks like LINK_INTERFACE_LIBRARIES is old and INTERFACE_LINK_LIBRARIES is new, but I can't really figure out what the change is. In my project, I have a hierarchy of static libraries connected by TARGET_LINK_LIBRARIES(... LINK_PUBLIC ...) and I can get to this information with LINK_INTERFACE_LIBRARIES on linux, but on OSX it appears to not be there with LINK_INTERFACE_LIBRARIES, but INTERFACE_LINK_LIBRARIES does work. I would like to understand the difference and version support before I start using it. 1. Which versions support INTERFACE_LINK_LIBRARIES? 2. What are the differences between them? 3. There also seems to be a difference (for ADD_LIBRARY) between LINK_PUBLIC/LINK_PRIVATE and (what I believe are newer) PUBLIC/PRIVATE, but what are the differences here? For example, I've used the below CMakeLists.txt and gotten the below output. Clearly there is some difference ($LINK_ONLY:a), but what does it mean? CMakeLists.txt: project(test) add_library(a STATIC a) add_library(b STATIC b) target_link_libraries(b a) add_library(c STATIC c) target_link_libraries(c LINK_PRIVATE a) add_library(d STATIC d) target_link_libraries(d LINK_PUBLIC a) add_library(e STATIC e) target_link_libraries(e PRIVATE a) add_library(f STATIC f) target_link_libraries(f PUBLIC a) foreach (lib a b c d e f) get_property(lil TARGET ${lib} PROPERTY LINK_INTERFACE_LIBRARIES) get_property(ill TARGET ${lib} PROPERTY INTERFACE_LINK_LIBRARIES) message(STATUS ${lib}: LINK_INTERFACE_LIBRARIES = \${lil}\ INTERFACE_LINK_LIBRARIES = \${ill}\) endforeach () output: -- a: LINK_INTERFACE_LIBRARIES = INTERFACE_LINK_LIBRARIES = -- b: LINK_INTERFACE_LIBRARIES = INTERFACE_LINK_LIBRARIES = a -- c: LINK_INTERFACE_LIBRARIES = INTERFACE_LINK_LIBRARIES = $LINK_ONLY:a -- d: LINK_INTERFACE_LIBRARIES = a INTERFACE_LINK_LIBRARIES = a -- e: LINK_INTERFACE_LIBRARIES = INTERFACE_LINK_LIBRARIES = $LINK_ONLY:a -- f: LINK_INTERFACE_LIBRARIES = a INTERFACE_LINK_LIBRARIES = a -- Cheers, Leif -- 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-rc1-505-g997c8db
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 997c8dbda3cfb297a40d2c99b29344c74fb89d18 (commit) via 2ed0d06691d5123d92395208338a361b23ec3d62 (commit) from d851b266b2996058ae7c4da6eec3e0a7c7d86acd (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=997c8dbda3cfb297a40d2c99b29344c74fb89d18 commit 997c8dbda3cfb297a40d2c99b29344c74fb89d18 Merge: d851b26 2ed0d06 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Mar 5 08:33:04 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 08:33:04 2014 -0500 Merge topic 'test-AUTOGEN-custom-command-depends' into next 2ed0d066 QtAutogen: Fix AUTOGEN depends on custom command output with VS. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2ed0d06691d5123d92395208338a361b23ec3d62 commit 2ed0d06691d5123d92395208338a361b23ec3d62 Author: Stephen Kelly steve...@gmail.com AuthorDate: Wed Mar 5 13:43:50 2014 +0100 Commit: Stephen Kelly steve...@gmail.com CommitDate: Wed Mar 5 14:30:32 2014 +0100 QtAutogen: Fix AUTOGEN depends on custom command output with VS. Visual Studio is handled as a special case for autogen depends. However, the special handling works only for target dependencies, not file dependencies output by a custom command. Split dependencies into lists of targets and non-targets and handle the targets only as a special case. diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index dfb310e..31026b6 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -261,20 +261,37 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target) // https://connect.microsoft.com/VisualStudio/feedback/details/769495 usePRE_BUILD = vslg-GetVersion() = cmLocalVisualStudioGenerator::VS7; } + std::vectorstd::string prebuildDeps; if(usePRE_BUILD) { +for (std::vectorstd::string::iterator it = depends.begin(); + it != depends.end(); ) + { + if(makefile-FindTargetToUse(it-c_str())) +{ +// The PRE_BUILD handling below can not handle non-targets. +prebuildDeps.push_back(*it); +it = depends.erase(it); +} + else +{ +++it; +} + } + // Add the pre-build command directly to bypass the OBJECT_LIBRARY // rejection in cmMakefile::AddCustomCommandToTarget because we know // PRE_BUILD will work for an OBJECT_LIBRARY in this specific case. std::vectorstd::string no_output; -cmCustomCommand cc(makefile, no_output, depends, +cmCustomCommand cc(makefile, no_output, prebuildDeps, commandLines, autogenComment.c_str(), workingDirectory.c_str()); cc.SetEscapeOldStyle(false); cc.SetEscapeAllowMakeVars(true); target-AddPreBuildCommand(cc); } - else + + if(!usePRE_BUILD || !depends.empty()) #endif { cmTarget* autogenTarget = makefile-AddUtilityCommand( diff --git a/Tests/QtAutogen/CMakeLists.txt b/Tests/QtAutogen/CMakeLists.txt index 4da125f..0821b45 100644 --- a/Tests/QtAutogen/CMakeLists.txt +++ b/Tests/QtAutogen/CMakeLists.txt @@ -58,11 +58,17 @@ add_custom_target(generate_moc_input COMMAND ${CMAKE_COMMAND} -E rename ${CMAKE_CURRENT_BINARY_DIR}/myinterface.h.in ${CMAKE_CURRENT_BINARY_DIR}/myinterface.h ) +add_custom_command( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/myotherinterface.h + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/myotherinterface.h.in ${CMAKE_CURRENT_BINARY_DIR}/myotherinterface.h + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/myotherinterface.h.in +) + add_executable(QtAutogen main.cpp calwidget.cpp foo.cpp blub.cpp bar.cpp abc.cpp xyz.cpp yaf.cpp gadget.cpp $TARGET_OBJECTS:privateSlot test.qrc resourcetester.cpp generated.cpp ) -set_property(TARGET QtAutogen APPEND PROPERTY AUTOGEN_TARGET_DEPENDS generate_moc_input) +set_property(TARGET QtAutogen APPEND PROPERTY AUTOGEN_TARGET_DEPENDS generate_moc_input ${CMAKE_CURRENT_BINARY_DIR}/myotherinterface.h) set_target_properties(QtAutogen codeeditorLib privateSlot PROPERTIES AUTOMOC TRUE) diff --git a/Tests/QtAutogen/generated.h b/Tests/QtAutogen/generated.h index dd22489..b6c2711 100644 --- a/Tests/QtAutogen/generated.h +++ b/Tests/QtAutogen/generated.h @@ -5,11 +5,12 @@ #include QObject #include myinterface.h +#include myotherinterface.h -class Generated : public QObject, MyInterface +class Generated : public QObject, MyInterface, MyOtherInterface { Q_OBJECT - Q_INTERFACES(MyInterface)
[Cmake-commits] CMake branch, next, updated. v3.0.0-rc1-507-g73a8f56
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 73a8f565a56ce4e0738bc0214cfd1d4d7690 (commit) via 77b035909678fe5ff287f415d0887921f360aacd (commit) from 997c8dbda3cfb297a40d2c99b29344c74fb89d18 (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=73a8f565a56ce4e0738bc0214cfd1d4d7690 commit 73a8f565a56ce4e0738bc0214cfd1d4d7690 Merge: 997c8db 77b0359 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 10:57:00 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 10:57:00 2014 -0500 Merge topic 'link-libraries-response-files' into next 77b03590 Windows: Use response files for link libraries only where supported http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=77b035909678fe5ff287f415d0887921f360aacd commit 77b035909678fe5ff287f415d0887921f360aacd Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 10:48:59 2014 -0500 Commit: Brad King brad.k...@kitware.com CommitDate: Wed Mar 5 10:49:19 2014 -0500 Windows: Use response files for link libraries only where supported The NMake Makefiles generator already puts link libraries in an inline response file and at least the VS = 7.1 tools do not support nested response files. GNU 3.x compilers do not support response files so we pass them to the linker using -Wl,@ but link libraries are generated with options meant for the compiler front-end so passing them through a response file to the linker does not always work. diff --git a/Help/release/dev/link-libraries-response-files.rst b/Help/release/dev/link-libraries-response-files.rst index 624abf5..cecf7f6 100644 --- a/Help/release/dev/link-libraries-response-files.rst +++ b/Help/release/dev/link-libraries-response-files.rst @@ -1,9 +1,5 @@ link-libraries-response-files - -* The Makefile generators learned to use response files with - GNU tools on Windows to pass the list of link directories - and libraries when linking executables and shared libraries. - This matches the approach already used for passing include - directories to the compiler and object files to the linker - or archiver. It allows very long lists of libraries. +* The Makefile generators learned to use response files with GNU tools + on Windows to pass library directories and names to the linker. diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake index 2bb7a20..5c5b360 100644 --- a/Modules/Platform/Windows-GNU.cmake +++ b/Modules/Platform/Windows-GNU.cmake @@ -87,6 +87,7 @@ macro(__windows_compiler_gnu lang) set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS ) set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS ${__WINDOWS_GNU_LD_RESPONSE}) + set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_LIBRARIES ${__WINDOWS_GNU_LD_RESPONSE}) set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_INCLUDES 1) # We prefer @ for response files but it is not supported by gcc 3. @@ -103,7 +104,9 @@ macro(__windows_compiler_gnu lang) endif() # The GNU 3.x compilers do not support response files (only linkers). set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_INCLUDES 0) - elseif(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS) +# Link libraries are generated only for the front-end. +set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_LIBRARIES 0) + else() # Use @ to pass the response file to the front-end. set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG @) endif() diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 4bca752..1802054 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -307,14 +307,26 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) } // Select whether to use a response file for objects. - bool useResponseFile = false; + bool useResponseFileForObjects = false; { std::string responseVar = CMAKE_; responseVar += linkLanguage; responseVar += _USE_RESPONSE_FILE_FOR_OBJECTS; if(this-Makefile-IsOn(responseVar.c_str())) { -useResponseFile = true; +useResponseFileForObjects = true; +} + } + + // Select whether to use a response file for libraries. + bool useResponseFileForLibs = false; + { + std::string responseVar = CMAKE_; + responseVar += linkLanguage; + responseVar += _USE_RESPONSE_FILE_FOR_LIBRARIES; + if(this-Makefile-IsOn(responseVar.c_str())) +{ +useResponseFileForLibs = true; } } @@ -325,13 +337,13 @@ void
[Cmake-commits] CMake branch, master, updated. v3.0.0-rc1-132-ga8dced5
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 a8dced5856c4dc6c2e00ee49c5ba1bc981688cef (commit) via 3504f9b9ff8d76739f39af2bd2de8b6068431c2e (commit) from c9df12cceed9fdf946503ea47abb113ebaa9800e (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=a8dced5856c4dc6c2e00ee49c5ba1bc981688cef commit a8dced5856c4dc6c2e00ee49c5ba1bc981688cef Merge: c9df12c 3504f9b Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:08:02 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:08:02 2014 -0500 Merge topic 'fix-check-build-system-crash' 3504f9b9 cmake: Fix --check-build-system argument count check (#14784) --- Summary of changes: Source/cmake.cxx |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, master, updated. v3.0.0-rc1-128-gcefa802
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 cefa80236d01635cccebf9aa69f58f0f40cfede3 (commit) via 9608ef6f402bc5730dbf3276abf27b4e4b1abb2b (commit) via 9f5bd180c8e0114ff153deeaa1690ce9eb250005 (commit) via 76477267bda58d10b8e00229bffd841f9e73d041 (commit) via a8a9fb7edd2e3631388c9e18e4700cbb12207be8 (commit) via 4047557379c34223f2e27a626e1a06e6702329f4 (commit) via f99734b2da43af21b9c023d117eb3d0daba9b30e (commit) via 3c01ee5adceafb0febd9cedab9211f830f953c03 (commit) via daf0a5fedebb2dac66ac26516eeeff502ddcf432 (commit) via e5096312378f97cca24f4190082b3b8991812608 (commit) from 9e6e9140c2baf2afa546fbb3a72fbff31e81f69c (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=cefa80236d01635cccebf9aa69f58f0f40cfede3 commit cefa80236d01635cccebf9aa69f58f0f40cfede3 Merge: 9e6e914 9608ef6 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:07:59 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:07:59 2014 -0500 Merge topic 'test-external-cmake' 9608ef6f Tests: Optionally configure tests exclusively, with an external CMake 9f5bd180 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables 76477267 Tests: Drop CMAKE_TEST_MAKEPROGRAM variable a8a9fb7e Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for explicit make program 40475573 Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projects f99734b2 Tests: Rename CMAKE_TEST_DEVENV - CMake_TEST_DEVENV 3c01ee5a Tests: Drop CMAKE_TEST_MSVC and test MSVC directly daf0a5fe Tests: Drop CMAKE_TEST_GENERATOR and CMAKE_TEST_MAKEPROGRAM options e5096312 Tests: Drop kwsys test --- Summary of changes: CMakeLists.txt | 329 ++-- Tests/CMakeBuildTest.cmake.in |4 +- Tests/CMakeLists.txt | 192 ++-- Tests/CMakeOnly/Test.cmake.in |4 +- .../CTestBuildCommandProjectInSubdir.cmake.in |2 +- Tests/CTestConfig/dashboard.cmake.in |4 +- Tests/CTestConfig/script.cmake.in |4 +- Tests/CTestTestBadExe/test.cmake.in|4 +- Tests/CTestTestChecksum/test.cmake.in |4 +- Tests/CTestTestConfigFileInBuildDir/test1.cmake.in |4 +- Tests/CTestTestConfigFileInBuildDir/test2.cmake.in |4 +- Tests/CTestTestCostSerial/test.cmake.in|4 +- Tests/CTestTestCrash/test.cmake.in |4 +- Tests/CTestTestCycle/test.cmake.in |4 +- Tests/CTestTestDepends/test.cmake.in |4 +- Tests/CTestTestFailure/testNoBuild.cmake.in|4 +- Tests/CTestTestFailure/testNoExe.cmake.in |4 +- Tests/CTestTestFdSetSize/test.cmake.in |4 +- Tests/CTestTestMemcheck/test.cmake.in |4 +- Tests/CTestTestParallel/test.cmake.in |4 +- Tests/CTestTestResourceLock/test.cmake.in |4 +- Tests/CTestTestScheduler/test.cmake.in |4 +- Tests/CTestTestSkipReturnCode/test.cmake.in|4 +- Tests/CTestTestStopTime/test.cmake.in |4 +- Tests/CTestTestSubdir/test.cmake.in|4 +- Tests/CTestTestTimeout/test.cmake.in |4 +- Tests/CTestTestUpload/test.cmake.in|4 +- Tests/CTestTestZeroTimeout/test.cmake.in |4 +- Tests/ExportImport/CMakeLists.txt |4 +- Tests/ExportImport/InitialCache.cmake.in |2 +- .../ExternalProjectUpdateTest.cmake|2 +- Tests/Fortran/CMakeLists.txt |6 +- Tests/FortranC/Flags.cmake.in |4 +- Tests/MacRuntimePath/CMakeLists.txt|4 +- Tests/MacRuntimePath/InitialCache.cmake.in |2 +- Tests/RunCMake/CMakeLists.txt |8 +- 36 files changed, 329 insertions(+), 326 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, master, updated. v3.0.0-rc1-116-g955dd1a
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 955dd1a551698aa85b404bcd96b62740caac3160 (commit) via 69d73d27cba5249e3cfe1ba12ccdfbc3b5962e8b (commit) from f0dcbb17721e777bef3be6b2f4011fefaa6fbbf0 (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=955dd1a551698aa85b404bcd96b62740caac3160 commit 955dd1a551698aa85b404bcd96b62740caac3160 Merge: f0dcbb1 69d73d2 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:07:57 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:07:57 2014 -0500 Merge topic 'doc-find_package-build-paths' 69d73d27 Help: Mention in find_package that cmake-gui step is Windows-only (#14781) --- Summary of changes: Help/command/find_package.rst |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, master, updated. v3.0.0-rc1-118-g9e6e914
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 9e6e9140c2baf2afa546fbb3a72fbff31e81f69c (commit) via 7e187eeacd609c18940aa7cd700b048f72fd5568 (commit) from 955dd1a551698aa85b404bcd96b62740caac3160 (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=9e6e9140c2baf2afa546fbb3a72fbff31e81f69c commit 9e6e9140c2baf2afa546fbb3a72fbff31e81f69c Merge: 955dd1a 7e187ee Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:07:58 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:07:58 2014 -0500 Merge topic 'fix-CMP0017-check' 7e187eea CMP0017: Fix check when including from CMake source tree --- Summary of changes: Source/cmMakefile.cxx|3 ++- Tests/FindPackageTest/FindLotsOfComponents.cmake |2 +- Tests/FindPackageTest/FindSomePackage.cmake |2 +- Tests/FindPackageTest/FindUpperCasePackage.cmake |2 +- 4 files changed, 5 insertions(+), 4 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, master, updated. v3.0.0-rc1-114-gf0dcbb1
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 f0dcbb17721e777bef3be6b2f4011fefaa6fbbf0 (commit) via 8372b4553bc58c00ad3ef923919ff5547746b95e (commit) via d348cd1bc50b74786d3e350a3b29aa92eeca1339 (commit) from ea95e3eae32b35711e23de30b4cbdb5ad2bd930a (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=f0dcbb17721e777bef3be6b2f4011fefaa6fbbf0 commit f0dcbb17721e777bef3be6b2f4011fefaa6fbbf0 Merge: ea95e3e 8372b45 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:07:55 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:07:55 2014 -0500 Merge topic 'FeatureSummary_combine_WHAT_values' 8372b455 FeatureSummary: Add unit tests d348cd1b FeatureSummary: Allow to combine and reorder values for the WHAT option --- Summary of changes: Modules/FeatureSummary.cmake | 56 ++-- Tests/RunCMake/CMakeLists.txt |1 + .../{CMP0022 = FeatureSummary}/CMakeLists.txt |0 .../FeatureSummaryWhatAll-stdout.txt |7 +++ .../FeatureSummary/FeatureSummaryWhatAll.cmake |9 .../FeatureSummaryWhatList-stdout.txt |7 +++ .../FeatureSummary/FeatureSummaryWhatList.cmake|9 .../FeatureSummaryWhatListAll-result.txt} |0 .../FeatureSummaryWhatListAll-stderr.txt |6 +++ .../FeatureSummary/FeatureSummaryWhatListAll.cmake |9 .../FeatureSummaryWhatListUnknown-result.txt} |0 .../FeatureSummaryWhatListUnknown-stderr.txt |6 +++ .../FeatureSummaryWhatListUnknown.cmake|9 .../FeatureSummaryWhatSingle-stdout.txt|1 + .../FeatureSummary/FeatureSummaryWhatSingle.cmake |9 .../FeatureSummaryWhatSingleUnknown-result.txt}|0 .../FeatureSummaryWhatSingleUnknown-stderr.txt |6 +++ .../FeatureSummaryWhatSingleUnknown.cmake |9 Tests/RunCMake/FeatureSummary/RunCMakeTest.cmake |8 +++ 19 files changed, 135 insertions(+), 17 deletions(-) copy Tests/RunCMake/{CMP0022 = FeatureSummary}/CMakeLists.txt (100%) create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatAll-stdout.txt create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatAll.cmake create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatList-stdout.txt create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatList.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = FeatureSummary/FeatureSummaryWhatListAll-result.txt} (100%) create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatListAll-stderr.txt create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatListAll.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = FeatureSummary/FeatureSummaryWhatListUnknown-result.txt} (100%) create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatListUnknown-stderr.txt create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatListUnknown.cmake create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingle-stdout.txt create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingle.cmake copy Tests/RunCMake/{CMP0004/CMP0004-NEW-result.txt = FeatureSummary/FeatureSummaryWhatSingleUnknown-result.txt} (100%) create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown-stderr.txt create mode 100644 Tests/RunCMake/FeatureSummary/FeatureSummaryWhatSingleUnknown.cmake create mode 100644 Tests/RunCMake/FeatureSummary/RunCMakeTest.cmake 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-rc1-137-gc03f42e
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 c03f42ef326eb3794e7bf095b69709d095febc6a (commit) via b052902c32190f6c10c703ab07310a91fa50d46a (commit) from 30464fda2cc2317a5f9b5b66d5f1fabfd4017dfe (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=c03f42ef326eb3794e7bf095b69709d095febc6a commit c03f42ef326eb3794e7bf095b69709d095febc6a Merge: 30464fd b052902 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:08:05 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:08:05 2014 -0500 Merge topic 'watcom-rtdll-version' b052902c Remove hard-coded version of RTDLL for Open Watcom --- Summary of changes: Modules/InstallRequiredSystemLibraries.cmake | 24 ++-- 1 file changed, 14 insertions(+), 10 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-rc1-517-g4a97290
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 4a97290da013dfd7c57db4f6dec90976fa3a5064 (commit) via c03f42ef326eb3794e7bf095b69709d095febc6a (commit) via 30464fda2cc2317a5f9b5b66d5f1fabfd4017dfe (commit) via a8dced5856c4dc6c2e00ee49c5ba1bc981688cef (commit) via c9df12cceed9fdf946503ea47abb113ebaa9800e (commit) via cefa80236d01635cccebf9aa69f58f0f40cfede3 (commit) via 9e6e9140c2baf2afa546fbb3a72fbff31e81f69c (commit) via 955dd1a551698aa85b404bcd96b62740caac3160 (commit) via f0dcbb17721e777bef3be6b2f4011fefaa6fbbf0 (commit) via ea95e3eae32b35711e23de30b4cbdb5ad2bd930a (commit) from 73a8f565a56ce4e0738bc0214cfd1d4d7690 (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=4a97290da013dfd7c57db4f6dec90976fa3a5064 commit 4a97290da013dfd7c57db4f6dec90976fa3a5064 Merge: 73a8f56 c03f42e Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:09:48 2014 -0500 Commit: Brad King brad.k...@kitware.com CommitDate: Wed Mar 5 11:09:48 2014 -0500 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 branch, master, updated. v3.0.0-rc1-135-g30464fd
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 30464fda2cc2317a5f9b5b66d5f1fabfd4017dfe (commit) via 7db95df39d8c191f3de92f4d60a0e4106700dda5 (commit) via f096786d5428505f8313f6b01f4631f5a34b27a2 (commit) from a8dced5856c4dc6c2e00ee49c5ba1bc981688cef (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=30464fda2cc2317a5f9b5b66d5f1fabfd4017dfe commit 30464fda2cc2317a5f9b5b66d5f1fabfd4017dfe Merge: a8dced5 7db95df Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:08:04 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:08:04 2014 -0500 Merge topic 'update-kwsys' 7db95df3 Merge branch 'upstream-kwsys' into update-kwsys f096786d KWSys 2014-03-03 (b1916e0a) --- Summary of changes: Source/kwsys/CMakeLists.txt|6 ++ Source/kwsys/FStream.cxx | 76 +++ Source/kwsys/FStream.hxx.in| 21 +- Source/kwsys/SharedForward.h.in|8 +- Source/kwsys/SystemInformation.cxx | 21 +- Source/kwsys/SystemTools.cxx |3 + Source/kwsys/testFStream.cxx | 142 7 files changed, 268 insertions(+), 9 deletions(-) create mode 100644 Source/kwsys/FStream.cxx 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-rc1-519-gd880854
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 d8808544f282ba320c32d941ad3859127cdae5ae (commit) via 4da09d1a3f1541f075ce9614b9b7bd0cabbd800c (commit) from 4a97290da013dfd7c57db4f6dec90976fa3a5064 (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=d8808544f282ba320c32d941ad3859127cdae5ae commit d8808544f282ba320c32d941ad3859127cdae5ae Merge: 4a97290 4da09d1 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:21:06 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 11:21:06 2014 -0500 Merge topic 'FeatureSummary_combine_WHAT_values' into next 4da09d1a Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values' http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4da09d1a3f1541f075ce9614b9b7bd0cabbd800c commit 4da09d1a3f1541f075ce9614b9b7bd0cabbd800c Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:20:28 2014 -0500 Commit: Brad King brad.k...@kitware.com CommitDate: Wed Mar 5 11:20:28 2014 -0500 Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values' diff --git a/Help/release/dev/FeatureSummary_combine_WHAT_values.rst b/Help/release/dev/FeatureSummary_combine_WHAT_values.rst new file mode 100644 index 000..174ef15 --- /dev/null +++ b/Help/release/dev/FeatureSummary_combine_WHAT_values.rst @@ -0,0 +1,6 @@ +FeatureSummary_combine_WHAT_values +-- + +* The :module:`FeatureSummary` module ``feature_summary`` API + learned to accept multiple values for the ``WHAT`` option and + combine them appropriately. --- Summary of changes: Help/release/dev/FeatureSummary_combine_WHAT_values.rst |6 ++ 1 file changed, 6 insertions(+) create mode 100644 Help/release/dev/FeatureSummary_combine_WHAT_values.rst 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-rc1-521-g26802fe
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 26802fe7ed853606a8292b1983ee9bb0726f8a48 (commit) via bf28ff1f422407f10ecc283f03ce8c5ee57f1812 (commit) from d8808544f282ba320c32d941ad3859127cdae5ae (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=26802fe7ed853606a8292b1983ee9bb0726f8a48 commit 26802fe7ed853606a8292b1983ee9bb0726f8a48 Merge: d880854 bf28ff1 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 12:01:16 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 12:01:16 2014 -0500 Merge topic 'different-python-header-libs-exe-0013794' into next bf28ff1f FindPythonLibs: Do not try to find the interpreter (#13794) http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bf28ff1f422407f10ecc283f03ce8c5ee57f1812 commit bf28ff1f422407f10ecc283f03ce8c5ee57f1812 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 11:57:00 2014 -0500 Commit: Brad King brad.k...@kitware.com CommitDate: Wed Mar 5 11:58:13 2014 -0500 FindPythonLibs: Do not try to find the interpreter (#13794) The parent commit taught FindPythonLibs to try to find PythonInterp unconditionally. Some projects may want the libraries of a specific version even when the corresponding interpreter is not available. Drop the internal use of FindPythonInterp and just use the versions from it if it happens to have been found by the project first. That will allow projects to get a consistent version when they want both but not otherwise force them to find the interpreter. diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake index 27d9e45..656ed7b 100644 --- a/Modules/FindPythonLibs.cmake +++ b/Modules/FindPythonLibs.cmake @@ -83,7 +83,6 @@ endif() # If FindPythonInterp has already found the major and minor version, # insert that version between the user supplied versions and the stock # version list. -find_package(PythonInterp QUIET) set(_Python_VERSIONS ${Python_ADDITIONAL_VERSIONS}) if(DEFINED PYTHON_VERSION_MAJOR AND DEFINED PYTHON_VERSION_MINOR) list(APPEND _Python_VERSIONS ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}) --- Summary of changes: Modules/FindPythonLibs.cmake |1 - 1 file changed, 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, master, updated. v3.0.0-rc1-139-g4d67891
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 4d67891a73bb523a021cc420f457b507c4dcb1d0 (commit) via 4da09d1a3f1541f075ce9614b9b7bd0cabbd800c (commit) from c03f42ef326eb3794e7bf095b69709d095febc6a (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=4d67891a73bb523a021cc420f457b507c4dcb1d0 commit 4d67891a73bb523a021cc420f457b507c4dcb1d0 Merge: c03f42e 4da09d1 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 13:04:49 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 13:04:49 2014 -0500 Merge topic 'FeatureSummary_combine_WHAT_values' 4da09d1a Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values' --- Summary of changes: Help/release/dev/FeatureSummary_combine_WHAT_values.rst |6 ++ 1 file changed, 6 insertions(+) create mode 100644 Help/release/dev/FeatureSummary_combine_WHAT_values.rst 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-rc1-523-g1405ef8
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 1405ef800f1f07673b647c0fa46320076ce95fde (commit) via 4d67891a73bb523a021cc420f457b507c4dcb1d0 (commit) from 26802fe7ed853606a8292b1983ee9bb0726f8a48 (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=1405ef800f1f07673b647c0fa46320076ce95fde commit 1405ef800f1f07673b647c0fa46320076ce95fde Merge: 26802fe 4d67891 Author: Brad King brad.k...@kitware.com AuthorDate: Wed Mar 5 13:05:38 2014 -0500 Commit: Brad King brad.k...@kitware.com CommitDate: Wed Mar 5 13:05:38 2014 -0500 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, next, updated. v3.0.0-rc1-525-gdca36fa
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 dca36fada79b68ecc0eb9cb7d8b9fa269e92ff38 (commit) via 3b579421ce1709c2599f801e8e8a4e54fc0ad24d (commit) from 1405ef800f1f07673b647c0fa46320076ce95fde (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=dca36fada79b68ecc0eb9cb7d8b9fa269e92ff38 commit dca36fada79b68ecc0eb9cb7d8b9fa269e92ff38 Merge: 1405ef8 3b57942 Author: Matt McCormick matt.mccorm...@kitware.com AuthorDate: Wed Mar 5 17:44:26 2014 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Mar 5 17:44:26 2014 -0500 Merge topic 'python-3.4' into next 3b579421 FindPython{Interp,Libs}: Search for Python 3.4. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3b579421ce1709c2599f801e8e8a4e54fc0ad24d commit 3b579421ce1709c2599f801e8e8a4e54fc0ad24d Author: Matt McCormick matt.mccorm...@kitware.com AuthorDate: Wed Mar 5 17:41:47 2014 -0500 Commit: Matt McCormick matt.mccorm...@kitware.com CommitDate: Wed Mar 5 17:41:47 2014 -0500 FindPython{Interp,Libs}: Search for Python 3.4. Python 3.4.0rnc1 was released on 2014-02-20. diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake index 8da848c..e23a58b 100644 --- a/Modules/FindPythonInterp.cmake +++ b/Modules/FindPythonInterp.cmake @@ -47,7 +47,7 @@ unset(_Python_NAMES) set(_PYTHON1_VERSIONS 1.6 1.5) set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) -set(_PYTHON3_VERSIONS 3.3 3.2 3.1 3.0) +set(_PYTHON3_VERSIONS 3.4 3.3 3.2 3.1 3.0) if(PythonInterp_FIND_VERSION) if(PythonInterp_FIND_VERSION_COUNT GREATER 1) diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake index 27d9e45..a366372 100644 --- a/Modules/FindPythonLibs.cmake +++ b/Modules/FindPythonLibs.cmake @@ -51,7 +51,7 @@ CMAKE_FIND_FRAMEWORKS(Python) set(_PYTHON1_VERSIONS 1.6 1.5) set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) -set(_PYTHON3_VERSIONS 3.3 3.2 3.1 3.0) +set(_PYTHON3_VERSIONS 3.4 3.3 3.2 3.1 3.0) if(PythonLibs_FIND_VERSION) if(PythonLibs_FIND_VERSION_COUNT GREATER 1) --- Summary of changes: Modules/FindPythonInterp.cmake |2 +- Modules/FindPythonLibs.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, master, updated. v3.0.0-rc1-140-g70da6f1
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 70da6f198f8def8201c562365b914c700b10b95b (commit) from 4d67891a73bb523a021cc420f457b507c4dcb1d0 (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=70da6f198f8def8201c562365b914c700b10b95b commit 70da6f198f8def8201c562365b914c700b10b95b Author: Kitware Robot kwro...@kitware.com AuthorDate: Thu Mar 6 00:01:05 2014 -0500 Commit: Kitware Robot kwro...@kitware.com CommitDate: Thu Mar 6 00:01:05 2014 -0500 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 66c8761..8fdad13 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 20140305) +set(CMake_VERSION_PATCH 20140306) #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