[cmake-developers] [CMake 0012959]: GenerateExportHeaders does not work for C
Mantis Bug Tracker
mantis at public.kitware.com
Mon Feb 13 05:41:54 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12959
======================================================================
Reported By: David Demelier
Assigned To:
======================================================================
Project: CMake
Issue ID: 12959
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-02-13 05:41 EST
Last Modified: 2012-02-13 05:41 EST
======================================================================
Summary: GenerateExportHeaders does not work for C
Description:
The module GenerateExportHeader creates some defines that may works for C too,
but actually the module is only intented for C++.
All attributes may be used for C too, that means you can't use project(name C).
Steps to Reproduce:
This example will not works:
project(mylib C)
include(GenerateExportHeader)
add_compiler_export_flags()
add_library(mylib mylib.c)
generate_export_header(mylib)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-02-13 05:41 David Demelier New Issue
======================================================================
More information about the cmake-developers
mailing list