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?

Thanks,

Steve.



--

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

Reply via email to