代码拉取完成,页面将自动刷新
同步操作将从 风尘叹/xscript 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# This is a cmake script. Process it with the CMake gui or command line utility
# to produce makefiles / Visual Studio project files on Mac OS X and Windows.
#
# To configure the build options either use the CMake gui, or run the command
# line utility including the "-i" option.
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
project(xscript)
cmake_minimum_required(VERSION 2.8)
# Only for version 3 and up. cmake_policy(SET CMP0042 NEW)
set (VERSION 0.7.0)
if (WIN32)
execute_process(COMMAND cmd /c echo %DATE% %TIME% OUTPUT_VARIABLE TIMESTAMP
OUTPUT_STRIP_TRAILING_WHITESPACE)
else (WIN32)
execute_process(COMMAND date "+%F %T%z" OUTPUT_VARIABLE TIMESTAMP
OUTPUT_STRIP_TRAILING_WHITESPACE)
add_definitions (-D_DEBUG)
SET(CMAKE_C_FLAGS "-O0 -Wall -g -ggdb")
SET(CMAKE_CXX_FLAGS "-O0 -Wall -g -ggdb")
# SET(CMAKE_C_FLAGS "-O3 -Wall")
# SET(CMAKE_CXX_FLAGS "-O3 -Wall")
endif (WIN32)
add_definitions (-DCMAKE -DLGX_VERSION=\"${VERSION}\" -DLGX_TIMESTAMP=\"${TIMESTAMP}\")
if (WIN32)
add_definitions("-D_CRT_SECURE_NO_WARNINGS")
add_definitions("-D_CRT_NONSTDC_NO_DEPRECATE")
else (WIN32)
endif (WIN32)
# ========================================
# Include projects
# ========================================
add_subdirectory(src)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。