SConscript 274 B

1234567891011121314151617
  1. Import('env')
  2. thread_env = env.Clone()
  3. thread_env.Append(LIBS=[
  4. 'boost_thread'
  5. ])
  6. thread_src = [
  7. 'ThreadPool.cc',
  8. ]
  9. thread_lib = thread_env.StaticLibrary('thread', thread_src)
  10. thread_env.Append(LIBS=thread_lib)
  11. thread_env.Test('ThreadPoolTest', 'ThreadPoolTest.cc')