Advertisement
Guest User

SCons build script in 'somelib' directory

a guest
Mar 15th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. environment = Environment()
  4.  
  5. compile = environment.Program('example', ['main.cpp'])
  6.  
  7. run = environment.Command(
  8.     source = 'example',
  9.     action = './example --random-unused-parameter',
  10.     target = 'example.out'
  11. )
  12.  
  13. Depends(run, compile)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement