Update codebase

This commit is contained in:
2024-05-27 11:53:00 -05:00
parent 9adbc0565f
commit 7d8c104a93
43 changed files with 221 additions and 185 deletions

View File

@@ -34,14 +34,6 @@ project(Dawn
LANGUAGES C CXX
)
# Setup tests
add_executable(dawntests)
target_link_libraries(dawntests PRIVATE Catch2::Catch2WithMain)
target_compile_definitions(dawntests
PUBLIC
DAWN_ASSET_LOCATION="${DAWN_ROOT_DIR}/test/data"
)
# Add tools
add_subdirectory(tools)
@@ -49,10 +41,4 @@ add_subdirectory(tools)
add_subdirectory(lib)
# Add Project Files
add_subdirectory(src)
# Run tests
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)
include(CTest)
include(Catch)
catch_discover_tests(dawntests)
add_subdirectory(src)