Added Unit Tests

This commit is contained in:
2021-10-01 00:27:36 -07:00
parent 88a75e2ddd
commit 52f622b5c3
10 changed files with 271 additions and 454 deletions

View File

@@ -11,11 +11,19 @@ project(Dawn VERSION 1.0)
set(GAME_NAME DawnGame)
set(GAME_VERSION 1.0)
set(TARGET_GROUP test)
##################################### LIBS #####################################
add_subdirectory(lib)
add_subdirectory(src)
add_subdirectory(client)
if(TARGET_GROUP STREQUAL production)
add_subdirectory(client)
elseif(TARGET_GROUP STREQUAL test)
add_subdirectory(test)
else()
message(FATAL_ERROR "Invalid Target Type")
endif()
#################################### ASSETS ####################################
file(COPY ${CMAKE_CURRENT_LIST_DIR}/assets DESTINATION ${CMAKE_CURRENT_BINARY_DIR})