MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009765 | CMake | CMake | public | 2009-10-22 12:33 | 2009-10-22 17:40 |
Reporter | James Sutherland | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0009765: configure_file behaves differently on Mac and Linux | ||||
Description | I am using configure_file to copy files during the build process. I have a nested directory structure, that can be represented as: /rootdir CMakeLists.txt /test CMakeLists.txt When processing rootdir/test/CMakeLists.txt, I have the following: #--------------------------- get_filename_component( dir ${CMAKE_CURRENT_LIST_FILE} PATH ) configure_file( ${dir}/blessed.txt blessed.txt COPY_FILE ) #--------------------------- The intention is to copy the file "blessed.txt" from the source tree to the build tree prior to running a regression test. On Mac, this works as I intend it to. The file "blessed.txt" is copied to the "test" subdirectory in the build tree. On Linux, "blessed.txt" is copied to the top-level directory in the build tree, NOT to the "test" subdirectory. | ||||
Steps To Reproduce | |||||
Additional Information | The attached file is a very simple project that reproduces this behavior. On Mac it functions as expected, on Linux, it does not. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | MyProject.zip (2,724) 2009-10-22 12:33 https://public.kitware.com/Bug/file/2591/MyProject.zip | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-10-22 12:33 | James Sutherland | New Issue | |||
2009-10-22 12:33 | James Sutherland | File Added: MyProject.zip | |||
2009-10-22 17:40 | Bill Hoffman | Note Added: 0018199 | |||
2009-10-22 17:40 | Bill Hoffman | Status | new => closed | ||
2009-10-22 17:40 | Bill Hoffman | Resolution | open => won't fix |
Notes | |||||
|
|||||
|
|