[cmake-developers] [CMake 0014857]: Allow COMPILE_OPTIONS to vary by source file language
Mantis Bug Tracker
mantis at public.kitware.com
Tue Apr 1 10:15:02 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14857
======================================================================
Reported By: Stephen Kelly
Assigned To:
======================================================================
Project: CMake
Issue ID: 14857
Category: CMake
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-04-01 10:15 EDT
Last Modified: 2014-04-01 10:15 EDT
======================================================================
Summary: Allow COMPILE_OPTIONS to vary by source file
language
Description:
Compile options like -fno-exceptions should be added for CXX files, but not for
C files.
http://thread.gmane.org/gmane.comp.kde.devel.frameworks/9222/focus=8215
http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/173869
Some methods like cmLocalGenerator::GetIncludeDirectories have a language in
their API, but that is a linker language, not a source file language.
Making build properties vary by source file language is probably a large
refactoring task of the existing generators.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-04-01 10:15 Stephen Kelly New Issue
======================================================================
More information about the cmake-developers
mailing list