More flexible configuration for 3dmouse library for scons.

Needed for release environment and buildbot.

Buildbot rules would be updated with next commit after
environment will be tested.
This commit is contained in:
Sergey Sharybin
2011-08-02 17:59:43 +00:00
parent 6a37c24115
commit 13eefec9dd
4 changed files with 24 additions and 2 deletions

View File

@@ -438,6 +438,12 @@ def read_opts(env, cfg, args):
(BoolVariable('WITH_BF_NOBLENDER', 'Do not build blender if true', False)),
(BoolVariable('WITH_BF_3DMOUSE', 'Build blender with support of 3D mouses', False)),
(BoolVariable('WITH_BF_STATIC3DMOUSE', 'Staticly link to 3d mouse library', False)),
('BF_3DMOUSE', '3d mouse library base path', ''),
('BF_3DMOUSE_INC', '3d mouse library include path', ''),
('BF_3DMOUSE_LIB', '3d mouse library', ''),
('BF_3DMOUSE_LIBPATH', '3d mouse library path', ''),
('BF_3DMOUSE_LIB_STATIC', '3d mouse static library', ''),
('CFLAGS', 'C only flags', []),
('CCFLAGS', 'Generic C and C++ flags', []),