CMake : Improve handling of compiler flags (#8486)

#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
This commit is contained in:
Magne Sjaastad
2022-01-26 10:08:28 +01:00
committed by GitHub
parent d5b17976ed
commit 2d2bf0bbc7
24 changed files with 190 additions and 64 deletions

View File

@@ -1,5 +1,9 @@
cmake_minimum_required (VERSION 2.8.12)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-copy")
endif()
project (clipper)
set(project_source_files