2 Star 1 Fork 34

deific/AutopackingAndroid

forked from 冰剑/AutopackingAndroid 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 2.12 KB
一键复制 编辑 原始数据 按行查看 历史
冰剑 提交于 2014-12-12 17:01 . 1.发布2.3.0版本
########################################################
#
# This is a CMake configuration file.
# To use it you need CMake which can be
# downloaded from here:
# http://www.cmake.org/cmake/resources/software.html
#
#########################################################
cmake_minimum_required( VERSION 2.8 )
project( AutopackingAndroid )
set( CMAKE_DEBUG_POSTFIX "d" )
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib )
set( PACKAGE_DIRECTORY ${PROJECT_BINARY_DIR}/package )
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CmakeExtras" )
set( TOOLS_MAJOR_VERSION 2 )
set( TOOLS_MINOR_VERSION 3 )
set( TOOLS_REVISION_VERSION 0 )
set( TOOLS_FULL_VERSION ${TOOLS_MAJOR_VERSION}.${TOOLS_MINOR_VERSION}.${TOOLS_REVISION_VERSION} )
# Apple users building with XCode notes:
# If building with XCode you need to set the target and location
# of the SDK. If you are building with the Command Line Tools
# you do not need to specify the follwing options.
# It is recommened to set them when running cmake using -D
# rather than editing this file directly.
# CMAKE_OSX_DEPLOYMENT_TARGET "10.8"
# CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.8.sdk"
# Check if platform is 64 bit
if( NOT APPLE )
if( CMAKE_SIZEOF_VOID_P EQUAL 4 )
set( 64_BIT_PLATFORM 0 )
else()
set( 64_BIT_PLATFORM 1 )
endif()
endif()
# Profiler configuration for GCC
if( CMAKE_COMPILER_IS_GNUCXX )
set( CMAKE_BUILD_TYPE profiling )
set( CMAKE_CXX_FLAGS_PROFILING "-O2 -DNDEBUG -pg -g -fno-omit-frame-pointer -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls" )
# After creating the new build type,
# we clear the default back to empty
set( CMAKE_BUILD_TYPE )
endif()
# This disables the building of the test runner app for FlightCrew
set( NO_TEST_EXE 1 )
if( FORCE_BUNDLED_COPIES OR NOT PCRE_FOUND OR APPLE )
add_subdirectory( Src/pcre )
set( PCRE_LIBRARIES pcre )
set( PCRE_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/Src/pcre ${CMAKE_BINARY_DIR}/Src/pcre )
endif()
add_subdirectory( src/Autopacking )
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deific/AutopackingAndroid.git
git@gitee.com:deific/AutopackingAndroid.git
deific
AutopackingAndroid
AutopackingAndroid
master

搜索帮助