Basic tests infrastructure

This commit is contained in:
Xiphoseer
2022-01-03 16:00:21 +01:00
parent 203e75ef3d
commit a591dbfe9c
7 changed files with 76 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.12)
project(Darkflame)
include(CTest)
# Read variables from file
FILE(READ "${CMAKE_SOURCE_DIR}/CMakeVariables.txt" variables)
@@ -492,4 +493,7 @@ if(WIN32)
add_dependencies(MasterServer WorldServer)
add_dependencies(MasterServer AuthServer)
add_dependencies(MasterServer ChatServer)
endif()
endif()
# Finally, add the tests
add_subdirectory(tests)