(AppVeyor) Trying to run unit tests properly from windows
This commit is contained in:
parent
3f53588de7
commit
f9fab45163
@ -8,7 +8,10 @@ include(CheckFunctionExists)
|
||||
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/bin)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
set(CMAKE_MACOSX_RPATH ON)
|
||||
if (APPLE)
|
||||
|
||||
@ -25,7 +25,9 @@ build_script:
|
||||
- cmd: cmake -G "Visual Studio 14 2015 Win64" -T "host=x64" -DEXIV2_ENABLE_XMP=ON -DEXIV2_ENABLE_NLS=OFF -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DCMAKE_INSTALL_PREFIX=install ..
|
||||
- cmd: cmake --build . --config Release
|
||||
- cmd: cmake --build . --target install
|
||||
- cmd: bin/Release/unit_tests
|
||||
- cmd: cd bin
|
||||
- cmd: dir
|
||||
- cmd: unit_tests.exe
|
||||
|
||||
cache:
|
||||
- envs # Conan installation
|
||||
|
||||
Loading…
Reference in New Issue
Block a user