mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
e9dbb85b8d
Summary: We had linking issues with the Boost while compiling with getdeps. I have moved the tests to use std::filesystem instead. Reviewed By: wez Differential Revision: D18195608 fbshipit-source-id: 32213a9b22105869eef78724bb3e583c3fd8e708
25 lines
593 B
CMake
25 lines
593 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 WIN_UTILS_TEST_SRCS "*Test.cpp")
|
|
|
|
# This is trying to link the executable will both static and dynamic version of
|
|
# Boost, which fails the build. Taking out FileUtilsTest.cpp until we figure
|
|
# that out.
|
|
|
|
add_executable(
|
|
eden_win_utils_test
|
|
${WIN_UTILS_TEST_SRCS}
|
|
)
|
|
|
|
target_link_libraries(
|
|
eden_win_utils_test
|
|
PRIVATE
|
|
eden_win_utils
|
|
${LIBGMOCK_LIBRARIES}
|
|
)
|
|
|
|
gtest_discover_tests(eden_win_utils_test)
|