From a90b6dbac69b4cf829f753e1f67bef4972f49894 Mon Sep 17 00:00:00 2001 From: LA_DI_DA <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Tue, 1 Apr 2025 18:30:43 +0800 Subject: [PATCH] del: remove protobuf support for cracker --- blcrack/cracker/CMakeLists.txt | 9 --------- blcrack/installvcpkgs.bat | 1 - 2 files changed, 10 deletions(-) diff --git a/blcrack/cracker/CMakeLists.txt b/blcrack/cracker/CMakeLists.txt index 3ec836e46..45cf4d373 100644 --- a/blcrack/cracker/CMakeLists.txt +++ b/blcrack/cracker/CMakeLists.txt @@ -18,7 +18,6 @@ target_link_options(${CRACKER} PRIVATE -Wl,--version-script=${CMAKE_CURRENT_LIST target_link_libraries(${CRACKER} PRIVATE httplib::httplib spdlog::spdlog JsonCpp::JsonCpp PRIVATE ${TOLUA} ${IL2CPP} - PRIVATE protobuf::libprotoc protobuf::libprotobuf protobuf::libprotobuf-lite ) target_compile_definitions(${CRACKER} PRIVATE ${SPDLOG_DEFINES} SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE @@ -30,11 +29,3 @@ set(CRACKER_PB_DIR ${CMAKE_CURRENT_LIST_DIR}/pb) if (NOT EXISTS ${CRACKER_PB_DIR}) file(MAKE_DIRECTORY ${CRACKER_PB_DIR}) endif() - -protobuf_generate( - TARGET ${CRACKER} - LANGUAGE cpp - PROTOS ${CRACKER_PROTOS} - IMPORT_DIRS ${CMAKE_CURRENT_LIST_DIR}/proto - PROTOC_OUT_DIR ${CRACKER_PB_DIR} -) diff --git a/blcrack/installvcpkgs.bat b/blcrack/installvcpkgs.bat index eaf5bc11f..58653f79a 100644 --- a/blcrack/installvcpkgs.bat +++ b/blcrack/installvcpkgs.bat @@ -10,7 +10,6 @@ call :install_all_platforms cpp-httplib call :install_all_platforms jsoncpp call :install_all_platforms spdlog call :install_all_platforms cxxopts -call :install_all_platforms protobuf call :install cpp-httplib x64-windows-static call :install jsoncpp x64-windows-static