diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-05-23 05:44:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-05-24 13:09:43 (GMT) |
commit | 7e24997fedbcaa4f1db8e295ca1845dadf50ff55 (patch) | |
tree | d46976d08b2964873f9668e3a18ffb39e55dd4e1 /Modules/SelectLibraryConfigurations.cmake | |
parent | 3db29d2724b9ed6cbbf5e2af668ecfb6ec365a3b (diff) | |
download | CMake-7e24997fedbcaa4f1db8e295ca1845dadf50ff55.zip CMake-7e24997fedbcaa4f1db8e295ca1845dadf50ff55.tar.gz CMake-7e24997fedbcaa4f1db8e295ca1845dadf50ff55.tar.bz2 |
GenerateExportHeader: Generate only C identifiers as defines
The variables in this module are used to configure a header file
with defines whose name depends on the name of the target.
As valid names of targets may be invalid for use as defines, convert
the names of the defines used to C identifiers first. This is already
done in C++ code for the DEFINE_SYMBOL property.
This is not as simple as ensuring that the BASE_NAME is a C identifier,
because most of the define names are configurable, and because use of
a BASE_NAME which is not a C identifier, such as 4square can become a
C identifier by specifying a prefix in the generate_export_header
macro.
Diffstat (limited to 'Modules/SelectLibraryConfigurations.cmake')
0 files changed, 0 insertions, 0 deletions