Build C libraries as well as CXX libraries in GenerateExportHeader tests.
Make it possible to use GenerateExportHeader with C-only projects.
Merge topic 'generate_export_header-fixes' into next

40f8654 Make it possible to use GenerateExportHeader with C-only projects.
cf54dc9 Build C libraries as well as CXX libraries in GenerateExportHeader tests.