Steps to reproduce with CDT main HEAD 2026-01-03:
- Create a new CMake with hello world executable project named
project-1
- Build the project
- Observe compilation failure in generated
config.h due to hyphen in version macro name:
#define project-1_VERSION_MAJOR 0
Should we detect and warn about invalid C symbol characters in CMake project names in the project wizard?
Steps to reproduce with CDT main HEAD 2026-01-03:
project-1config.hdue to hyphen in version macro name:Should we detect and warn about invalid C symbol characters in CMake project names in the project wizard?