6 Star 29 Fork 4

向量/AsmVsZombies

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 920 Bytes
一键复制 编辑 原始数据 按行查看 历史
AlumKal 提交于 2024-08-03 09:51 . build: integrate minhook
cmake_minimum_required(VERSION 3.8)
project(AsmVsZombies)
# set global options
add_compile_options(-m32 -std=c++20 -Wall)
add_link_options(-m32)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
# build libavz
aux_source_directory(src avz_srcs)
aux_source_directory(src/minhook minhook_srcs)
add_library(avz ${avz_srcs} ${minhook_srcs})
target_compile_options(avz PRIVATE -fexperimental-library)
target_include_directories(avz PRIVATE inc)
# build injector
add_subdirectory(tools/injector)
# 此条命令仅用于作者打包 avz,仅编译 avz 请注释这条命令
add_custom_target(PackageAvz
COMMAND powershell -c "\
cd ${PROJECT_SOURCE_DIR}; \
rm bin/*.dll; \
Compress-Archive -Path bin/,inc/,src/,metadata.json -Force -DestinationPath release/env2/nightly.zip"
DEPENDS avz injector
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/vector-wlc/AsmVsZombies.git
git@gitee.com:vector-wlc/AsmVsZombies.git
vector-wlc
AsmVsZombies
AsmVsZombies
master

搜索帮助