CPM added and directory structure changed

Switch to using CPM package manager instead of vcpkg as its just a wrapper around cmake and makes things more simple.

Switch dependency from spdlog to fmt.

Changed the directory structure to match the setup recommended by GitLab
This commit is contained in:
McMassiveNZ
2023-05-28 20:42:15 +02:00
parent ea2f1c08b7
commit 0e7f06cdd2
14 changed files with 61 additions and 55 deletions

18
cmake/googletest.cmake Normal file
View File

@@ -0,0 +1,18 @@
include_guard()
CPMAddPackage(
NAME googletest
GITHUB_REPOSITORY google/googletest
GIT_TAG release-1.13.0
VERSION 1.13.0
OPTIONS
"INSTALL_GTEST OFF"
"gtest_force_shared_crt ON"
)
set_property(TARGET
gtest
gtest_main
gmock
gmock_main
PROPERTY FOLDER third_party/GoogleTest)