# Copyright (c) 2022 Dominic Masters # # This software is released under the MIT License. # https://opensource.org/licenses/MIT # Set up the executable set(DAWN_TARGET_NAME "PokerGame" CACHE INTERNAL ${DAWN_CACHE_TARGET}) # Add Common Engine Parts set(DAWN_VISUAL_NOVEL true CACHE INTERNAL ${DAWN_CACHE_TARGET}) # 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(ui) add_subdirectory(visualnovel) add_subdirectory(prefabs) add_subdirectory(save) add_subdirectory(scenes) # Assets set(DIR_GAME_ASSETS games/pokergame) tool_texture(texture_test texture_test.png) tool_language(locale_poker ${DIR_GAME_ASSETS}/locale/locale.xml) tool_tileset(tileset_death texture_death ${DIR_GAME_ASSETS}/characters/death/sheet.png 1 3) tool_tileset(tileset_penny texture_penny ${DIR_GAME_ASSETS}/characters/penny/sheet.png 1 3) tool_truetype(truetype_alice ${DIR_GAME_ASSETS}/font/Alice-Regular.ttf truetype_alice 2048 2048 120) tool_audio(audio_test borrowed/sample_short.wav) tool_vnscene(Scene_1 ${DIR_GAME_ASSETS}/vn/Scene_1.xml) add_dependencies(${DAWN_TARGET_NAME} locale_poker tileset_death tileset_penny truetype_alice texture_test audio_test Scene_1 )