加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 735 Bytes
一键复制 编辑 原始数据 按行查看 历史
shitfuck 提交于 2015-03-13 10:06 . add
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(FKSCRIPT)
AUX_SOURCE_DIRECTORY(./src FKSCRIPT_SRC_LIST)
INCLUDE_DIRECTORIES(./include)
INCLUDE_DIRECTORIES(./src)
INCLUDE_DIRECTORIES(./src/package)
MESSAGE(STATUS "This is cmdcontroller BINARY dir " ${FKSCRIPT_BINARY_DIR})
MESSAGE(STATUS "This is cmdcontroller SOURCE dir " ${FKSCRIPT_SOURCE_DIR})
MESSAGE(STATUS "This is cmdcontroller SOURCE file " ${FKSCRIPT_SRC_LIST})
IF(REMOD)
SET(CMAKE_CXX_FLAGS "-O3 -Wall -Werror -gdwarf-2 -m64 -DNDEBUG")
MESSAGE("build release lib")
ELSE()
SET(CMAKE_CXX_FLAGS "-g3 -O0 -Wall -Werror -gdwarf-2 -m64 -D_DEBUG")
MESSAGE("build debug lib")
ENDIF()
SET(LIBRARY_OUTPUT_PATH ${FKSCRIPT_BINARY_DIR}/bin)
ADD_LIBRARY(fkscript STATIC ${FKSCRIPT_SRC_LIST})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化