「Dev:2.4/Doc/Building Blender/Linux/Scons Options」の版間の差分

提供: wiki
移動先: 案内検索
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 02:46時点における最新版

Note: default and actual values are examples for linux platforms

Python

BF_PYTHON: base path for python
    default: /usr
    actual: /usr

BF_PYTHON_VERSION: Python version to use
    default: 2.4
    actual: 2.4

BF_PYTHON_INC: include path for Python headers
    default: 
    actual: /usr/include/python2.4

BF_PYTHON_BINARY: Path to the Python interpreter
    default: 
    actual: /usr/bin/python2.4

BF_PYTHON_LIB: Path to the Python library
    default: 
    actual: python2.4

Openal

WITH_BF_OPENAL: Use OpenAL if true (yes|no)
    default: true
    actual: 1

BF_OPENAL: base path for OpenAL
    default: /usr
    actual: /usr

BF_OPENAL_INC: include path for python headers
    default: ${BF_OPENAL}/include
    actual: /usr/include

BF_OPENAL_LIB: Path to OpenAL library
    default: ${BF_OPENAL}/lib/libopenal.a
    actual: openal

SDL

WITH_BF_SDL: Use SDL if true (yes|no)
    default: true
    actual: 1

BF_SDL: SDL base path
    default: /usr
    actual: /usr

BF_SDL_INC: SDL include path
    default: 
    actual: /usr/include/SDL

BF_SDL_LIB: SDL library
    default: 
    actual: SDL

FMOD

WITH_BF_FMOD: Use FMOD if true (yes|no)
    default: false
    actual: 0

JPEG

WITH_BF_JPEG: Use JPEG if true (yes|no)
    default: true
    actual: 1

BF_JPEG: JPEG base path
    default: /usr
    actual: /usr

BF_JPEG_INC: JPEG include path
    default: ${BF_JPEG}/include
    actual: /usr/include

BF_JPEG_LIB: JPEG library
    default: ${BF_JPEG}/lib/libjpeg.a
    actual: jpeg

PNG

WITH_BF_PNG: Use PNG if true (yes|no)
    default: true
    actual: 1

BF_PNG: PNG base path
    default: /usr
    actual: /usr

BF_PNG_INC: PNG include path
    default: ${BF_PNG}/include
    actual: /usr/include

BF_PNG_LIB: PNG library
    default: ${BF_PNG}/lib/libpng.a
    actual: png

TIFF

WITH_BF_TIFF: Use TIFF if true (yes|no)
    default: true
    actual: 1

BF_TIFF: TIFF base path
    default: /usr
    actual: /usr

BF_TIFF_INC: TIFF include path
    default: ${BF_TIFF}/include
    actual: /usr/include

BF_TIFF_LIB: TIFF library
    default: ${BF_TIFF}/lib/libtiff.so
    actual: tiff

Zlib

WITH_BF_ZLIB: Use ZLib if true (yes|no)
    default: true
    actual: 1

BF_ZLIB: ZLib base path
    default: /usr
    actual: /usr

BF_ZLIB_INC: ZLib include path
    default: ${BF_ZLIB}/include
    actual: /usr/include

BF_ZLIB_LIB: ZLib library
    default: ${BF_ZLIB}/lib/libz.a
    actual: z

Gettext

WITH_BF_GETTEXT: Use gettext if true (yes|no)
    default: true
    actual: 1

BF_GETTEXT: gettext base path
    default: /usr
    actual: /usr

BF_GETTEXT_INC: gettext include path
    default: ${BF_GETTEXT}/include
    actual: /usr/include

BF_GETTEXT_LIB: gettext library
    default: ${BF_GETTEXT}/lib/libintl.a
    actual: /usr/lib/libintl.a

Game Engine

WITH_BF_GAMEENGINE: Build with gameengine (yes|no)
    default: true
    actual: 1

ODE Physics Engine

WITH_BF_ODE: Use ODE if true (yes|no)
    default: true
    actual: 0

BF_ODE: ODE base path
    default: ../lib/linux2/ode
    actual: ../lib/linux2/ode

BF_ODE_INC: ODE include path
    default: 
    actual: ../lib/linux2/ode/include

BF_ODE_LIB: ODE library
    default: 
    actual: ../lib/linux2/ode/lib/libode.a

Bullet Physics Engine

WITH_BF_BULLET: Use Bullet if true (yes|no)
    default: true
    actual: 1

BF_BULLET: Bullet base dir
    default: 
    actual: #extern/bullet

BF_BULLET_INC: Bullet include path
    default: 
    actual: #extern/bullet/LinearMath #extern/bullet/BulletDynamics #extern/bullet/Bullet

BF_BULLET_LIB: Bullet library
    default: 
    actual: extern_bullet

BF_SOLID: Solid base dir
    default: #/extern/solid
    actual: #extern/solid

Solid

BF_SOLID_INC: Solid include path
    default: ${BF_SOLID}/include ${BF_SOLID}
    actual: #extern/solid/include #extern/solid

Freetype

WITH_BF_FREETYPE: Use Freetype if true (yes|no)
    default: true
    actual: 1

BF_FREETYPE: Freetype base path
    default: 
    actual: /usr

BF_FREETYPE_INC: Freetype include path
    default: 
    actual: /usr/include /usr/include/freetype2

BF_FREETYPE_LIB: Freetype library
    default: 
    actual: freetype

Quicktime

WITH_BF_QUICKTIME: Use QuickTime if true (yes|no)
    default: false
    actual: 0

BF_QUICKTIME: QuickTime base path
    default: 
    actual: /usr/local

BF_QUICKTIME_INC: QuickTime include path
    default: 
    actual: /usr/local/include

BF_QUICKTIME_LIB: QuickTime library
    default: 
    actual:

OpenGL

WITH_BF_OPENGL: Use MESA if true (yes|no)
    default: true
    actual: 1

BF_OPENGL: OpenGL base path
    default: 
    actual: /usr/X11R6

BF_OPENGL_INC: OpenGL include path
    default: 
    actual: /usr/X11R6/include

BF_OPENGL_LIB: OpenGL libraries
    default: 
    actual: GL GLU Xmu Xext X11 Xi

BF_OPENGL_LIB_STATIC: OpenGL static libraries
    default: 
    actual: /usr/X11R6/lib/libGL.a /usr/X11R6/lib/libGLU.a /usr/X11R6/lib/libXmu.a /usr/X11R6/lib/libXext.a /usr/X11R6/lib/libX11.a /usr/X11R6/lib/libXi.a

FTGL

WITH_BF_FTGL: Use FTGL if true (yes|no)
    default: true
    actual: 1

BF_FTGL: FTGL base path
    default: 
    actual: #extern/bFTGL

BF_FTGL_INC: FTGL include path
    default: 
    actual: #extern/bFTGL/include

BF_FTGL_LIB: FTGL libraries
    default: 
    actual: extern_ftgl

Compiler Flags

CFLAGS: C-compiler flags
    default: 
    actual: -pipe -fPIC -funsigned-char -fno-strict-aliasing

CCFLAGS: C++-compiler flags
    default: 
    actual: -pipe -fPIC -funsigned-char -fno-strict-aliasing

CPPFLAGS: Defines
    default: 
    actual: -DXP_UNIX

REL_CFLAGS: C release flags
    default: 
    actual: -O2

REL_CCFLAGS: C++ release flags
    default: 
    actual: -O2

C_WARN: C warning flags
    default: 
    actual: -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls

CC_WARN: C++ warning flags
    default: 
    actual: -Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wredundant-decls -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wsynth

LLIBS: Platform libs
    default: 
    actual: util c m dl pthread stdc++

Profile flags

BF_PROFILE: Add profiling information if true (yes|no)
    default: false
    actual: 0

BF_PROFILE_FLAGS: Profiling flags
    default: 
    actual: -pg

Debug flags

BF_DEBUG: Add debug flags if true (yes|no)
    default: false
    actual: 0

BF_DEBUG_FLAGS: Debug flags
    default: 
    actual: -g