MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0011343 | CMake | CMake | public | 2010-10-20 15:35 | 2011-04-04 12:00 | |||||
| Reporter | kentwilliams | |||||||||
| Assigned To | Brad King | |||||||||
| Priority | normal | Severity | feature | Reproducibility | always | |||||
| Status | closed | Resolution | duplicate | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake-2-8 | |||||||||
| Target Version | Fixed in Version | CMake 2.8.4 | ||||||||
| Summary | 0011343: A built-in facility to disallow in-source builds would be a useful feature | |||||||||
| Description | It is possible (and it is done on multiple projects) to disallow configuring a source tree as a build directory. The only problem is that testing for CMAKE_CURRENT_SOURCE_DIR != CMAKE_CURRENT_BINARY_DIR doesn't happen before CMake creates the CMakeCache.txt file and CMakeFiles directory. This is a problem because if CMake detects its own config/build files in a source directory, it will act as though it has configured an out-of-source build directory, but a build in the out-of-source directory will fail. What's needed is a 'magic' option to disallow out of source builds, that will get checked before creating any files in the source directory. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2010-10-20 15:35 | kentwilliams | New Issue | ||||||||
| 2010-10-21 09:26 | Eric NOULARD | Relationship added | duplicate of 0006672 | |||||||
| 2010-12-14 19:05 | David Cole | Assigned To | => Brad King | |||||||
| 2010-12-14 19:05 | David Cole | Status | new => assigned | |||||||
| 2010-12-14 19:06 | David Cole | Note Added: 0024124 | ||||||||
| 2010-12-14 19:06 | David Cole | Status | assigned => resolved | |||||||
| 2010-12-14 19:06 | David Cole | Fixed in Version | => CMake 2.8.4 | |||||||
| 2010-12-14 19:06 | David Cole | Resolution | open => duplicate | |||||||
| 2011-04-04 12:00 | David Cole | Note Added: 0026048 | ||||||||
| 2011-04-04 12:00 | David Cole | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||