mirror of
https://gitee.com/nomat/lcc-ui-sorting-group-demo.git
synced 2024-12-26 03:38:27 +00:00
日常
This commit is contained in:
parent
9613e80a39
commit
a120d33b79
@ -1,33 +1,4 @@
|
|||||||
|
|
||||||
#string(REPLACE "/" "\\" CMD_COCOS_X_PATH "${COCOS_X_PATH}")
|
|
||||||
#string(REPLACE "/" "\\" CMD_CMAKE_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
|
||||||
|
|
||||||
# 引擎编译添加源文件替换依赖目标
|
|
||||||
#add_custom_command(
|
|
||||||
# OUTPUT ${CMAKE_CURRENT_LIST_DIR}/ENGINE_REPLACE.txt
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\replace\\Batcher2d.h\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\Batcher2d.h\""
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\replace\\Batcher2d.cpp\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\Batcher2d.cpp\""
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\replace\\RenderEntity.h\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\RenderEntity.h\""
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\replace\\RenderEntity.cpp\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\RenderEntity.cpp\""
|
|
||||||
# COMMAND echo "ENGINE_REPLACE" >> "${CMD_CMAKE_CURRENT_LIST_DIR}\\ENGINE_REPLACE.txt"
|
|
||||||
# COMMAND echo "LCC_UI_SORTING_GROUP pre"
|
|
||||||
# WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
|
|
||||||
#)
|
|
||||||
#add_custom_target(LCC_UI_SORTING_GROUP_ENGINE_REPLACE DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ENGINE_REPLACE.txt)
|
|
||||||
#add_dependencies(${ENGINE_NAME} LCC_UI_SORTING_GROUP_ENGINE_REPLACE)
|
|
||||||
|
|
||||||
# 引擎编译恢复源文件
|
|
||||||
#add_custom_command(TARGET ${ENGINE_NAME}
|
|
||||||
# POST_BUILD
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\backup\\Batcher2d.h\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\Batcher2d.h\""
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\backup\\Batcher2d.cpp\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\Batcher2d.cpp\""
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\backup\\RenderEntity.h\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\RenderEntity.h\""
|
|
||||||
# COMMAND copy /y "\"${CMD_CMAKE_CURRENT_LIST_DIR}\\backup\\RenderEntity.cpp\"" "\"${CMD_COCOS_X_PATH}\\cocos\\2d\\renderer\\RenderEntity.cpp\""
|
|
||||||
# COMMAND del "${CMD_CMAKE_CURRENT_LIST_DIR}\\ENGINE_REPLACE.txt"
|
|
||||||
# COMMAND echo "LCC_UI_SORTING_GROUP post"
|
|
||||||
# WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
|
|
||||||
#)
|
|
||||||
|
|
||||||
if(NOT DEFINED COCOS_SOURCE_PLUGIN_EXCULDE)
|
if(NOT DEFINED COCOS_SOURCE_PLUGIN_EXCULDE)
|
||||||
set(COCOS_SOURCE_PLUGIN_EXCULDE)
|
set(COCOS_SOURCE_PLUGIN_EXCULDE)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user