Advertisement
peterphonic

okscript

Nov 14th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.47 KB | None | 0 0
  1. Import('envService')
  2.  
  3. envService.validate_supported_platform('win32')
  4.  
  5. env = envService.get_env32().Clone()
  6.  
  7. env.USE_ACE()
  8.  
  9. libTgt = env.buildLibrary(envService, ['empty.cpp'])
  10.  
  11. env_prg = envService.get_env32().Clone()
  12. env_prg.Append(CPPFLAGS = '-D_CONSOLE',
  13.                LINKFLAGS = '/SUBSYSTEM:CONSOLE',
  14.                LIBS=libTgt)
  15.  
  16. prg = env_prg.buildProgram('SpeechInterfaceFullTest.exe',  ['SpeechInterfaceFullTest.cpp'])
  17.  
  18.  
  19. Default(env_prg.installInLink(prg))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement