MantisBT - CMake | |||||||||||||||
| View Issue Details | |||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
| 0008123 | CMake | CMake | public | 2008-11-19 14:01 | 2016-06-10 14:30 | ||||||||||
| Reporter | Ralf Floca | ||||||||||||||
| Assigned To | Bill Hoffman | ||||||||||||||
| Priority | normal | Severity | text | Reproducibility | always | ||||||||||
| Status | closed | Resolution | moved | ||||||||||||
| Platform | OS | OS Version | |||||||||||||
| Product Version | CMake-2-6 | ||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||
| Summary | 0008123: Addressing an external MS project as target | ||||||||||||||
| Description | There is the following situation: I use CMake as build control system (Windows platform, MS Visual Studio) for my own project (A). A depends on a second project (B). The project-files of B are pre generated and not covered by my CMake-Scripts. I use “INCLUDE_EXTERNAL_MSPROJECT” to integrate B into my solution. Until this point everything works fine. But is there any way to address included external projects (like B) as a target in a CMake script. I would need this to add dependencies between A and B (e.g. ADD_DEPENDENCIES(A B)), so that B would also be build when I want to build A. In the documentation and the mailing list I have found no information how to do this. And it seems that INCLUDE_EXTERNAL_MSPROJECT has no possibilities to introduce a Target identifier (like ADD_CUSTOM_TARGET) Solution by Bill Hoffman: >> include_external_msproject(B /some/path) >> >> add_dependencies(A INCLUDE_EXTERNAL_MSPROJECT_B) >> | ||||||||||||||
| Steps To Reproduce | |||||||||||||||
| Additional Information | |||||||||||||||
| Tags | No tags attached. | ||||||||||||||
| Relationships |
| ||||||||||||||
| Attached Files | |||||||||||||||
| Issue History | |||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||
| 2008-11-19 14:01 | Ralf Floca | New Issue | |||||||||||||
| 2009-02-12 12:15 | Bill Hoffman | Note Added: 0014914 | |||||||||||||
| 2009-02-12 12:15 | Bill Hoffman | Status | new => assigned | ||||||||||||
| 2009-02-12 12:15 | Bill Hoffman | Assigned To | => Bill Hoffman | ||||||||||||
| 2010-06-30 19:04 | David Cole | Relationship added | related to 0010920 | ||||||||||||
| 2010-12-15 10:14 | David Cole | Relationship added | related to 0009743 | ||||||||||||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041470 | |||||||||||||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||||||||||||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||||||||||||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||