Commit 5c6421d5 authored by Kim Kulling's avatar Kim Kulling
Browse files

C++11: add option to select c++11 config.

No related merge requests found
Showing with 7 additions and 3 deletions
......@@ -44,6 +44,10 @@ OPTION( BUILD_SHARED_LIBS
"Build package with shared libraries."
ON
)
OPTION( ASSIMP_USE_CPP11
"Enables C++11 support. Only disable this for older compilers without any C++11-support."
ON
)
OPTION( ASSIMP_DOUBLE_PRECISION
"Set to ON to enable double precision processing"
OFF
......
......@@ -12,13 +12,13 @@ branches:
platform:
- x86
- x64
#- x64
configuration:
- 14 2015
- 12 2013
- 10 2010 # only works for x86
#- MinGW
#- 10 2010 # only works for x86
init:
- if "%platform%" EQU "x64" ( for %%a in (2008 2010 MinGW) do ( if "%Configuration%"=="%%a" (echo "Skipping unsupported configuration" && exit /b 1 ) ) )
......@@ -30,7 +30,7 @@ install:
build_script:
- cd c:\projects\assimp
- cmake CMakeLists.txt -G "Visual Studio %Configuration%"
- msbuild /m /p:Configuration=Release /p:Platform="Win32" Assimp.sln
- msbuild /m /p:Configuration=Release /p:Platform="Win32" Assimp.sln -DASSIMP_USE_CPP11=OFF
after_build:
- 7z a assimp.7z c:\projects\assimp\bin\release\* c:\projects\assimp\lib\release\*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment