File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,21 @@ build_script:
27
27
# - ECHO %PATH%
28
28
- git submodule update --init --recursive
29
29
30
- # Add mingw-w64 to PATH
31
30
# Remove sh.exe from the path otherwise CMake will complain:
32
31
# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
33
32
# and the MinGW build will not work (the Visual Studio build does not care).
33
+ - SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
34
34
35
+ # Add mingw-w64 to PATH
35
36
- if [%tbs_tools%]==[mingw] (
36
- SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%" &&
37
- SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
37
+ SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"
38
38
)
39
39
- ECHO %PATH%
40
40
- if [%tbs_tools%]==[mingw] (
41
41
MKDIR bin &&
42
42
CD bin &&
43
- cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G "MinGW Makefiles" &&
43
+ # cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G "MinGW Makefiles" &&
44
+ cmake .. -G "MinGW Makefiles" &&
44
45
mingw32-make
45
46
)
46
47
- if [%tbs_tools%]==[msvcDISABLE] (
You can’t perform that action at this time.
0 commit comments