use the cmake and ctest to drive the appveyor build

This commit is contained in:
Mario Werner
2016-02-01 10:22:47 +01:00
parent d3fe82c55b
commit 0a4acc9656
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -115,6 +115,7 @@ add_test(compile-test ${CMAKE_CTEST_COMMAND}
# test if the targets are findable from the build directory
add_test(find-package-test ${CMAKE_CTEST_COMMAND}
-C ${CMAKE_BUILD_TYPE}
--build-and-test
"${CMAKE_CURRENT_SOURCE_DIR}/find-package-test"
"${CMAKE_CURRENT_BINARY_DIR}/find-package-test"