about summary refs log tree commit diff
path: root/third_party/nix/src/tests/CMakeLists.txt
blob: 81ccf95b7840a690b5fbe25801fd45293a4a051a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: cmake; -*-
include_directories(${PROJECT_BINARY_DIR}) # for 'generated/'

add_executable(value-to-json value-to-json.cc)
target_link_libraries(value-to-json
  nixexpr
  nixstore
  GTest::gtest_main
)

gtest_discover_tests(value-to-json)

add_executable(language-tests language-tests.cc)
target_link_libraries(language-tests
  nixexpr
  nixstore
  GTest::gtest_main
)

gtest_discover_tests(language-tests)