| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0015297 | CMake | CMake | public | 2014-12-10 09:30 | 2016-06-10 14:31 | ||||
| Reporter | Ilya | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0015297: External Project cannot set SOURCE_DIR to subfolder of another External Project | ||||||||
| Description | I have an External Project that fetches sources from git repo. This repo has submodules. I want another External Project to refer this directory. However it does not work: build script generated by cmake fails on first start. If SOURCE_DIR for dependent External Project refers to SOURCE_DIR of main External Project it works. It looks like build system generated by CMake attempts to validate directory, but it cannot simply because there is no way CMake could now of project structure. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0037434) Daniele E. Domenichelli (developer) 2014-12-10 09:58 |
Can you add an example of how you are calling ExternalProject_Add? Also perhaps related to 0015118 |
|
(0037541) Ilya (reporter) 2015-01-02 02:31 |
@Daniele, there is nothing unusual. I use the ExternalProject_Get_Property command to get source dir of a parent project and then use this source dir to refer a subfolder when I'm adding a dependee. CMake checks all the directories, notices that this one does not exist (yet) and fails. |
|
(0042685) 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-12-10 09:30 | Ilya | New Issue | |
| 2014-12-10 09:58 | Daniele E. Domenichelli | Note Added: 0037434 | |
| 2015-01-02 02:31 | Ilya | Note Added: 0037541 | |
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042685 | |
| 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 |