José Fonseca
2c4349aa3a
python: Move the python scons code to a separate tool module.
pirms 17 gadiem
José Fonseca
6410e94b96
python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
pirms 17 gadiem
José Fonseca
fb4361a93d
scons: Fix typo.
pirms 17 gadiem
José Fonseca
18953a8771
scons: Don't force MSVS 2003.
pirms 17 gadiem
José Fonseca
b04aa714af
scons: Put the tool logic in a frontend tool.
More logic can be shared between public and private branches this way.
pirms 17 gadiem
Jonathan White
fe1a2d1fff
egl: assorted fixes for Windows
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
pirms 17 gadiem
José Fonseca
5a67df6d7c
scons: Integrate gdi winsys.
Conditional build of the winsys based on the platform.
pirms 17 gadiem
José Fonseca
ffc6afcdbf
scons: Enable mesa state tracker in all platforms by default.
But only actually build it on some. This results in a better default
scons experience.
pirms 17 gadiem
José Fonseca
b215d7d10c
scons: Play nice with MS Embedded Visual C++.
pirms 17 gadiem
José Fonseca
658f5e7213
scons: A few fixes for building mesa on windows.
pirms 17 gadiem
José Fonseca
a7ce6d3992
scons: More windows userspace fixes.
pirms 17 gadiem
José Fonseca
35460fc91c
scons: Teach scons about user-land windows.
Actually, more like get rid of all our hacks when compiling for
user-land windows.
Only MSVC is supported atm though.
pirms 17 gadiem
José Fonseca
4f17bd270e
scons: Faithfully mimic every WINDDK builtin compiler/linker option.
pirms 18 gadiem
José Fonseca
5aa108214a
scons: Preliminary code for quieting command lines.
pirms 18 gadiem
Michel Dänzer
72c9d4a660
gallium: Only use C++ compiler for linking when using LLVM.
Otherwise, the shared objects needlessly link against the C++ runtime
environment.
pirms 18 gadiem
José Fonseca
9a76798112
scons: Force C++ linkage.
We have some C++ code (LLVM), which must be linked with g++ on certain
platforms. SCons tries to guess when to use g++ by looking to the source files,
but this fails, if the C++ code is not list in the command line, but inside in
the library.
pirms 18 gadiem
José Fonseca
13174c195e
scons: Make command line arguments effective again.
pirms 18 gadiem
José Fonseca
9409043c58
scons: Move common code to a separate file.
pirms 18 gadiem
José Fonseca
67099cd7b9
scons: Autodetect the default machine.
pirms 18 gadiem
José Fonseca
a6044bdf74
Revert "scons: Prefer MSVS 2003 (patch by Mark Mueller)."
This reverts commit 19f6e1a975 .
pirms 18 gadiem
José Fonseca
19f6e1a975
scons: Prefer MSVS 2003 (patch by Mark Mueller).
pirms 18 gadiem
José Fonseca
6d336588ed
scons: Properly generate PDB files on MSVC.
pirms 18 gadiem
José Fonseca
c8b069cc1e
Get more debugging info out of MSVC.
pirms 18 gadiem
José Fonseca
efd336887f
Cleanup scons files.
pirms 18 gadiem
José Fonseca
e70a431c3d
A few more tweaks to get correct WINDDK compilation.
pirms 18 gadiem
José Fonseca
58a3d7dfd9
Revamp scons usage.
pirms 18 gadiem
José Fonseca
26c57d1630
Avoid building problematic module/drivers on windows.
pirms 18 gadiem
José Fonseca
d710a7cfb2
Windows (DDK) compilation support.
It also works when cross compiling with Wine.
pirms 18 gadiem
José Fonseca
b9da3791c9
Remove src/mesa and src/mesa/main from gallium source include paths.
pirms 18 gadiem
José Fonseca
e773a813cf
Initial scons support to build gallivm.
Not yet complete.
pirms 18 gadiem
José Fonseca
687a8b96ef
Standardize on using the pipe/ include prefix.
pirms 18 gadiem
José Fonseca
33ceb6716a
Update scons build for new code layout.
pirms 18 gadiem
José Fonseca
0013796948
gallium: Conditionally use posix libraries/includes.
pirms 18 gadiem
José Fonseca
81b6a801f7
gallium: Update scons instructions. Propagate user environment.
pirms 18 gadiem
José Fonseca
f4192cb4ca
gallium: Make the build output dir depend on the configuration.
The build output dirs mimics the old config names:
build/linux
build/linux-dri
build/linux-dri-x86
build/linux-dri-x86-debug
...
pirms 18 gadiem
José Fonseca
c42e6254cf
gallium: Add SCons as alternative build system for Gallium.
pirms 18 gadiem