Re: [cmake-developers] Knowing if a C project is being built (Was Re: [CMake 0012959]: GenerateExportHeaders does not work for C)

2012-02-22 Thread Brad King
On 2/21/2012 5:47 PM, Stephen Kelly wrote: >> add_library(mylib mylib.c) >> generate_export_header(mylib) > > I'm looking into fixing this bug, and I was wondering how to. I have never > built C code with CMake. > > I will need to conditionally call different check_compiles macros. Can I so > s

[cmake-developers] Knowing if a C project is being built (Was Re: [CMake 0012959]: GenerateExportHeaders does not work for C)

2012-02-21 Thread Stephen Kelly
Mantis Bug Tracker wrote: > == > 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 onl