CMake: Fix test builds on MSVC (#4131)
* Add test dependency missing for MSVC builds. * Appveyor builds tests and tools
This commit is contained in:
parent
7f4324f0e0
commit
fa4844e168
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user