Re: [cmake-developers] string(MAKE_C_IDENTIFIER) subcommand

2012-12-24 Thread Mathias Gaunard
On 22/12/12 13:02, Stephen Kelly wrote: Hi there, GenerateExportHeader has a bug where if the target name is kde-config, for example, it generates content like #ifndef KDE-CONFIG_EXPORT_H #define KDE-CONFIG_EXPORT_H This is not as intended. The problem is that the target name is used with

[cmake-developers] string(MAKE_C_IDENTIFIER) subcommand

2012-12-22 Thread Stephen Kelly
Hi there, GenerateExportHeader has a bug where if the target name is kde-config, for example, it generates content like #ifndef KDE-CONFIG_EXPORT_H #define KDE-CONFIG_EXPORT_H This is not as intended. The problem is that the target name is used with TOUPPER, but is not otherwise filtered

Re: [cmake-developers] string(MAKE_C_IDENTIFIER) subcommand

2012-12-22 Thread Rolf Eike Beer
Stephen Kelly wrote: Hi there, GenerateExportHeader has a bug where if the target name is kde-config, for example, it generates content like #ifndef KDE-CONFIG_EXPORT_H #define KDE-CONFIG_EXPORT_H This is not as intended. The problem is that the target name is used with TOUPPER, but