summaryrefslogtreecommitdiffstats
path: root/BuildTools/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/Scripts')
-rwxr-xr-xBuildTools/Scripts/travis/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/BuildTools/Scripts/travis/build.sh b/BuildTools/Scripts/travis/build.sh
index 9f431ec1..d0e7b650 100755
--- a/BuildTools/Scripts/travis/build.sh
+++ b/BuildTools/Scripts/travis/build.sh
@@ -2,15 +2,15 @@ mkdir build
cd build
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
- cmake .. -G "Unix Makefiles" -DDILIGENT_ENABLE_TESTS=TRUE -DCMAKE_BUILD_TYPE=${CONFIG}
+ cmake .. -G "Unix Makefiles" $1 -DCMAKE_BUILD_TYPE=${CONFIG}
cmake --build .
fi
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "$IOS" = "true" ]; then
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../DiligentCore/ios.toolchain.cmake -DIOS_PLATFORM=SIMULATOR64 -DDILIGENT_ENABLE_TESTS=TRUE -G "Xcode"
+ cmake .. -DCMAKE_TOOLCHAIN_FILE=../DiligentCore/ios.toolchain.cmake -DIOS_PLATFORM=SIMULATOR64 $1 -G "Xcode"
else
- cmake .. -DDILIGENT_ENABLE_TESTS=TRUE -G "Xcode"
+ cmake .. $1 -G "Xcode"
fi
xcodebuild -configuration ${CONFIG} | xcpretty
fi