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 is not otherwise filtered for invalid characters. > > I propose adding a string subcommand MAKE_C_IDENTIFIER and using it. > > Any comments?
Shouldn't that be named MAKE_C_INDENTIFIER? :P SCNR, Eike --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers