if platform != 'embedded':
SConscript('tests/unit/SConscript')
- #SConscript('tests/raw/SConscript')
+ SConscript('tests/raw/SConscript')
env = env.Clone()
+env.Tool('x11')
+
env.Prepend(LIBS = [
ws_xlib,
trace,
# TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
graw = env.SharedLibrary(
- target ='graw',
+ target ='#lib/graw',
source = sources,
)
-env.InstallSharedLibrary(graw, version=(1, 0))
-
graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')
Export('graw')
Import('*')
+if 'graw-xlib' not in env['winsys']:
+ Return()
+
env = env.Clone()
env.Prepend(LIBPATH = [graw.dir])
struct pipe_context *pipe;
struct pipe_surface *surf;
struct pipe_framebuffer_state fb;
- struct pipe_texture *tex, templat;
+ struct pipe_resource *tex, templat;
void *window = NULL;
float clear_color[4] = {1,0,1,1};
int i;