sapling/eden/fs/win/utils/test/CMakeLists.txt
Puneet Kaushik e9dbb85b8d Fix FileUtilsTest and enable them.
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
2019-11-18 11:31:16 -08:00

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)