Mercurial > dedupe
comparison CMakeLists.txt @ 70:c2ad34480216
Quieting clang is obviously only needed for clang and breaks other compilers.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 12 Jan 2013 12:15:34 +0100 |
| parents | f3d4aba620cc |
| children | 88f408092b6d |
comparison
equal
deleted
inserted
replaced
| 69:9161e9fd5b3f | 70:c2ad34480216 |
|---|---|
| 93 | 93 |
| 94 | 94 |
| 95 ADD_DEFINITIONS("-Wall -Werror") | 95 ADD_DEFINITIONS("-Wall -Werror") |
| 96 | 96 |
| 97 #Quiet clang, ccache combination | 97 #Quiet clang, ccache combination |
| 98 ADD_DEFINITIONS("-Qunused-arguments") | 98 IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") |
| 99 ADD_DEFINITIONS("-Qunused-arguments") | |
| 100 ENDIF() | |
| 99 | 101 |
| 100 #Quiet some warnings in headers | 102 #Quiet some warnings in headers |
| 101 ADD_DEFINITIONS("-Wno-self-assign") | 103 ADD_DEFINITIONS("-Wno-self-assign") |
| 102 ADD_DEFINITIONS("-Wno-unused-function") | 104 ADD_DEFINITIONS("-Wno-unused-function") |
| 103 ADD_DEFINITIONS("-Wno-unused-variable") | 105 ADD_DEFINITIONS("-Wno-unused-variable") |
