mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
1d10a0e1a0
Summary: All the tests are passing. Reviewed By: wez Differential Revision: D21319018 fbshipit-source-id: 26335f39d39bdc379c00e65942c2cc7c6853089b
31 lines
560 B
CMake
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)
|