mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
progs: Build the wgl examples with scons.
This commit is contained in:
parent
3f17030d9c
commit
1f118c2557
2 changed files with 24 additions and 0 deletions
|
|
@ -8,4 +8,5 @@ SConscript([
|
|||
'vp/SConscript',
|
||||
'vpglsl/SConscript',
|
||||
'fp/SConscript',
|
||||
'wgl/SConscript',
|
||||
])
|
||||
|
|
|
|||
23
progs/wgl/SConscript
Normal file
23
progs/wgl/SConscript
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
Import('*')
|
||||
|
||||
if env['platform'] != 'windows':
|
||||
Return()
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Append(LIBS = [
|
||||
'kernel32',
|
||||
'user32',
|
||||
'gdi32',
|
||||
])
|
||||
|
||||
progs = [
|
||||
'sharedtex_mt',
|
||||
'wglthreads',
|
||||
]
|
||||
|
||||
for prog in progs:
|
||||
env.Program(
|
||||
target = prog,
|
||||
source = prog + '/' + prog + '.c',
|
||||
)
|
||||
Loading…
Add table
Reference in a new issue