25 lines
670 B
CMake
25 lines
670 B
CMake
# 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(components)
|
|
add_subdirectory(game)
|
|
add_subdirectory(save)
|
|
|
|
# Assets
|
|
set(DIR_GAME_ASSETS games/tictactoe)
|
|
|
|
tool_language(locale_en ${DIR_GAME_ASSETS}/locale/en.xml)
|
|
tool_tileset(tileset_xo texture_xo ${DIR_GAME_ASSETS}/xo.png 1 4)
|
|
tool_truetype(truetype_bizudp ${DIR_GAME_ASSETS}/font/BIZUDPGothic-Bold.ttf truetype_bizudp 2048 2048 120) |