-
Notifications
You must be signed in to change notification settings - Fork 77
/
build_flags.ps1
53 lines (41 loc) · 1.78 KB
/
build_flags.ps1
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This file is part of openSMILE.
#
# Copyright (c) audEERING. All rights reserved.
# See the file COPYING for details on license terms.
$buildFlags = @(
# libsvm and dependent components (cLibsvmLiveSink)
"-DBUILD_LIBSVM"
# LSTM RNN components
"-DBUILD_RNN"
# cSvmSink
"-DBUILD_SVMSMO"
)
$cmakeFlags = @(
# switches between release and debug builds
"-DCMAKE_BUILD_TYPE=Release"
# use Clang compiler. Comment out to use system-default C and C++ compilers.
# Leave commented out when building for Android, as the NDK version of Clang is required.
#"-DCMAKE_C_COMPILER=clang" "-DCMAKE_CXX_COMPILER=clang++"
# to use vcpkg for external libraries, uncomment and adapt the path to your vcpkg root folder
#"-DCMAKE_TOOLCHAIN_FILE=...\vcpkg\scripts\buildsystems\vcpkg.cmake"
# controls whether to build and link to libopensmile as static or shared library
# static builds are preferred unless you need openSMILE plugins
"-DSTATIC_LINK=ON"
# tune compiler optimizations to the processor of this machine.
# This ensures that openSMILE runs with optimal performance on the machine it was
# compiled on but it may not run at all on other machines.
# Disable if the compiled binary needs to be portable.
"-DMARCH_NATIVE=OFF"
# whether to compile with PortAudio support
"-DWITH_PORTAUDIO=OFF"
# whether to compile with FFmpeg support
# 1. download ffmpeg source distribution
# 2. run: mkdir build ; cd build
# ../configure --enable-shared --disable-static
# make ; sudo make install
"-DWITH_FFMPEG=OFF"
# whether to compile with OpenCV support
"-DWITH_OPENCV=OFF"
# whether to compile with OpenSL ES support (only applies when building for Android)
"-DWITH_OPENSLES=ON"
)