sapling/eden/fs/config/test/CMakeLists.txt
Xavier Deguillard 1d10a0e1a0 config: add the TomlConfigTest.cpp to CMake
Summary: All the tests are passing.

Reviewed By: wez

Differential Revision: D21319018

fbshipit-source-id: 26335f39d39bdc379c00e65942c2cc7c6853089b
2020-05-09 08:46:36 -07:00

31 lines
560 B
CMake

# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
file(GLOB CONFIG_TEST_SRCS "*Test.cpp")
add_executable(
eden_config_test
${CONFIG_TEST_SRCS}
)
target_link_libraries(
eden_config_test
PRIVATE
eden_config
eden_model_git
eden_utils
Folly::folly
${LIBGMOCK_LIBRARIES}
)
if (WIN32)
target_link_libraries(
eden_config_test
PRIVATE
eden_win_utils
)
endif()
gtest_discover_tests(eden_config_test)