Partial revert, build only 64bit targets
parent
c2f22be99a
commit
c1f6683b20
|
@ -46,7 +46,7 @@ endif()
|
||||||
|
|
||||||
OPTION( BUILD_SHARED_LIBS
|
OPTION( BUILD_SHARED_LIBS
|
||||||
"Build package with shared libraries."
|
"Build package with shared libraries."
|
||||||
OFF
|
ON
|
||||||
)
|
)
|
||||||
|
|
||||||
OPTION( BUILD_FRAMEWORK
|
OPTION( BUILD_FRAMEWORK
|
||||||
|
@ -433,11 +433,11 @@ IF ( ASSIMP_BUILD_ASSIMP_TOOLS )
|
||||||
# Why here? Maybe user do not want Qt viewer and have no Qt.
|
# Why here? Maybe user do not want Qt viewer and have no Qt.
|
||||||
# Why assimp_qt_viewer/CMakeLists.txt still contain similar check?
|
# Why assimp_qt_viewer/CMakeLists.txt still contain similar check?
|
||||||
# Because viewer can be build independently of Assimp.
|
# Because viewer can be build independently of Assimp.
|
||||||
FIND_PACKAGE(OpenGL QUIET)
|
|
||||||
IF (NOT IOS)
|
IF (NOT IOS)
|
||||||
FIND_PACKAGE(Qt5Widgets QUIET)
|
FIND_PACKAGE(Qt5Widgets QUIET)
|
||||||
ENDIF (NOT IOS)
|
ENDIF (NOT IOS)
|
||||||
FIND_PACKAGE(DevIL QUIET)
|
FIND_PACKAGE(DevIL QUIET)
|
||||||
|
FIND_PACKAGE(OpenGL QUIET)
|
||||||
IF ( Qt5Widgets_FOUND AND IL_FOUND AND OPENGL_FOUND)
|
IF ( Qt5Widgets_FOUND AND IL_FOUND AND OPENGL_FOUND)
|
||||||
ADD_SUBDIRECTORY( tools/assimp_qt_viewer/ )
|
ADD_SUBDIRECTORY( tools/assimp_qt_viewer/ )
|
||||||
ELSE()
|
ELSE()
|
||||||
|
|
|
@ -9,6 +9,12 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
SET (CC "${DEVROOT}/usr/bin/clang")
|
||||||
|
SET (CXX "${DEVROOT}/usr/bin/clang++")
|
||||||
|
|
||||||
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
|
@ -9,6 +9,12 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
SET (CC "${DEVROOT}/usr/bin/clang")
|
||||||
|
SET (CXX "${DEVROOT}/usr/bin/clang++")
|
||||||
|
|
||||||
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
|
@ -9,6 +9,12 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
SET (CC "${DEVROOT}/usr/bin/clang")
|
||||||
|
SET (CXX "${DEVROOT}/usr/bin/clang++")
|
||||||
|
|
||||||
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
|
@ -9,6 +9,12 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
SET (CC "${DEVROOT}/usr/bin/clang")
|
||||||
|
SET (CXX "${DEVROOT}/usr/bin/clang++")
|
||||||
|
|
||||||
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
|
@ -9,6 +9,12 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
SET (CC "${DEVROOT}/usr/bin/clang")
|
||||||
|
SET (CXX "${DEVROOT}/usr/bin/clang++")
|
||||||
|
|
||||||
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
|
@ -9,6 +9,12 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
SET (CC "${DEVROOT}/usr/bin/clang")
|
||||||
|
SET (CXX "${DEVROOT}/usr/bin/clang++")
|
||||||
|
|
||||||
|
CMAKE_FORCE_C_COMPILER (${CC} LLVM)
|
||||||
|
CMAKE_FORCE_CXX_COMPILER (${CXX} LLVM)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||||
|
|
|
@ -24,9 +24,10 @@ IOS_SDK_TARGET=$MIN_IOS_VERSION
|
||||||
XCODE_ROOT_DIR=$(xcode-select --print-path)
|
XCODE_ROOT_DIR=$(xcode-select --print-path)
|
||||||
TOOLCHAIN=$XCODE_ROOT_DIR/Toolchains/XcodeDefault.xctoolchain
|
TOOLCHAIN=$XCODE_ROOT_DIR/Toolchains/XcodeDefault.xctoolchain
|
||||||
|
|
||||||
BUILD_ARCHS_DEVICE="armv7 arm64"
|
BUILD_ARCHS_DEVICE="arm64"
|
||||||
BUILD_ARCHS_SIMULATOR="x86_64 i386"
|
BUILD_ARCHS_SIMULATOR="x86_64"
|
||||||
BUILD_ARCHS_ALL=(armv7 arm64 x86_64 i386)
|
BUILD_ARCHS_ALL=(arm64 x86_64)
|
||||||
|
#BUILD_ARCHS_ALL=(armv7 arm64 x86_64 i386)
|
||||||
|
|
||||||
CPP_DEV_TARGET_LIST=(miphoneos-version-min mios-simulator-version-min)
|
CPP_DEV_TARGET_LIST=(miphoneos-version-min mios-simulator-version-min)
|
||||||
CPP_DEV_TARGET=
|
CPP_DEV_TARGET=
|
||||||
|
|
Loading…
Reference in New Issue