mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-05 21:53:27 -06:00
2d2bf0bbc7
#8478 Code cleanup to fix some warnings Several adjustments to improve the specification and usage of compile flags.
24 lines
417 B
CMake
24 lines
417 B
CMake
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
|
|
clipper.cpp
|
|
)
|
|
|
|
add_library(${PROJECT_NAME}
|
|
STATIC
|
|
${project_source_files}
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|