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

View File

@@ -13,11 +13,12 @@ OPTION(ENABLE_WARNINGS_AS_ERRORS "Warnings are treated as Errors" ON)
OPTION(ENABLE_STATIC_ANALYSIS "Enable Static Analysis Tools" ON)
OPTION(ENABLE_SANITIZERS "Enable Sanitizer Tools" ON)
set(CMAKE_SCRIPTS_DIR ${CMAKE_CURRENT_LIST_DIR}/scripts/cmake)
set(CMAKE_SCRIPTS_DIR ${CMAKE_CURRENT_LIST_DIR}/cmake)
include(${CMAKE_SCRIPTS_DIR}/compilerwarnings.cmake)
include(${CMAKE_SCRIPTS_DIR}/sanitizers.cmake)
include(${CMAKE_SCRIPTS_DIR}/staticanalysis.cmake)
include(${CMAKE_SCRIPTS_DIR}/cpm.cmake)
if (ENABLE_TESTS)
message("-- Unit Testing Enabled")