Files
allwpilib/test/unit/CMakeLists.txt
Peter Johnson b3eed38187 Get build working on Windows (MSVC 2013).
Windows needs static libraries to build the tests as gtest/gmock are built statically.
2015-08-04 01:29:06 -07:00

18 lines
242 B
CMake

file(GLOB SRCS *.cpp)
add_executable(testntcore ${SRCS})
if(MSVC)
target_link_libraries(testntcore
ntcore_static
libgmock
libgtest
)
else()
target_link_libraries(testntcore
ntcore
libgmock
libgtest
)
endif()