forked from stlab/adobe_platform_libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmake_build_all.sh
executable file
·37 lines (29 loc) · 1.99 KB
/
cmake_build_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
set -e
BUILDDIR=${1:-../build_apl}
#
# CLANG
#
# local BOOST
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=OFF TOOLSET=clang++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=OFF TOOLSET=clang++ BUILDMODE=DEBUG sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=OFF TOOLSET=clang++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=OFF TOOLSET=clang++ BUILDMODE=DEBUG sh cmake_build.sh
# system BOOST
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=ON TOOLSET=clang++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=ON TOOLSET=clang++ BUILDMODE=DEBUG sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=ON TOOLSET=clang++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=ON TOOLSET=clang++ BUILDMODE=DEBUG sh cmake_build.sh
#
# GCC
#
# local BOOST
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=OFF TOOLSET=g++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=OFF TOOLSET=g++ BUILDMODE=DEBUG sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=OFF TOOLSET=g++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=OFF TOOLSET=g++ BUILDMODE=DEBUG sh cmake_build.sh
# system BOOST
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=ON TOOLSET=g++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=ON USE_SYSTEM_BOOST=ON TOOLSET=g++ BUILDMODE=DEBUG sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=ON TOOLSET=g++ BUILDMODE=RELEASE sh cmake_build.sh
BUILDDIR=${BUILDDIR} USE_STD_THREAD_LOCAL=OFF USE_SYSTEM_BOOST=ON TOOLSET=g++ BUILDMODE=DEBUG sh cmake_build.sh