[cmake-developers] [CMake 0015072]: INSTALL doesn't work in windows store and phone ARM version.
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15072 == Reported By:Minmin Gong Assigned To: == Project:CMake Issue ID: 15072 Category: CMake Reproducibility:always Severity: major Priority: normal Status: new == Date Submitted: 2014-08-09 05:01 EDT Last Modified: 2014-08-09 05:01 EDT == Summary:INSTALL doesn't work in windows store and phone ARM version. Description: In 'next' branch, when generating a project with VS2013 ARM, INSTALL project always returns C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\ARM\PlatformToolsets\v120\Toolset.targets(36,5): error MSB8022: Compiling Desktop applications for the ARM platform is not supported. == Issue History Date ModifiedUsername FieldChange == 2014-08-09 05:01 Minmin GongNew 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-developers] [CMake 0015073]: Cmake error when putting it on vs12
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15073 == Reported By:nizonrox Assigned To: == Project:CMake Issue ID: 15073 Category: CMake Reproducibility:have not tried Severity: minor Priority: urgent Status: new == Date Submitted: 2014-08-09 18:19 EDT Last Modified: 2014-08-09 18:19 EDT == Summary:Cmake error when putting it on vs12 Description: Hey guys when ever I use cmake and i put it on the Visual studio 12 (2013) i get this error : CMake Error at C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process): execute_process given COMMAND argument with no value. Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:12 (project) The C compiler identification is unknown CMake Error at C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process): execute_process given COMMAND argument with no value. Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:12 (project) The CXX compiler identification is unknown Detected 32-bit platform Using supplied MySQL sources Found OpenSSL library: C:/OpenSSL-Win32/lib/ssleay32.lib;C:/OpenSSL-Win32/lib/libeay32.lib Found OpenSSL headers: C:/OpenSSL-Win32/include Looking for include file pthread.h CMake Error at C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: Internal CMake error, TryCompile configure of cmake failed Looking for include file pthread.h - not found Found Threads: TRUE CMake Error at cmake/macros/ConfigureBoost.cmake:17 (message): No BOOST_ROOT environment variable could be found! Please make sure it is set and the points to your Boost installation. Call Stack (most recent call first): CMakeLists.txt:60 (include) Configuring incomplete, errors occurred! See also C:/Matador WoW/Build/CMakeFiles/CMakeOutput.log. See also C:/Matador WoW/Build/CMakeFiles/CMakeError.log. ^^ I have no clue how to fucking fix this as it has never happened before. Steps to Reproduce: Additional Information: First time this has happend to me. and non of my friends knows the problem == Issue History Date ModifiedUsername FieldChange == 2014-08-09 18:19 nizonrox 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] How to deal with incompatible changes in interface of target_link_libraries()?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm struggling with the problem that CMake 2.8.12 introduced incompatible changes in the interface of target_link_libraries() w.r.t. dealing with direct and indirect (transitive) link dependencies. Pre-2.8.12 you would use the keyword LINK_INTERFACE_LIBRARIES to indicate indirect link dependencies. CMake 2.8.12 introduced the keywords PRIVATE, INTERFACE and PUBLIC, and immediately deprecated the LINK_INTERFACE_LIBRARIES keyword, triggering policy warnings CMP0022 and CMP0023. What is the proper way to get rid of these policy warnings, while at the same time staying backward compatible with older CMake versions? I need to support all 2.8.x versions, but I don't want to set these policies to OLD. I also don't want to wrap each call to target_link_libraries() inside a conditional if (${CMAKE_VERSION} VERSION_LESS 2.8.12) ... else() ... endif() Of course I could put this logic in a macro, but how then do I handle the new keywords. Some hints or tips would be very much appreciated. Kind regards, Marcel Loose. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJT5iYxAAoJEEpMyb1AIWdYFR4IAJXH0KV9dc8cCPItf2R1UTTS dkdvoqJtRRqKIS/fyQv4VHsbqP0DqH9qlCjc6O6h27I461PUwwfk+hYNDQI+q5wH SKu3kosT4rIxDg+CmGr/yhzSdzuWKyhRu+L4syunoOxeXXreKSzSIrTvdRA1fPZg aSJR4hvnA5cDUA/0pdV9pPKm4JATK8s2/S64PPjA2CRbq6pZfnnX4tRrQMnkt/+S R1xmmVVzcuctdIAdanUnDlTfRHMNOyY3uWozXkO2OCeTFJLc00xQcvJdcr2zXyRx EtvpFVmBU9IsAu4LY3gZZfjWwpwsMyYptaYSSF7oDJjshw5LctObJZ89jgFhtmw= =RhRJ -END PGP SIGNATURE- -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
[Cmake-commits] CMake branch, next, updated. v3.0.1-4814-g715af63
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 715af63ea643821fb20f45020e00e1d77059534a (commit) via 12418f5c264ef8e66724cbb19e1304416452c7f8 (commit) from 7ac9b41abcc47f02d64b80d2a7f465f3ab8700da (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=715af63ea643821fb20f45020e00e1d77059534a commit 715af63ea643821fb20f45020e00e1d77059534a Merge: 7ac9b41 12418f5 Author: Nils Gladitz nilsglad...@gmail.com AuthorDate: Sat Aug 9 09:30:42 2014 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sat Aug 9 09:30:42 2014 -0400 Merge topic 'wix-acl' into next 12418f5c CPackWIX: Implement CPACK_WIX_ACL (Access Control List) property http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=12418f5c264ef8e66724cbb19e1304416452c7f8 commit 12418f5c264ef8e66724cbb19e1304416452c7f8 Author: Nils Gladitz nilsglad...@gmail.com AuthorDate: Sat Aug 9 14:50:49 2014 +0200 Commit: Nils Gladitz nilsglad...@gmail.com CommitDate: Sat Aug 9 15:30:21 2014 +0200 CPackWIX: Implement CPACK_WIX_ACL (Access Control List) property diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst index 17dadc2..9faf99a 100644 --- a/Help/manual/cmake-properties.7.rst +++ b/Help/manual/cmake-properties.7.rst @@ -312,6 +312,7 @@ Properties on Installed Files /prop_inst/CPACK_NEVER_OVERWRITE.rst /prop_inst/CPACK_PERMANENT.rst + /prop_inst/CPACK_WIX_ACL.rst Deprecated Properties on Directories diff --git a/Help/prop_inst/CPACK_WIX_ACL.rst b/Help/prop_inst/CPACK_WIX_ACL.rst new file mode 100644 index 000..e7d526a --- /dev/null +++ b/Help/prop_inst/CPACK_WIX_ACL.rst @@ -0,0 +1,17 @@ +CPACK_WIX_ACL +- + +Specifies access permissions for files installed by a WiX installer. + +The property can contain multiple list entries, +each of which has to match the following format. + +:: + + user[@domain]=permission[,permission] + +``user`` and ``domain`` specify the windows user and domain for which the +``Permission`` element should be generated. + +``permission`` is any of the YesNoType attributes listed here: +http://wixtoolset.org/documentation/manual/v3/xsd/wix/permission.html diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 7f36bb2..ac23430 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -604,13 +604,14 @@ endif() if(WIN32) set(CPACK_SRCS ${CPACK_SRCS} CPack/WiX/cmCPackWIXGenerator.cxx -CPack/WiX/cmWIXSourceWriter.cxx +CPack/WiX/cmWIXAccessControlList.cxx CPack/WiX/cmWIXDirectoriesSourceWriter.cxx CPack/WiX/cmWIXFeaturesSourceWriter.cxx CPack/WiX/cmWIXFilesSourceWriter.cxx -CPack/WiX/cmWIXRichTextFormatWriter.cxx CPack/WiX/cmWIXPatch.cxx CPack/WiX/cmWIXPatchParser.cxx +CPack/WiX/cmWIXRichTextFormatWriter.cxx +CPack/WiX/cmWIXSourceWriter.cxx ) endif() diff --git a/Source/CPack/WiX/cmWIXAccessControlList.cxx b/Source/CPack/WiX/cmWIXAccessControlList.cxx new file mode 100644 index 000..aeec968 --- /dev/null +++ b/Source/CPack/WiX/cmWIXAccessControlList.cxx @@ -0,0 +1,149 @@ +/* + CMake - Cross Platform Makefile Generator + Copyright 2014 Kitware, Inc. + + Distributed under the OSI-approved BSD License (the License); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +*/ + +#include cmWIXAccessControlList.h + +#include CPack/cmCPackGenerator.h + +#include cmSystemTools.h + +cmWIXAccessControlList::cmWIXAccessControlList( + cmCPackLog *logger, + cmInstalledFile const installedFile, + cmWIXSourceWriter sourceWriter): +Logger(logger), +InstalledFile(installedFile), +SourceWriter(sourceWriter) +{ + +} + +bool cmWIXAccessControlList::Apply() +{ + std::vectorstd::string entries; + this-InstalledFile.GetPropertyAsList(CPACK_WIX_ACL, entries); + + for(size_t i = 0; i entries.size(); ++i) +{ +this-CreatePermissionElement(entries[i]); +} + + return true; +} + +void cmWIXAccessControlList::CreatePermissionElement( + std::string const entry) +{ + std::string::size_type pos = entry.find('='); + if(pos == std::string::npos) +{ +this-ReportError(entry, Did not find mandatory '='); +return; +} + + std::string user_and_domain = entry.substr(0, pos); +
[Cmake-commits] CMake branch, master, updated. v3.0.1-1628-g58aca7b
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 58aca7be5651646e1cb02d5a8a29062e38d9c2f5 (commit) from 35a8355b6101dbb82582f9737ba1c3a67930de59 (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=58aca7be5651646e1cb02d5a8a29062e38d9c2f5 commit 58aca7be5651646e1cb02d5a8a29062e38d9c2f5 Author: Kitware Robot kwro...@kitware.com AuthorDate: Sun Aug 10 00:01:08 2014 -0400 Commit: Kitware Robot kwro...@kitware.com CommitDate: Sun Aug 10 00:01:08 2014 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index c4bfefe..3dc3607 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 20140809) +set(CMake_VERSION_PATCH 20140810) #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