The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14865
======================================================================
Reported By: Kai Pastor
Assigned To:
======================================================================
Project: CMake
Issue ID: 14865
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-04-07 23:42 CEST
Last Modified: 2014-04-07 23:42 CEST
======================================================================
Summary: CMakeDetermineRCCompiler does not detect windres
from "i686-w64-mingw32.shared-windres"
Description:
CMakeDetermineRCCompiler.cmake uses the name without ending for identifying
windres:
GET_FILENAME_COMPONENT(CMAKE_BASE_NAME ${CMAKE_RC_COMPILER} NAME_WE)
IF("${CMAKE_BASE_NAME}" MATCHES "windres")
SET(CMAKE_BASE_NAME "windres")
ENDIF()
This code fails to detect windres when the filename contains the period in the
prefix. This is the case e.g. when using a shared-lib cross compilation
toolchain from mxe.cc (development version) where windres is named
i686-w64-mingw32.shared-windres.
I see that in general the ending needs to be removed from the filename. However,
for detecting windres the full filename should be matched.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-04-07 23:42 Kai Pastor 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/cgi-bin/mailman/listinfo/cmake-developers