summaryrefslogtreecommitdiff
path: root/compiler/bino/CMakeLists.txt
blob: 519eecdc8387b32abd7903747b15c9169071e696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
add_library(bino INTERFACE)
target_include_directories(bino INTERFACE include)

if(NOT ENABLE_TEST)
  return()
endif(NOT ENABLE_TEST)

# Google Test is mandatory for internal testing
nnas_find_package(GTest REQUIRED)

file(GLOB_RECURSE TESTS "tests/*.cpp")

GTest_AddTest(bino_test ${TESTS})
target_link_libraries(bino_test bino)