[cmake-developers] CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE
While looking for places to add my new CMAKE_${lang}_LINKER_SUPPORTS_PDB I found the following in Windows-df.cmake: set(CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE /link) It looks suspicious because I don't think lang is actually set in that context. The only mention of LINKER_OPTION_FLAG seems to be Source/cmNinjaNormalTargetGenerator.cxx Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [CMake 0015045]: FindCUDA.cmake passes directory COMPILE_DEFINITIONS to nvcc without handling generator expressions
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15045 == Reported By:Nils Gladitz Assigned To:James Bigler == Project:CMake Issue ID: 15045 Category: Modules Reproducibility:always Severity: minor Priority: normal Status: assigned == Date Submitted: 2014-07-29 07:42 EDT Last Modified: 2014-07-29 07:42 EDT == Summary:FindCUDA.cmake passes directory COMPILE_DEFINITIONS to nvcc without handling generator expressions Description: A colleague noticed this while using UseQt4.cmake which since 3.0 contains: set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $$NOT:$CONFIG:Debug:QT_NO_DEBUG) To recreate the old behaviour generator expressions could be stripped with the new string(GENEX_STRIP) or perhaps even expanded with file(GENERATE). Steps to Reproduce: cmake_minimum_required(VERSION 3.0) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $$NOT:$CONFIG:Foo:NOT_FOO ) find_package(CUDA REQUIRED) cuda_add_library(empty empty.cu) == Issue History Date ModifiedUsername FieldChange == 2014-07-29 07:42 Nils Gladitz New Issue 2014-07-29 07:42 Nils Gladitz Status new = assigned 2014-07-29 07:42 Nils Gladitz Assigned To = James Bigler == -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE
On 07/29/2014 03:31 AM, Nils Gladitz wrote: While looking for places to add my new CMAKE_${lang}_LINKER_SUPPORTS_PDB I found the following in Windows-df.cmake: set(CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE /link) It looks suspicious because I don't think lang is actually set in that context. The only mention of LINKER_OPTION_FLAG seems to be Source/cmNinjaNormalTargetGenerator.cxx Running git log -p -S_COMPILER_LINKER_OPTION_FLAG_ one can see how that was added to help with Ninja+MSVC and then refactored away later. Please drop both locations. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] CPack IFW generator
Hello Developers! The topic 'cpack-ifw-generator' now in the branch 'master'. 28.07.2014, 18:58, Brad King brad.k...@kitware.com: After squashing in one fixup for building with CMake 2.8.9 this feature is now in master... This is good news for me and I hope for others. I hope the IFW generator have been users and fans. I have some news and changes. The source code is now available here: http://git.podsvirov.pro/?p=kitware/cmake.git Changes on the subject CPack IFW generator now in the branch 'cpack-ifw-generator'. You can clone code for the study: git clone -b cpack-ifw-generator git://podsvirov.pro/kitware/cmake.git Wish to check the generator in action you can use online-installer for your platform: Linux 32bit: http://ifw.podsvirov.pro/cmake/cmake-ifw-linux-32bit-online.run Linux 64bit: http://ifw.podsvirov.pro/cmake/cmake-ifw-linux-64bit-online.run Windows 32bit: http://ifw.podsvirov.pro/cmake/cmake-ifw-windows-32bit-online.exe Windows 64bit: http://ifw.podsvirov.pro/cmake/cmake-ifw-windows-64bit-online.exe (Unfortunately I don't have a device's Mac OS, and I can't test the code here) Presents online installers install CMake with the latest developments on the topic 'cpack-ifw-generator'. Note that the installer created using CPack IFW gererator and demonstrate his work. Updates go out about once a week. Last update on 28 July: - added some configuration variables for package installation information about the owner and tasks of the logo and icons for the installer. As before the HTML version of the documentation is available here: http://ifw.podsvirov.pro/cmake/doc/cmake-3.0/html Urge to try CPack IFW generator and write your feedback and suggestion to the mailing list or to me personally. Once again, thank Brad for his help in promoting the topic 'cpack-ifw-generator'. (Sorry for my English, I use a translator) Regards, Konstantin Podsvirov -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers