Skip to content

Commit 153a0dc

Browse files
chore: remove unnecessary comment
1 parent 747657d commit 153a0dc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ project(Algorithms_in_C++
55
DESCRIPTION "Set of algorithms implemented in C++."
66
)
77

8-
# set(CMAKE_CXX_CPPLINT "~/anaconda3/bin/cpplint --filter=-legal/copyright --std=c++11")
9-
# find_program(CLANG_FORMAT "clang-format")
10-
8+
# C++ standard
119
set(CMAKE_CXX_STANDARD 17)
1210
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1311

12+
13+
# Additional warnings and errors
14+
set(EXTRA_COMPILE_FLAGS_CXX "-Wno-register -Werror=vla")
15+
1416
if(MSVC)
15-
# set(CMAKE_CXX_STANDARD 14)
1617
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
1718
endif(MSVC)
1819

0 commit comments

Comments
 (0)