53 lines
1.0 KiB
CMake
53 lines
1.0 KiB
CMake
# Copyright (c) 2022 Dominic Masters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
# Libraries
|
|
target_link_libraries(${DAWN_TARGET_NAME}
|
|
PUBLIC
|
|
glm
|
|
freetype
|
|
)
|
|
|
|
# Includes
|
|
target_include_directories(${DAWN_TARGET_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
|
|
# Subdirs
|
|
add_subdirectory(assert)
|
|
# add_subdirectory(asset)
|
|
# add_subdirectory(audio)
|
|
add_subdirectory(component)
|
|
add_subdirectory(display)
|
|
add_subdirectory(game)
|
|
# add_subdirectory(games)
|
|
# add_subdirectory(input)
|
|
# add_subdirectory(locale)
|
|
# add_subdirectory(prefab)
|
|
# add_subdirectory(physics)
|
|
# add_subdirectory(save)
|
|
add_subdirectory(scene)
|
|
# add_subdirectory(state)
|
|
# add_subdirectory(time)
|
|
add_subdirectory(util)
|
|
|
|
# Definitions
|
|
# target_compile_definitions(${DAWN_TARGET_NAME}
|
|
# PUBLIC
|
|
# DAWN_DEBUG_BUILD=${DAWN_DEBUG_BUILD}
|
|
# )
|
|
|
|
# Tests
|
|
target_link_libraries(dawntests
|
|
PUBLIC
|
|
glm
|
|
freetype
|
|
)
|
|
|
|
target_include_directories(dawntests
|
|
PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
) |