Lines Matching +full:release +full:- +full:doxygen

10 option(BENCHMARK_ENABLE_WERROR "Build Release candidates with -Werror." ON)
11 option(BENCHMARK_FORCE_WERROR "Build Release candidates with -Werror regardless of compiler issues.…
27 …set(BENCHMARK_BUILD_32_BITS OFF CACHE BOOL "Build a 32 bit version of the library - unsupported wh…
30 option(BENCHMARK_ENABLE_DOXYGEN "Build documentation with Doxygen." OFF)
35 option(BENCHMARK_DOWNLOAD_DEPENDENCIES "Allow the downloading and in-tree building of unmet depende…
50 # cross-compilation (e.g. Host=x86_64, target=aarch64) requires using the
52 # See https://gitlab.kitware.com/cmake/cmake/-/issues/15170
64 # FIXME: The --coverage flag needs to be removed when building assembly
113 # Normalize version: drop "v" prefix, replace first "-" with ".",
114 # drop everything after second "-" (including said "-").
116 if(VERSION MATCHES v[^-]*-)
117 string(REGEX REPLACE "v([^-]*)-([0-9]+)-.*" "\\1.\\2" NORMALIZED_VERSION ${VERSION})
138 add_required_cxx_compiler_flag(-m32)
153 string(REGEX REPLACE "[-/]W[1-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
155 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
158 add_cxx_compiler_flag(-EHs-)
159 add_cxx_compiler_flag(-EHa-)
160 add_definitions(-D_HAS_EXCEPTIONS=0)
170 …string(REGEX REPLACE "[-/]INCREMENTAL" "/INCREMENTAL:NO" CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO …
172 …string(REGEX REPLACE "[-/]INCREMENTAL" "/INCREMENTAL:NO" CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO …
174 …string(REGEX REPLACE "[-/]INCREMENTAL" "/INCREMENTAL:NO" CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${…
183 # Turn on Large-file Support
184 add_definitions(-D_FILE_OFFSET_BITS=64)
185 add_definitions(-D_LARGEFILE64_SOURCE)
186 add_definitions(-D_LARGEFILE_SOURCE)
188 add_cxx_compiler_flag(-Wall)
189 add_cxx_compiler_flag(-Wextra)
190 add_cxx_compiler_flag(-Wshadow)
191 add_cxx_compiler_flag(-Wfloat-equal)
192 add_cxx_compiler_flag(-Wold-style-cast)
194 add_cxx_compiler_flag(-Werror)
198 add_cxx_compiler_flag(-Wsuggest-override)
200 add_cxx_compiler_flag(-pedantic)
201 add_cxx_compiler_flag(-pedantic-errors)
202 add_cxx_compiler_flag(-Wshorten-64-to-32)
203 add_cxx_compiler_flag(-fstrict-aliasing)
206 add_cxx_compiler_flag(-Wno-deprecated-declarations)
208 # Intel silently ignores '-Wno-deprecated-declarations',
211 add_cxx_compiler_flag(-wd1786)
212 add_cxx_compiler_flag(-fno-finite-math-only)
214 # Disable deprecation warnings for release builds (when -Werror is enabled).
216 add_cxx_compiler_flag(-Wno-deprecated)
219 add_cxx_compiler_flag(-fno-exceptions)
223 …NOT CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM") #ICC17u2: Many false positives for Wstrict-aliasing
224 add_cxx_compiler_flag(-Wstrict-aliasing)
229 add_cxx_compiler_flag(-wd654)
230 add_cxx_compiler_flag(-Wthread-safety)
232 … cxx_feature_check(THREAD_SAFETY_ATTRIBUTES "-DINCLUDE_DIRECTORIES=${PROJECT_SOURCE_DIR}/include")
240 add_definitions(-D_GNU_SOURCE=1)
244 add_definitions(-D_QNX_SOURCE)
249 add_cxx_compiler_flag(-flto)
250 add_cxx_compiler_flag(-Wno-lto-type-mismatch)
252 find_program(GCC_AR gcc-ar)
256 find_program(GCC_RANLIB gcc-ranlib)
261 include(llvm-toolchain)
280 "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel Coverage.")
281 add_cxx_compiler_flag(--coverage COVERAGE)
286 add_cxx_compiler_flag(-stdlib=libc++)
290 add_cxx_compiler_flag(-nostdinc++)
292 # Adding -nodefaultlibs directly to CMAKE_<TYPE>_LINKER_FLAGS will break
294 list(APPEND BENCHMARK_CXX_LINKER_FLAGS -nodefaultlibs)
295 # -lc++ cannot be added directly to CMAKE_<TYPE>_LINKER_FLAGS because
296 # linker flags appear before all linker inputs and -lc++ must appear after.
299 message(FATAL_ERROR "-DBENCHMARK_USE_LIBCXX:BOOL=ON is not supported for compiler")
306 set(EXTRA_CXX_FLAGS "-DCMAKE_CXX_STANDARD=14")