Daniel Scharrer
ce1c974411
CMake: Update compiler flags
7 years ago
Daniel Scharrer
45b649819b
CMake: Enable -Wshadow
7 years ago
Daniel Scharrer
b750691ca0
CMake: Update warning flags
7 years ago
Daniel Scharrer
2654cc8510
CMake: Update compiler flags
7 years ago
Daniel Scharrer
0c652b0128
CMake: Disable overzealous ICC warning
7 years ago
Daniel Scharrer
648a9e8193
Silence a bogus warning with the Intel compiler
11 years ago
Daniel Scharrer
ee924c20eb
CMake: Enable double promotion warnings
11 years ago
Daniel Scharrer
379452494b
CMake: Remove useless flag check
...
pathCC doesn't even support disabling that warning :(
11 years ago
Daniel Scharrer
31e10ae477
CMake: Improve check for -Wno-maybe-uninitialized
11 years ago
Daniel Scharrer
56213e8a75
CMake: Disable -Wunused-local-typedef for EKOPath
11 years ago
Daniel Scharrer
50d44aeea8
CMake: Enable -Wpessimizing-move
11 years ago
Daniel Scharrer
52f8e7b0cd
CMake: Disable -Wmaybe-uninitialized in normal builds
11 years ago
Daniel Scharrer
6e1f739306
Add the Clang -Wheader-guard compile option
12 years ago
Daniel Scharrer
be55d23baf
Add optimization flags for MSVC
...
Optimize for size, enable link-time optimization.
12 years ago
Daniel Scharrer
5a43402b43
Disable MSVC warning C4250
12 years ago
Daniel Scharrer
e2ee3b8d85
Allow to enable debug output in release builds
13 years ago
Daniel Scharrer
24b71da46f
Fix MSVC 9.0 warnings
13 years ago
Daniel Scharrer
153b6d4229
Improve checks for compiler and linker flags
...
- Check more warning expressions against the standard output
- Don't pass linker flags to be tested to the compiler
13 years ago
Daniel Scharrer
a68c12797a
Print a config summary at the end of the CMake run
...
Also move more code out of the main CMakeLists.txt file
14 years ago
Daniel Scharrer
a54b579cc3
Add CMake options to disable custom compiler flags
...
* SET_WARNING_FLAGS for warning options (don't affect binaries)
* SET_OPTIMIZATION_FLAGS for compiler & linker optimization options
Also, re-enable some warnings that were disabled and instead suppress
them for the individual occurences.
14 years ago
Daniel Scharrer
d0c8972c33
Fix debug build.
14 years ago
Daniel Scharrer
09bdecbaad
CMake: Move some functionality out of the main CMakeLists.txt.
14 years ago