Skip to content

Commit b004a5b

Browse files
committed
Treat warnings as error when generating build files
1 parent 62c52ad commit b004a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ BUILD_DIR=".build"
4646

4747
CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Debug}"
4848

49-
GENERATE_CMD=(cmake)
49+
GENERATE_CMD=(cmake "-Werror=dev" "-Werror=deprecated")
5050
if ! cmake-help-contains "Visual Studio" || [ -n "$CXX" ]; then
5151
COVERAGE="${COVERAGE:-0}"
5252
if [ "$COVERAGE" = 1 ]; then

0 commit comments

Comments
 (0)