|
|
namespace = 'tests'
|
|
|
|
import craftr from 'craftr'
|
|
import cxx from '@craftr/cxx'
|
|
import '@craftr/googlebenchmark'
|
|
import '@craftr/googletest'
|
|
|
|
cxx.binary(
|
|
name = 'tests',
|
|
deps = [
|
|
'//@craftr/googlebenchmark:googlebenchmark',
|
|
'//@craftr/googletest:googletest'
|
|
],
|
|
srcs = craftr.glob('*.cpp'),
|
|
cpp_std = 'c++11',
|
|
includes = [craftr.localpath('../include')]
|
|
)
|
|
|
|
cxx.run(':tests')
|