1
0
Fork 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} version: 1.0.{build}
configuration: Debug configuration: Debug
clone_depth: 50 clone_depth: 50
before_build: before_build:
- echo %TIME% - echo %TIME%
- git submodule update --init - git submodule update --init
- echo %TIME% - echo %TIME%
- cmake -G "Visual Studio 12" . - cmake -G "Visual Studio 12" -DSELF_TEST=1 -DBUILD_TOOLS=1 .
- echo %TIME% - echo %TIME%
build: build:
project: Cuberite.sln project: Cuberite.sln
parallel: true parallel: true

View File

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