-
Notifications
You must be signed in to change notification settings - Fork 332
variables
D. Fober edited this page Apr 4, 2018
·
9 revisions
This section describes all the variables that control the build process. All these variables are defined for cmake but not all of them are exposed by the Makefile.
Name | default | comment |
---|---|---|
FAUSTDIR | faustdir | the project folder name |
IOSDIR | iosdir | the project folder name used by the ioslib target only |
CMAKEOPT | -DCMAKE_BUILD_TYPE=Release | the project build types |
see CMAKE_BUILD_TYPE in cmake documentation | ||
GENERATOR | "Unix Makefiles" | on Unix like systems |
"MSYS Makefiles" | on Windows | |
BACKENDS | backends.cmake | defines the embedded backends |
Name | default | comment |
---|---|---|
UNIVERSAL | off | MacOSX only: control universal binaries generation |
CMAKE_VERBOSE_MAKEFILE | off | Makefiles only: control make verbosity |
INCLUDE_STATIC | off | Include libfaust static library |
INCLUDE_DYNAMIC | off | Include libfaust dynamic library |
INCLUDE_OSC | on | Include Faust OSC static library |
INCLUDE_HTTP | on | Include Faust HTTPD library |
OSCDYNAMIC | off | Include Faust OSC dynamic library |
HTTPDYNAMIC | off | Include Faust HTTPD dynamic library |
These variables are to be passed to cmake using a -DVARNAME=val
option
Name | default | comment |
---|---|---|
BUILDOPT | --config Release | compiles in release mode |
depends on CMAKE_BUILD_TYPE (see CMAKEOPT above) | ||
JOBS | -j 4 | when using make |
| -jobs 4 | _with Xcode projects_
| /maxcpucount:4 | _with MSVC projects_
Name | default | comment |
---|---|---|
DESTDIR | the install destination directory | |
PREFIX | /usr/local | the install destination prefix on Unix |
C:\Program Files | the install destination prefix on Windows | |
note that the variable is translated into CMAKE_INSTALL_PREFIX |