File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ jobs :
2+ - job : Linux
3+ pool :
4+ vmImage : ' Ubuntu 16.04'
5+
6+ steps :
7+ - script : sudo apt-get install libjack-dev libasound2-dev ninja-build
8+ displayName : ' Install dependencies'
9+
10+ - script : cmake -G Ninja .
11+ displayName : ' Generate build system with cmake'
12+
13+ - script : ninja
14+ displayName : ' Build'
15+
16+ - job : Windows
17+ pool :
18+ vmImage : ' vs2017-win2016'
19+
20+ steps :
21+ - script : choco install -y jom
22+ displayName : ' Install dependencies'
23+
24+ - script : |
25+ call "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/Common7/Tools/VsDevCmd.bat"
26+ cmake -G "NMake Makefiles JOM" .
27+ displayName: 'Generate build system with cmake'
28+
29+ - script : jom
30+ displayName : ' Build'
31+
32+ - job : macOS
33+ pool :
34+ vmImage : ' macOS-10.13'
35+
36+ steps :
37+ - script : brew install ninja
38+ displayName : ' Install dependencies'
39+
40+ - script : cmake -G Ninja .
41+ displayName : ' Generate build system with cmake'
42+
43+ - script : ninja
44+ displayName : ' Build'
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ find_path(DSOUND_INCLUDE_DIR dsound.h
1212 "$ENV{PROGRAMFILES} /Microsoft DirectX SDK/Include"
1313 "$ENV{PROGRAMFILES} /Microsoft DirectX SDK (August 2008)/Include"
1414 "$ENV{PROGRAMFILES} /Microsoft DirectX SDK (June 2010)/Include"
15+ "$ENV{WINDOWSSDKDIR} /Include/$ENV{WINDOWSSDKLIBVERSION} /um"
1516 DOC "The directory where dsound.h resides"
1617)
1718mark_as_advanced (DSOUND_INCLUDE_DIR )
@@ -22,6 +23,7 @@ find_library(DSOUND_LIBRARY dsound
2223 "$ENV{PROGRAMFILES} /Microsoft DirectX SDK/Lib/x86"
2324 "$ENV{PROGRAMFILES} /Microsoft DirectX SDK (August 2008)/Lib/x86"
2425 "$ENV{PROGRAMFILES} /Microsoft DirectX SDK (June 2010)/Lib/x86"
26+ "$ENV{WINDOWSSDKDIR} /Lib/$ENV{WINDOWSSDKLIBVERSION} /um/x86"
2527 DOC "The directory where the dsound library resides"
2628)
2729mark_as_advanced (DSOUND_LIBRARY )
You can’t perform that action at this time.
0 commit comments