View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015249 | CMake | CMake | public | 2014-11-13 02:02 | 2016-06-10 14:31 | ||||
Reporter | Micha Renner | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015249: Default WORKING_DIRECTORY of EXECUTE_PROCESS | ||||||||
Description | 3.1.rc1. Windows version - only It seems that the default WORKING_DIRECTORY of EXECUTE_PROCESS is not any longer CMAKE_BINARY_DIR. EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E make_directory conftest.a) results in Error making directory " conftest.a". Maybe EXECUTE_PROCESS runs in a write-protected directory. EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E make_directory conftest.a # WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) works. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037208) Brad King (manager) 2014-11-13 09:07 |
The execute_process command does not define or document any default working directory. It will be wherever the working directory of the running cmake process happens to be. I don't think this behavior has changed. For this particular case you can use the file(MAKE_DIRECTORY) command, but that should also be given a full path. |
(0042667) Kitware Robot (administrator) 2016-06-10 14:29 |
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 |
2014-11-13 02:02 | Micha Renner | New Issue | |
2014-11-13 09:07 | Brad King | Note Added: 0037208 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042667 | |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |