1
0

CMake: Fix test builds on MSVC (#4131)

* Add test dependency missing for MSVC builds.

* Appveyor builds tests and tools
This commit is contained in:
peterbell10 2018-01-22 09:39:41 +00:00 committed by Alexander Harkness
parent 7f4324f0e0
commit fa4844e168
2 changed files with 4 additions and 1 deletions

View File

@ -1,12 +1,14 @@
version: 1.0.{build}
configuration: Debug
clone_depth: 50
before_build:
- echo %TIME%
- git submodule update --init
- echo %TIME%
- cmake -G "Visual Studio 12" .
- cmake -G "Visual Studio 12" -DSELF_TEST=1 -DBUILD_TOOLS=1 .
- echo %TIME%
build:
project: Cuberite.sln
parallel: true

View File

@ -23,6 +23,7 @@ if (WIN32)
${OSSupport_SRCS}
${OSSupport_HDRS}
)
target_link_libraries(OSSupport PUBLIC fmt::fmt)
endif()
# Define individual tests: