View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013764CMakeCMakepublic2012-11-30 14:132016-06-10 14:31
ReporterCsaba Keszegh 
Assigned ToKitware Robot 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSwindowsOS Versionwindows 7
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013764: is_file_executable() from GetPrerequisites.cmake erroneously returns 0 for DLL on windows
DescriptionOn Windows is_file_executable() checks the extension to determine whether the file is executable. DLL should also be considered as executable, so fixup_bundle would work.
Steps To Reproduce> cmake -P is_dll_executable.cmake
c:/windows/system32/kernel32.dll: 0
> type is_dll_executable.cmake

include(BundleUtilities)
set(f0 "c:/windows/system32/kernel32.dll")
is_file_executable(f0 is_dll_executable)
message("${f0}: ${is_dll_executable}")

expected output would be:
c:/windows/system32/kernel32.dll: 1
TagsNo tags attached.
Attached Filesdiff file icon GetPrerequisites.cmake.diff [^] (709 bytes) 2012-11-30 14:13 [Show Content]

 Relationships
related to 0013271closedKitware Robot is_file_executable() from GetPrerequisites.cmake erroneously returns 0 for universal binaries (MacOSX) 

  Notes
(0042164)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2012-11-30 14:13 Csaba Keszegh New Issue
2012-11-30 14:13 Csaba Keszegh File Added: GetPrerequisites.cmake.diff
2012-11-30 14:33 David Cole Relationship added related to 0013271
2016-06-10 14:28 Kitware Robot Note Added: 0042164
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team