Merge branch 'Johannes.Theiner-master-patch-54484' into 'master'
+ clang_tidy See merge request link/projekte/ws19/vkvm-new/terminal!1
This commit is contained in:
commit
42d9b4925a
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.7.2)
|
||||||
|
|
||||||
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
|
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
|
||||||
message(FATAL_ERROR "In-source builds are disabled.
|
message(FATAL_ERROR "In-source builds are disabled.
|
||||||
|
@ -11,6 +11,10 @@ set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "bin" "doc" "
|
||||||
project(Terminal)
|
project(Terminal)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
|
# enable clang_tidy
|
||||||
|
set(CMAKE_CXX_CLANG_TIDY "clang-tidy;-checks=*")
|
||||||
|
set(CMAKE_CXX_CLANG_TIDY clang-tidy;-header-filter=.;-checks=*;)
|
||||||
|
|
||||||
file(GLOB_RECURSE SOURCES src/*.cpp)
|
file(GLOB_RECURSE SOURCES src/*.cpp)
|
||||||
file(GLOB_RECURSE HEADERS src/*.h)
|
file(GLOB_RECURSE HEADERS src/*.h)
|
||||||
file(GLOB_RECURSE TESTS test/*.cpp)
|
file(GLOB_RECURSE TESTS test/*.cpp)
|
||||||
|
|
Loading…
Reference in New Issue