Cleanup/Fix compiler flag handling

Review Request #111677 - Created July 25, 2013 and submitted

Information
Volker Krause
akonadi
master
Reviewers
akonadi
cgiboudeaux, dvratil
Fix full rebuilds triggered by forcing increasing CMAKE_CXX_FLAGS variables into the cache, and misc cleanups in this area while being at it.


Git Log:

Remove -ansi and -Wno-long-long, conflicting/obsolete with C++11.


Don't force CMAKE_C[XX]_FLAGS into the cache.

This causes the flags in the cache to grow with every cmake re-run, and
forcing a complete rebuild since the compiler flags changed.


xsltproc is required, so this condition is pointless.


Merge compiler flag sections.


Remove non-functional CPack section
Doesn't rebuild completely anymore when touching a CMakeLists.txt.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Christophe Giboudeaux
Commit Hook
Volker Krause
Review request changed

Status: Closed (submitted)

Loading...