MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0010743 | CMake | CMake | public | 2010-05-21 06:51 | 2010-11-09 22:57 |
Reporter | Rolf Eike Beer | ||||
Assigned To | David Cole | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||
Summary | 0010743: Add dependencies to OPTION | ||||
Description | It would be useful if OPTION had an additional DEPENDS argument. If the argument is evaluated to boolean false (applying the usual rules of IF()) and it is still selected an error is raised. | ||||
Steps To Reproduce | |||||
Additional Information | Example: OPTION(bar "enables bar" OFF) OPTION(foo "enables foo" OFF DEPENDS bar) Should be equivalent to OPTION(bar "enables bar" OFF) OPTION(foo "enables foo" OFF) IF (foo AND NOT bar) MESSAGE(SEND_ERROR "You can't select \"foo\" because it's dependencies (bar) were not met") ENDIF () The GUI then could gray out all options with unmet dependencies to make the user's life easier. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-05-21 06:51 | Rolf Eike Beer | New Issue | |||
2010-08-25 07:21 | David Cole | Note Added: 0021940 | |||
2010-08-25 08:44 | Rolf Eike Beer | Note Added: 0021948 | |||
2010-08-25 11:11 | David Cole | Note Added: 0021956 | |||
2010-08-25 13:37 | Rolf Eike Beer | Note Added: 0021961 | |||
2010-08-25 15:27 | David Cole | Status | new => assigned | ||
2010-08-25 15:27 | David Cole | Assigned To | => David Cole | ||
2010-08-25 15:28 | David Cole | Note Added: 0021965 | |||
2010-08-25 15:28 | David Cole | Status | assigned => resolved | ||
2010-08-25 15:28 | David Cole | Fixed in Version | => CMake-2-8 | ||
2010-08-25 15:28 | David Cole | Resolution | open => fixed | ||
2010-08-31 18:01 | David Cole | Target Version | => CMake 2.8.3 | ||
2010-09-10 00:04 | David Cole | Fixed in Version | CMake-2-8 => CMake 2.8.3 | ||
2010-11-09 22:57 | Philip Lowman | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|