1 Star 0 Fork 0

Sshwy / Judger

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 485 Bytes
一键复制 编辑 原始数据 按行查看 历史
virusdefender 提交于 2017-12-18 17:54 . fix memory
cmake_minimum_required(VERSION 2.5)
project(judger C)
#set(CMAKE_VERBOSE_MAKEFILE ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/output)
set(CMAKE_C_FLAGS "-g -Wall -Werror -O3 -std=c99 -pie -fPIC")
# make judger lib
file(GLOB SOURCE "src/*.c" "src/rules/*.c")
add_executable(libjudger.so ${SOURCE})
target_link_libraries(libjudger.so pthread seccomp)
install(FILES output/libjudger.so
PERMISSIONS OWNER_EXECUTE OWNER_READ
DESTINATION /usr/lib/judger)
1
https://gitee.com/sshwy/Judger.git
git@gitee.com:sshwy/Judger.git
sshwy
Judger
Judger
newnew

搜索帮助