Advertisement
peterphonic

window.sc

Jun 26th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. Import('envService')
  2. Import('parentEnv')
  3.  
  4. envService.validate_supported_platform('posix')
  5.  
  6. env = parentEnv.Clone()
  7.  
  8.  
  9. libraries = env.getLibs(envService,[
  10.                          'gui/graphicsWindow/include'])
  11.  
  12. env.USE_GRAPHICS_WINDOW()
  13. env.Append(CPPPATH=(env['VARIANTDIRROOT'] + '/gui/graphicsWindow/window'))
  14. libTgt = env.buildLibrary(envService, Glob('*.c*'))
  15.  
  16. #Force the generation of gwversion.h
  17. env.Depends(libTgt, libraries)
  18.  
  19. Return('libTgt')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement