File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change
1
+ [submodule "cmake "]
2
+ path = cmake
3
+ url = https://git.stabletec.com/other/cmake-scripts.git
4
+ branch = master
Original file line number Diff line number Diff line change @@ -2,23 +2,17 @@ cmake_minimum_required(VERSION 3.2)
2
2
project (UnicodeHpp )
3
3
4
4
include (cmake/c++-standards.cmake )
5
- include (cmake/clang-tools.cmake )
6
5
include (cmake/code-coverage.cmake )
7
- include (cmake/sanitizer-builds.cmake )
6
+ include (cmake/sanitizers.cmake )
7
+ include (cmake/tools.cmake )
8
8
9
9
file (GLOB_RECURSE ALL_CXX_SOURCE_FILES
10
10
${PROJECT_SOURCE_DIR} /src/*.[ch]pp
11
11
${PROJECT_SOURCE_DIR} /src/*.[ch]
12
12
)
13
13
14
- _Cxx11 ()
15
- _ClangFormat (UnicodeHpp ${ALL_CXX_SOURCE_FILES} )
16
- _ClangTidy (UnicodeHpp ${ALL_CXX_SOURCE_FILES} "-I${PROJECT_SOURCE_DIR} /ext" )
14
+ cxx_11 ()
17
15
18
- # GCC
19
- if (CMAKE_COMPILER_IS_GNUCXX )
20
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Weffc++" )
21
- endif ()
22
-
23
- _AddExecutable (UnicodeHpp src/unicode_cpp_generator.cpp )
24
- target_include_directories (UnicodeHpp PUBLIC ext )
16
+ add_executable (UnicodeHpp src/unicode_cpp_generator.cpp )
17
+ target_include_directories (UnicodeHpp PUBLIC ext )
18
+ target_code_coverage (UnicodeHpp AUTO )
Submodule
cmake added at aa74478
You can’t perform that action at this time.
0 commit comments