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 ====================================================================== -- 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
