From bdaf2c16aa080f425336283282031ee1ad640c79 Mon Sep 17 00:00:00 2001 From: EinMByte Date: Tue, 18 Aug 2015 22:17:28 +0200 Subject: [PATCH] Update .gitignore, fix typo in CMakeLists.txt. --- .gitignore | 2 ++ build/CMakeLists.txt | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 40d8fe07..38c52b5f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ build/cmake_install.cmake build/i2pd build/libcommon.a build/libi2pd.a +build/CTestTestfile.cmake +build/i2pd_tests # Autotools diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 997c3d50..d1d3df4c 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -119,12 +119,13 @@ if (CXX11_SUPPORTED) elseif (CXX0X_SUPPORTED) # gcc 4.6 add_definitions( "-std=c++0x" ) elseif (NOT MSVC) - message(SEND_ERROR "C++11 standart not seems to be supported by compiler. Too old version?") + message(SEND_ERROR "C++11 standard not supported by compiler. Version too old?") endif () if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if (WITH_HARDENING) add_definitions( "-D_FORTIFY_SOURCE=2" ) +file (GLOB HEADERS "${CMAKE_SOURCE_DIR}/util/*.h") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Wformat-security -Werror=format-security" ) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector --param ssp-buffer-size=4" ) endif () @@ -317,4 +318,4 @@ if (WITH_TESTS) enable_testing() add_test(i2pdTest i2pd_tests) -endif () \ No newline at end of file +endif ()