CMake: Fix build after nodes changes (including GE linking)
[blender.git] / config / linuxcross-config.py
1 LCGDIR = '../lib/windows'
2 LIBDIR = '${LCGDIR}'
3
4 WITH_BF_VERSE = 'false'
5 BF_VERSE_INCLUDE = "#extern/verse/dist"
6
7 WITH_BF_YAFRAY = 'true'
8
9 BF_PYTHON = LIBDIR + '/python'
10 BF_PYTHON_VERSION = '2.5'
11 BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
12 BF_PYTHON_BINARY = 'python'
13 BF_PYTHON_LIB = 'python25'
14 BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib'
15
16 WITH_BF_OPENAL = 'true'
17 BF_OPENAL = LIBDIR + '/openal'
18 BF_OPENAL_INC = '${BF_OPENAL}/include'
19 BF_OPENAL_LIB = 'openal_static'
20 BF_OPENAL_LIBPATH = '${BF_OPENAL}/lib'
21
22 WITH_BF_SDL = 'true'
23 BF_SDL = LIBDIR + '/sdl'
24 BF_SDL_INC = '${BF_SDL}/include'
25 BF_SDL_LIB = 'SDL'
26 BF_SDL_LIBPATH = '${BF_SDL}/lib'
27
28 BF_PTHREADS = LIBDIR + '/pthreads'
29 BF_PTHREADS_INC = '${BF_PTHREADS}/include'
30 BF_PTHREADS_LIB = 'pthreadGC2'
31 BF_PTHREADS_LIBPATH = '${BF_PTHREADS}/lib'
32
33 WITH_BF_FMOD = 'false'
34 BF_FMOD = LIBDIR + '/fmod'
35
36 WITH_BF_OPENEXR = 'true'
37 BF_OPENEXR = LIBDIR + '/gcc/openexr'
38 BF_OPENEXR_INC = '${BF_OPENEXR}/include ${BF_OPENEXR}/include/OpenEXR'
39 BF_OPENEXR_LIB = ' Half IlmImf Iex '
40 BF_OPENEXR_LIBPATH = '${BF_OPENEXR}/lib'
41
42 WITH_BF_JPEG = 'true'
43 BF_JPEG = LIBDIR + '/jpeg'
44 BF_JPEG_INC = '${BF_JPEG}/include'
45 BF_JPEG_LIB = 'jpeg'
46 BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
47
48 WITH_BF_PNG = 'true'
49 BF_PNG = LIBDIR + '/png'
50 BF_PNG_INC = '${BF_PNG}/include'
51 BF_PNG_LIB = 'png'
52 BF_PNG_LIBPATH = '${BF_PNG}/lib'
53
54 BF_TIFF = LIBDIR + '/tiff'
55 BF_TIFF_INC = '${BF_TIFF}/include'
56
57 WITH_BF_ZLIB = 'true'
58 BF_ZLIB = LIBDIR + '/zlib'
59 BF_ZLIB_INC = '${BF_ZLIB}/include'
60 #BF_ZLIB_LIB = 'z'
61 BF_ZLIB_LIBPATH = '${BF_ZLIB}/lib'
62
63 WITH_BF_INTERNATIONAL = 'true'
64
65 BF_GETTEXT = LIBDIR + '/gettext'
66 BF_GETTEXT_INC = '${BF_GETTEXT}/include'
67 BF_GETTEXT_LIB = 'gnu_gettext'
68 BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
69
70 WITH_BF_FTGL = 'true'
71 BF_FTGL = LIBDIR + '/ftgl'
72 BF_FTGL_INC = '${BF_FTGL}/include'
73 BF_FTGL_LIB = 'extern_ftgl'
74
75 WITH_BF_GAMEENGINE = 'false'
76
77 WITH_BF_ODE = 'true'
78 BF_ODE = LIBDIR + '/ode'
79 BF_ODE_INC = BF_ODE + '/include'
80 BF_ODE_LIB = BF_ODE + '/lib/libode.a'
81
82 WITH_BF_BULLET = 'true'
83 BF_BULLET = '#extern/bullet2/src'
84 BF_BULLET_INC = '${BF_BULLET}'
85 BF_BULLET_LIB = 'extern_bullet'
86
87 BF_SOLID = '#extern/solid'
88 BF_SOLID_INC = '${BF_SOLID}'
89 BF_SOLID_LIB = 'extern_solid'
90
91 # enable freetype2 support for text objects
92 BF_FREETYPE = LIBDIR + '/gcc/freetype'
93 BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
94 BF_FREETYPE_LIB = 'freetype'
95 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
96
97 WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
98 BF_QUICKTIME = '/usr/local'
99 BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
100
101 WITH_BF_ICONV = 'false'
102 BF_ICONV = LIBDIR + "/iconv"
103 BF_ICONV_INC = '${BF_ICONV}/include'
104 BF_ICONV_LIB = 'iconv'
105 BF_ICONV_LIBPATH = '${BF_ICONV}/lib'
106
107 # Mesa Libs should go here if your using them as well....
108 WITH_BF_STATICOPENGL = 'false'
109 BF_OPENGL = 'C:\\MingW'
110 BF_OPENGL_INC = '${BF_OPENGL}/include'
111 BF_OPENGL_LIBINC = '${BF_OPENGL}/lib'
112 BF_OPENGL_LIB = 'opengl32 glu32'
113 BF_OPENGL_LIB_STATIC = [ '${BF_OPENGL}/lib/libGL.a', '${BF_OPENGL}/lib/libGLU.a',
114              '${BF_OPENGL}/lib/libXmu.a', '${BF_OPENGL}/lib/libXext.a',
115              '${BF_OPENGL}/lib/libX11.a', '${BF_OPENGL}/lib/libXi.a' ]
116
117 CC = 'i586-mingw32msvc-gcc'
118 CXX = 'i586-mingw32msvc-g++'
119
120 CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ]
121
122 CPPFLAGS = [ '-DXP_UNIX', '-DWIN32', '-DFREE_WINDOWS' ]
123 CXXFLAGS = ['-pipe', '-mwindows', '-funsigned-char', '-fno-strict-aliasing' ]
124 REL_CFLAGS = [ '-O2' ]
125 REL_CCFLAGS = [ '-O2' ]
126 C_WARN = [ '-Wall' , '-Wno-char-subscripts' ]
127
128 CC_WARN = [ '-Wall' ]
129
130
131 LLIBS = [ '-ldxguid', '-lgdi32', '-lmsvcrt', '-lwinmm', '-lmingw32', '-lm', '-lws2_32', '-lz'] #'-lutil', '-lc', '-lm', '-ldl', '-lpthread' ]
132
133 BF_DEBUG = 'false'
134 BF_DEBUG_FLAGS= ''
135
136 BF_BUILDDIR = '../build/linuxcross'
137 BF_INSTALLDIR='../install/linuxcross'