about summary refs log blame commit diff
path: root/third_party/nix/src/tests/CMakeLists.txt
blob: b21b194630c1b08a219d4c3f8df3ae832ae4f000 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                             









                                    







                                              








                                                
# -*- mode: cmake; -*-
include_directories(${PROJECT_BINARY_DIR}) # for 'generated/'

add_executable(attr-set attr-set.cc)
target_link_libraries(attr-set
  nixexpr
  rapidcheck
  rapidcheck_gtest
  GTest::gtest_main
)

gtest_discover_tests(attr-set)

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)