]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Add -Werror
authorDmitry Belyavskiy <beldmit@gmail.com>
Sat, 19 Nov 2016 18:34:49 +0000 (21:34 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sat, 19 Nov 2016 18:34:49 +0000 (21:34 +0300)
CMakeLists.txt

index 6d51a055465add04d93d95f0a25b8622447bf7e8..7c87c915df17bb70676fc977639c25eb9625d198 100644 (file)
@@ -1,7 +1,8 @@
 cmake_minimum_required(VERSION 2.8)
 project(ccgost)
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c98 -O3")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c98 -O3 -Werror -Wall")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -Werror")
 
 set(GOST_INCLUDE_DIRECTORIES "${OPENSSL_PATH}/include" "${OPENSSL_PATH}/crypto/include")