CMake projects created with special characters generate uncompilable example #288
Labels
build
Build components of CDT, anything to do with running the compiler, using Make, CMake, or any builder
Describe the bug
Using any characters that are not legal for C identifiers in the project names causes compiler errors (except
(space) which is handled already).
To Reproduce
Steps to reproduce the behavior:
-
(dashes) in itFor example, call the project
example-cmake-project
and observe that the config.h.in is invalid C code:PR #105 introduced the config.h.in file and it does have special handling for spaces, but needs it for other characters too:
cdt/cmake/org.eclipse.cdt.cmake.core/templates/simple/config.h.in
Lines 1 to 2 in 1783120
cc: @mbooth101
The text was updated successfully, but these errors were encountered: