# Copyright (c) 2023 Dominic Masters
# 
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT

# Build Project
add_executable(${DAWN_TARGET_NAME})

# Includes
target_include_directories(${DAWN_TARGET_NAME}
  PUBLIC
    ${CMAKE_CURRENT_LIST_DIR}
)

# Subdirs
add_subdirectory(game)
add_subdirectory(save)
add_subdirectory(scene)

# Assets
set(ROSE_ASSETS_DIR ${DAWN_ASSETS_DIR}/games/rose)
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Player.xml)
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Urchin.xml)
tool_prefab(${ROSE_ASSETS_DIR}/prefabs/Crab.xml)