MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011274 | CMake | CMake | public | 2010-09-29 11:01 | 2010-11-09 22:57 |
| Reporter | Elizabeta | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||
| Summary | 0011274: add_custom_command does not work with VS2010 generator | ||||
| Description | when output of the add_custom_command is PROJECT_BINARY_DIR/Some_Subdir it does not work as it should i.e the command is always run. Example : ADD_CUSTOM_COMMAND( OUTPUT "${PROJECT_BINARY_DIR}/$(ConfigurationName)/generated.txt" COMMAND ${CMAKE_COMMAND} -E copy "${PROJECT_SOURCE_DIR}/myfile.txt" "${PROJECT_BINARY_DIR}/$(ConfigurationName)/generated.txt" DEPENDS "${PROJECT_SOURCE_DIR}/myfile.txt" ) If I specify for OUTPUT "${PROJECT_BINARY_DIR}/generated.txt" instead of OUTPUT "${PROJECT_BINARY_DIR}/$(ConfigurationName)/generated.txt" it works. | ||||
| Steps To Reproduce | |||||
| Additional Information | I tested with cmake 2.8.2 . I used out of source build. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3416/Test.rar https://public.kitware.com/Bug/file/3418/Test2.zip | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-09-29 11:01 | Elizabeta | New Issue | |||
| 2010-09-29 11:01 | Elizabeta | File Added: Test.rar | |||
| 2010-09-29 11:12 | Bill Hoffman | Note Added: 0022382 | |||
| 2010-09-29 11:12 | Bill Hoffman | Status | new => assigned | ||
| 2010-09-29 11:12 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
| 2010-09-29 11:13 | Bill Hoffman | Note Added: 0022383 | |||
| 2010-09-29 11:13 | Bill Hoffman | Note Edited: 0022382 | |||
| 2010-09-29 11:13 | Bill Hoffman | Note Deleted: 0022383 | |||
| 2010-09-29 15:07 | Elizabeta | File Added: Test2.zip | |||
| 2010-09-29 15:08 | Elizabeta | Note Added: 0022384 | |||
| 2010-09-29 17:05 | Bill Hoffman | Note Added: 0022386 | |||
| 2010-10-06 13:38 | David Cole | Note Added: 0022418 | |||
| 2010-10-06 13:38 | David Cole | Status | assigned => resolved | ||
| 2010-10-06 13:38 | David Cole | Fixed in Version | => CMake 2.8.3 | ||
| 2010-10-06 13:38 | David Cole | Resolution | open => fixed | ||
| 2010-10-06 13:38 | David Cole | Target Version | => CMake 2.8.3 | ||
| 2010-10-06 13:38 | David Cole | Additional Information Updated | |||
| 2010-11-09 22:57 | Philip Lowman | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||