Move engine resources out of test

This commit is contained in:
bailwillharr 2022-11-30 11:59:41 +00:00
parent 7788a86c2f
commit 648bdf19fe
10 changed files with 10 additions and 2 deletions

2
.gitignore vendored
View File

@ -12,3 +12,5 @@ compile_commands.json
runme
*.log
/test/res/engine
/test/res/engine/

View File

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 195 B

View File

@ -44,3 +44,9 @@ add_custom_command(
TARGET ${PROJECT_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink
${PROJECT_SOURCE_DIR}/res $<TARGET_FILE_DIR:enginetest>/res)
get_target_property(ENGINE_SOURCE_DIR engine SOURCE_DIR)
add_custom_command(
TARGET ${PROJECT_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink
${ENGINE_SOURCE_DIR}/res/engine $<TARGET_FILE_DIR:enginetest>/res/engine)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B