MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014691 | CMake | CMake | public | 2014-01-09 14:20 | 2016-06-10 14:31 |
Reporter | tron_thomas | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Macintosh | OS | OS X | OS Version | 10.7.5 |
Product Version | CMake 2.8.12 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014691: Post build phase to delete directory fails in Xcode project | ||||
Description | If someone creates a post build phase command to delete a directory, that command will fail when executed in Xcode | ||||
Steps To Reproduce | Create a very simple Hello World code module. Create a directory that can be deleted Use a CMakeLists.txt file like the following to create an Xcode project to build the Hello World application: cmake_minimum_required (VERSION 2.8) project (HelloWorld) add_executable (HelloWorld HelloWorld.cpp) add_custom_command ( TARGET HelloWorld POST_BUILD COMMAND cmake -E remove_directory <Path to directory that will be deleted> ) Create and build the Xcode project. Expected: The project should build without errors Actual: Even though the directory exists and the path to it is valid, the following error will occur in Xcode make: cmake: No such file or directory | ||||
Additional Information | Using Xcode version 4.6.3 This problem will not happen if someone creates an UNIX makefile project instead of Xcode. Everything builds successfully | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-09 14:20 | tron_thomas | New Issue | |||
2014-01-09 14:32 | Nils Gladitz | Note Added: 0034921 | |||
2015-01-14 13:13 | tron_thomas | Note Added: 0037692 | |||
2015-01-14 13:19 | Brad King | Note Added: 0037693 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042462 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|