From a120d33b7970315d1bc8e56510c5114474bb8f15 Mon Sep 17 00:00:00 2001 From: lujun <495904500@qq.com> Date: Tue, 7 Feb 2023 16:47:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CMakeLists.txt | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/native/engine/lcc-ui-sorting-group-native/CMakeLists.txt b/native/engine/lcc-ui-sorting-group-native/CMakeLists.txt index 4799dc2..28f62fe 100644 --- a/native/engine/lcc-ui-sorting-group-native/CMakeLists.txt +++ b/native/engine/lcc-ui-sorting-group-native/CMakeLists.txt @@ -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) set(COCOS_SOURCE_PLUGIN_EXCULDE) endif()