|
|
@@ -283,6 +283,8 @@ endif()
|
|
|
COMMAND cp ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/player_icon.icns ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
|
|
|
add_custom_command (TARGET PolycodePlayer PRE_BUILD
|
|
|
COMMAND cp ${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/default.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
|
|
|
+ add_custom_command (TARGET PolycodePlayer PRE_BUILD
|
|
|
+ COMMAND cp ${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/hdr.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
|
|
|
add_custom_command (TARGET PolycodePlayer PRE_BUILD
|
|
|
COMMAND cp -R ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/API/api.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/PolycodePlayer.app/Contents/Resources)
|
|
|
add_custom_command (TARGET PolycodePlayer PRE_BUILD
|
|
|
@@ -300,6 +302,8 @@ endif()
|
|
|
COMMAND cp ${Polycode_SOURCE_DIR}/Player/Contents/Platform/Darwin/player_icon.icns ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
|
|
|
add_custom_command (TARGET StandalonePlayer PRE_BUILD
|
|
|
COMMAND cp ${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/default.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
|
|
|
+ add_custom_command (TARGET StandalonePlayer PRE_BUILD
|
|
|
+ COMMAND cp ${Polycode_SOURCE_DIR}/Assets/Default\ asset\ pack/hdr.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
|
|
|
add_custom_command (TARGET StandalonePlayer PRE_BUILD
|
|
|
COMMAND cp -R ${Polycode_SOURCE_DIR}/Bindings/Contents/LUA/API/api.pak ${PROJECT_BINARY_DIR}/Player/Contents/\${CONFIGURATION}/StandalonePlayer.app/Contents/Resources)
|
|
|
add_custom_command (TARGET StandalonePlayer PRE_BUILD
|