代码拉取完成,页面将自动刷新
同步操作将从 风尘叹/BitMQ 强制同步,此操作会覆盖自 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(bmq)
cmake_minimum_required(VERSION 2.8)
# Only for version 3 and up. cmake_policy(SET CMP0042 NEW)
set (VERSION 0.6.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)
#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 -DBMQ_VERSION=\"${VERSION}\" -DBMQ_TIMESTAMP=\"${TIMESTAMP}\")
if (WIN32)
set (BINDIR .)
set (SBINDIR .)
set (SYSCONFDIR .)
set (LIBDIR .)
set (INCLUDEDIR .)
add_definitions("-D_CRT_SECURE_NO_WARNINGS")
add_definitions("-D_CRT_NONSTDC_NO_DEPRECATE")
else (WIN32)
set (BINDIR bin)
set (SBINDIR sbin)
set (SYSCONFDIR /etc/bmq)
set (LIBDIR lib${LIB_SUFFIX})
set (INCLUDEDIR include)
endif (WIN32)
option(WITH_TLS
"Include SSL/TLS support?" ON)
if (${WITH_TLS} STREQUAL ON)
find_package(OpenSSL REQUIRED)
add_definitions("-DWITH_TLS")
else (${WITH_TLS} STREQUAL ON)
set (OPENSSL_INCLUDE_DIR "")
endif (${WITH_TLS} STREQUAL ON)
# ========================================
# Include projects
# ========================================
add_subdirectory(src)
# ========================================
# Install config file
# ========================================
install(FILES bmq.conf DESTINATION ${SYSCONFDIR})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。