MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015186 | CMake | CMake | public | 2014-10-02 09:41 | 2015-04-06 09:07 |
Reporter | Clinton Stimpson | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0015186: target names restricted to ascii since 3.0 | ||||
Description | Using the project attached here: http://www.cmake.org/Bug/view.php?id=14934 [^] I get a warning: CMake Warning (dev) at CMakeLists.txt:31 (add_executable): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "教學程式" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. | ||||
Steps To Reproduce | |||||
Additional Information | cmGeneratorExpression::IsValidTargetName() has this: static cmsys::RegularExpression targetNameValidator("^[A-Za-z0-9_.:+-]+$"); return targetNameValidator.find(input); Perhaps the regex can be inverted and specific characters which are disallowed should be searched for. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-10-02 09:41 | Clinton Stimpson | New Issue | |||
2014-10-02 09:45 | Brad King | Note Added: 0036887 | |||
2014-10-02 10:03 | Clinton Stimpson | Note Added: 0036888 | |||
2014-10-02 10:06 | Brad King | Status | new => resolved | ||
2014-10-02 10:06 | Brad King | Resolution | open => won't fix | ||
2015-04-06 09:07 | Robert Maynard | Note Added: 0038417 | |||
2015-04-06 09:07 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|