You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
394 B

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')