Update codebase
This commit is contained in:
@@ -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)
|
Reference in New Issue
Block a user