Skip to content

Commit

Permalink
perf: use the GoogleTest module from cmake_modules
Browse files Browse the repository at this point in the history
Close #52

Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock committed Nov 19, 2023
1 parent 4d5e20e commit 1332369
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 64 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ include(cmake-modules/build/Default)
include(cmake-modules/build/Ccache)
include(cmake-modules/build/LinkOptimization)
include(cmake-modules/test/Default)
include(cmake-modules/test/GoogleTest)
include(cmake-modules/test/Coverage)
include(cmake-modules/test/Sanitizer)
include(cmake-modules/test/Valgrind)
Expand All @@ -65,7 +66,6 @@ create_uninstall_target()
# Project custom modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(ConfigureVersion)
include(ConfigureGtest)
include(ConfigureDocs)
include(ConfigureCoverage)

Expand Down
31 changes: 0 additions & 31 deletions cmake/ConfigureGtest.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion template/CMakeLists.txt.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ include(cmake-modules/build/Default)
include(cmake-modules/build/Ccache)
include(cmake-modules/build/LinkOptimization)
include(cmake-modules/test/Default)
include(cmake-modules/test/GoogleTest)
include(cmake-modules/test/Coverage)
include(cmake-modules/test/Sanitizer)
include(cmake-modules/test/Valgrind)
Expand All @@ -67,7 +68,6 @@ create_uninstall_target()
# Project custom modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(ConfigureVersion)
include(ConfigureGtest)
include(ConfigureDocs)
include(ConfigureCoverage)
[%- if use_cpm == true %]
Expand Down
31 changes: 0 additions & 31 deletions template/cmake/ConfigureGtest.cmake

This file was deleted.

0 comments on commit 1332369

Please sign in to comment.