- fixing appveyor Signed-off-by: SSE4 <tomskside@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/appveyor.yml b/appveyor.yml
index f7ee32f..66c00d1 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,17 +5,17 @@ environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- CMAKE_GENERATOR: Visual Studio 12 2013
+ CMAKE_GENERATOR: "Visual Studio 12 2013"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- CMAKE_GENERATOR: Visual Studio 12 2013 Win64
+ CMAKE_GENERATOR: "Visual Studio 12 2013 Win64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- CMAKE_GENERATOR: Visual Studio 14 2015
+ CMAKE_GENERATOR: "Visual Studio 14 2015"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- CMAKE_GENERATOR: Visual Studio 14 2015 Win64
+ CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- CMAKE_GENERATOR: Visual Studio 15 2017
+ CMAKE_GENERATOR: "Visual Studio 15 2017"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- CMAKE_GENERATOR: Visual Studio 15 2017 Win64
+ CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
test_script:
python build.py
diff --git a/build.py b/build.py
index 71877c9..57da36a 100644
--- a/build.py
+++ b/build.py
@@ -6,8 +6,8 @@ import os
def main():
generator = os.environ["CMAKE_GENERATOR"]
- os.system("cmake -G %s" % generator)
- os.system("cmake --build . --config Release")
+ os.system('cmake . -G "%s"' % generator)
+ os.system('cmake --build . --config Release')
if __name__ == '__main__':
main()