Skip to content

Commit 9559173

Browse files
committed
[moz] Disable warnings in the build.
Building DXC generates more than 1GB of warnings in the log making the log unusable and any interesting warning would get lost in the mass. For taskcluster builds it's better to simply remove all of them.
1 parent 32a22b2 commit 9559173

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ if (POLICY CMP0051)
2626
cmake_policy(SET CMP0051 OLD)
2727
endif()
2828

29+
add_compile_options(-w)
30+
2931
if(CMAKE_VERSION VERSION_LESS 3.1.20141117)
3032
set(cmake_3_2_USES_TERMINAL)
3133
else()

0 commit comments

Comments
 (0)