Adding unit tests.
This commit is contained in:
@ -13,16 +13,9 @@ target_link_libraries(${DAWN_TARGET_NAME}
|
||||
# Includes
|
||||
target_include_directories(${DAWN_TARGET_NAME}
|
||||
PUBLIC
|
||||
${DAWN_SHARED_INCLUDES}
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
||||
|
||||
|
||||
target_sources(${DAWN_TARGET_NAME}
|
||||
PRIVATE
|
||||
${DAWN_SHARED_SOURCES}
|
||||
)
|
||||
|
||||
# Subdirs
|
||||
add_subdirectory(assert)
|
||||
add_subdirectory(asset)
|
||||
@ -43,6 +36,17 @@ add_subdirectory(util)
|
||||
# Definitions
|
||||
target_compile_definitions(${DAWN_TARGET_NAME}
|
||||
PUBLIC
|
||||
${DAWN_SHARED_DEFINITIONS}
|
||||
DAWN_DEBUG_BUILD=${DAWN_DEBUG_BUILD}
|
||||
)
|
||||
|
||||
# Tests
|
||||
target_link_libraries(dawntests
|
||||
PUBLIC
|
||||
glm
|
||||
freetype
|
||||
)
|
||||
|
||||
target_include_directories(dawntests
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
Reference in New Issue
Block a user