| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0004775 | CMake | CMake | public | 2007-04-03 13:53 | 2016-06-10 14:30 | ||||
| Reporter | philip | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | low | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004775: cmake -E copy_if_different doesn't preserve case on Win32 | ||||||||
| Description | Using cmake -E copy_if_different doesn't seem to preserve case for me when used by Win32. IF(WIN32 AND NOT ${PROJECT_SOURCE_DIR} STREQUAL ${PROJECT_BINARY_DIR} ) SET(SRC_FILE "${PROJECT_SOURCE_DIR}/LibCigicl/bin/dllDebugMT_DLL/ccl_dll.dll") SET(DST_FILE "${PROJECT_BINARY_DIR}/LibCigicl/bin/dllDebugMT_DLL/ccl_dll.dll") MESSAGE("Going to copy ${SRC_FILE} to ${DST_FILE}") ADD_CUSTOM_COMMAND( OUTPUT "${DST_FILE}" DEPENDS "${SRC_FILE}" COMMAND "${CMAKE_COMMAND}" ARGS -E copy_if_different "${SRC_FILE}" "${DST_FILE}") ADD_CUSTOM_TARGET(CopyLibCigicl DEPENDS "${DST_FILE}") ENDIF() The result is: libcigicl/bin/dlldebugmt_dll/ccl_dll.dll file instead of: LibCigicl/bin/dllDebugMT_DLL/ccl_dll.dll file. Turns out this isn't a big deal but I still think case should be preserved by copy_if_different for all platforms. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0041352) Kitware Robot (administrator) 2016-06-10 14:27 |
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. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041352 | |
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |