Skip to content

Commit

Permalink
Initial appveyor.yml config
Browse files Browse the repository at this point in the history
  • Loading branch information
nigels-com committed Jun 17, 2019
1 parent 87522da commit 093edc7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: '{build}'

image: Visual Studio 2019

environment:
matrix:
- COMPILER: "Visual Studio 16 2019"
ARCH: "Win32"
GLUT_LIBRARY: "../../glut/lib/glut32.lib"
- COMPILER: "Visual Studio 16 2019"
ARCH: "x64"
GLUT_LIBRARY: "../../glut/lib.x64/glut32.lib"

configuration:
- Debug
- Release

build_script:
# GLUT headers and libraries for Windows
- cd ..
- mkdir glut
- cd glut
- curl http://www.nigels.com/download/NvidiaCgGLUT_Windows.zip --output glut.zip
- unzip glut.zip
- cd ../glui

# Build GLUI
- mkdir build
- cd build
- cmake
-G "%COMPILER%"
-A "%ARCH%"
-DGLUT_INCLUDE_DIR=../../glut/include
-DGLUT_glut_LIBRARY_DEBUG="%GLUT_LIBRARY%"
-DGLUT_glut_LIBRARY_RELEASE="%GLUT_LIBRARY%"
..
- cmake --build . --config %CONFIGURATION%
- cd ..

0 comments on commit 093edc7

Please sign in to comment.