progs: Build the wgl examples with scons.
This commit is contained in:
@@ -8,4 +8,5 @@ SConscript([
|
|||||||
'vp/SConscript',
|
'vp/SConscript',
|
||||||
'vpglsl/SConscript',
|
'vpglsl/SConscript',
|
||||||
'fp/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',
|
||||||
|
)
|
Reference in New Issue
Block a user