Working on C tooling

This commit is contained in:
2021-11-04 11:28:11 -07:00
parent 42566e157b
commit e7c9848f63
7 changed files with 138 additions and 5 deletions

View File

@@ -118,6 +118,7 @@ elseif(TARGET_TYPE STREQUAL game)
locale_en
)
add_dependencies()
elseif(TARGET_GAME STREQUAL sandbox)
add_compile_definitions(
GAME_NAME="Sandbox"
@@ -128,7 +129,12 @@ elseif(TARGET_TYPE STREQUAL game)
GAME_DISPOSE=sandboxGameDispose
GAME_VERSION=1.0
)
tool_texture(test_texture
poker/characters/penny/sprites/sheet.png out/test.texture
)
tool_assets(
test_texture
shader_textured
font_opensans
texture_test
@@ -136,7 +142,7 @@ elseif(TARGET_TYPE STREQUAL game)
endif()
# Common Game Dependencies.
add_dependencies(${PROJECT_NAME} assets)
add_dependencies(${PROJECT_NAME} assets )
add_subdirectory(client)
endif()