summaryrefslogtreecommitdiffstats
path: root/src/compiler/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/SConscript')
-rw-r--r--src/compiler/SConscript24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/compiler/SConscript b/src/compiler/SConscript
new file mode 100644
index 00000000000..8d71b82bee0
--- /dev/null
+++ b/src/compiler/SConscript
@@ -0,0 +1,24 @@
+Import('*')
+
+env = env.Clone()
+
+env.MSVC2013Compat()
+
+env.Prepend(CPPPATH = [
+ '#include',
+ '#src',
+ '#src/mapi',
+ '#src/mesa',
+ '#src/gallium/include',
+ '#src/gallium/auxiliary',
+])
+
+sources = env.ParseSourceList('Makefile.sources', 'LIBCOMPILER_FILES')
+
+compiler = env.ConvenienceLibrary(
+ target = 'compiler',
+ source = sources
+)
+Export('compiler')
+
+SConscript('glsl/SConscript')