提交 75732c46 编写于 作者: Z zhaojiaying01

control compile platform with build.sh script

上级 105919a4
...@@ -3,10 +3,15 @@ project(paddle-mobile) ...@@ -3,10 +3,15 @@ project(paddle-mobile)
add_definitions(-DPADDLE_MOBILE_DEBUG) add_definitions(-DPADDLE_MOBILE_DEBUG)
add_definitions(-DENABLE_EXCEPTION) add_definitions(-DENABLE_EXCEPTION)
#add_definitions(-DARMV7) if(IS_MAC)
#add_definitions(-DARMV8) add_definitions(-DX86)
#add_definitions(-DIOS) elseif(IS_IOS)
add_definitions(-DX86) add_definitions(-DIOS)
elseif(V7)
add_definitions(-DARMV7)
elseif(V8)
add_definitions(-DARMV8)
endif(IS_MAC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_BUILD_TYPE RelWithDebInfo) set(CMAKE_BUILD_TYPE RelWithDebInfo)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册