View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014584 | CMake | CMake | public | 2013-11-19 15:45 | 2016-06-10 14:31 | ||||
Reporter | Clinton Stimpson | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014584: set() accepts invalid curly brace syntax | ||||||||
Description | test.cmake contains: set(myvalue "hello") set(ENV{MYVALUE "${myvalue}") Then I run it: cmake -P test.cmake and it doesn't say anything about the missing closing brace around MYVALUE. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034496) Brad King (manager) 2013-11-19 15:51 |
It looks like for the ENV{} syntax CMake blindly strips the last character assuming it is "}": $ cat env.cmake set(myvalue "hello") set(ENV{MYVALUE "${myvalue}") message("ENV{MYVALU}=[$ENV{MYVALU}]") $ cmake -P env.cmake ENV{MYVALU}=[hello] |
(0042431) 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 |
2013-11-19 15:45 | Clinton Stimpson | New Issue | |
2013-11-19 15:49 | Brad King | Summary | CMake accepts invalid curly brace syntax => set() accepts invalid curly brace syntax |
2013-11-19 15:51 | Brad King | Note Added: 0034496 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042431 | |
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 |