Restructured tests and matured Logger a lil bit, now LoggerBase
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(NBEngine VERSION 0.1.0 LANGUAGES C CXX)
|
||||
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
message(STATUS "Targeting Release build")
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ./release)
|
||||
@@ -33,6 +35,7 @@ set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
|
||||
|
||||
if(NB_BUILD_TESTS)
|
||||
message(STATUS "Building tests")
|
||||
enable_testing()
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
gtest
|
||||
|
||||
Reference in New Issue
Block a user