MantisBT - CMake
View Issue Details
0013764CMakeCMakepublic2012-11-30 14:132016-06-10 14:31
Csaba Keszegh 
Kitware Robot 
normaltrivialalways
closedmoved 
windowswindows 7
CMake 2.8.10.2 
 
0013764: is_file_executable() from GetPrerequisites.cmake erroneously returns 0 for DLL on windows
On 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.
> 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
No tags attached.
related to 0013271closed Kitware Robot is_file_executable() from GetPrerequisites.cmake erroneously returns 0 for universal binaries (MacOSX) 
diff GetPrerequisites.cmake.diff (709) 2012-11-30 14:13
https://public.kitware.com/Bug/file/4577/GetPrerequisites.cmake.diff
Issue History
2012-11-30 14:13Csaba KeszeghNew Issue
2012-11-30 14:13Csaba KeszeghFile Added: GetPrerequisites.cmake.diff
2012-11-30 14:33David ColeRelationship addedrelated to 0013271
2016-06-10 14:28Kitware RobotNote Added: 0042164
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042164)
Kitware Robot   
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.