| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0010654 | CMake | CMake | public | 2010-04-30 15:01 | 2016-06-10 14:31 | ||||
| Reporter | Robert Ioffe | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-8 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0010654: Adding sources to ALL_BUILD project doesn't work in VS2010 | ||||||||
| Description | I have the following command at the top of my project: add_custom_target(ALL_BUILD SOURCES CMakeLists_linux.cmake CMakeLists_windows.cmake lrb.mak lrb_infrastructure.mak) This works fine in VS2008 by adding those files to ALL_BUILD project. It doesn't work anymore in VS2010 | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0020499) Bill Hoffman (manager) 2010-04-30 15:41 |
That should never have worked in the first place. ALL_BUILD is a special target that you can not change or duplicate. |
|
(0020500) Robert Ioffe (reporter) 2010-04-30 15:50 |
Bill, I disagree. It is very useful to add additional files to the top level ALL_BUILD project. Currently, I have the following piece of code in top level CMakeLists.txt: if(CYGWIN) include(CMakeLists_linux.cmake) else() include(CMakeLists_windows.cmake) endif() The top level CMakeLists.txt is part of ALL_BUILD project, but how do I make the programmer easily access CMakeLists_linux.cmake and CMakeLists_windows.cmake in Visual Studio? Where do I hang them? The fact that it worked previously made this use case possible. |
|
(0020511) Bill Hoffman (manager) 2010-05-02 22:16 |
It may have been useful, but certainly not expected by the developers... |
|
(0041691) Kitware Robot (administrator) 2016-06-10 14:27 |
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 |
| 2010-04-30 15:01 | Robert Ioffe | New Issue | |
| 2010-04-30 15:41 | Bill Hoffman | Note Added: 0020499 | |
| 2010-04-30 15:41 | Bill Hoffman | Status | new => assigned |
| 2010-04-30 15:41 | Bill Hoffman | Assigned To | => Bill Hoffman |
| 2010-04-30 15:50 | Robert Ioffe | Note Added: 0020500 | |
| 2010-05-02 22:16 | Bill Hoffman | Note Added: 0020511 | |
| 2010-12-15 10:42 | David Cole | Relationship added | related to 0011006 |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041691 | |
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |