mirror of https://github.com/axmolengine/axmol.git
Copy angle binaries
This commit is contained in:
parent
bfd73bf69a
commit
f98bcff3a6
|
@ -433,6 +433,7 @@ if(WINDOWS)
|
|||
set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/Classes/precheader.cpp" PROPERTIES COMPILE_FLAGS "/Ycprecheader.h")
|
||||
endif()
|
||||
|
||||
# Copy win32 angle binaries
|
||||
if(WIN32)
|
||||
add_custom_command(TARGET ${APP_NAME}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
|
|
|
@ -147,3 +147,14 @@ if(LINUX OR WINDOWS)
|
|||
cocos_copy_lua_scripts(${APP_NAME} ${res_src_folders} ${APP_RES_DIR}/src )
|
||||
cocos_copy_lua_scripts(${APP_NAME} ${res_script_folders} ${APP_RES_DIR}/src/cocos)
|
||||
endif()
|
||||
|
||||
# Copy win32 angle binaries
|
||||
if(WIN32)
|
||||
add_custom_command(TARGET ${APP_NAME}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${COCOS2DX_ROOT_PATH}/external/angle/prebuilt/win32/libGLESv2.dll
|
||||
${COCOS2DX_ROOT_PATH}/external/angle/prebuilt/win32/libEGL.dll
|
||||
${COCOS2DX_ROOT_PATH}/external/angle/prebuilt/win32/d3dcompiler_47.dll
|
||||
$<TARGET_FILE_DIR:${APP_NAME}>
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue