11 Star 58 Fork 26

YX-PIS/YX-PIS-Demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 826 Bytes
一键复制 编辑 原始数据 按行查看 历史
project(demo)
cmake_minimum_required(VERSION 2.8)
message("Project Directory: ${PROJECT_SOURCE_DIR}")
set(DEMO_ROOT_DIR ${PROJECT_SOURCE_DIR})
set(CMAKE_CURRENT_BINARY_DIR ${DEMO_ROOT_DIR}/bin)
add_compile_options("/source-charset:utf-8")
add_compile_options("/execution-charset:utf-8")
add_definitions(-D _WINDOWS)
add_definitions(-D SETTARGET_DEVICE_GENERIC_WINDOWS)
add_definitions(-D SETTARGET_DEBUG_ENABLED=0)
add_definitions(-D NO_SSL)
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(LINK_DIR_FOR_PIS ${CMAKE_CURRENT_SOURCE_DIR}/lib/win_x64)
add_definitions(-D WIN64)
ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(LINK_DIR_FOR_PIS ${CMAKE_CURRENT_SOURCE_DIR}/lib/win32)
add_definitions(-D WIN32)
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_subdirectory("cms")
add_subdirectory("mms")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/yx-pis/yx-pis-demo.git
[email protected]:yx-pis/yx-pis-demo.git
yx-pis
yx-pis-demo
YX-PIS-Demo
master

搜索帮助