Skip to content

Commit 49eee14

Browse files
committed
Merge branch 'develop'
2 parents ea75fbc + e14de3c commit 49eee14

File tree

3 files changed

+32
-12
lines changed

3 files changed

+32
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ install:
1919

2020
script:
2121
- mkdir build && cd build
22-
- cmake .. -DBUILD_EXAMPLE="OFF" -DBUILD_DOCS="ON"
22+
- cmake .. -DBUILD_EXAMPLE="OFF" -DBUILD_DOCS="ON" -DCMAKE_BUILD_TYPE=Release
2323
- make && make check
2424
- cd ..
2525

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 nnarain
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

appveyor.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,28 @@ os: Visual Studio 2015
88
clone_folder: c:\projects\gameboycore
99

1010
environment:
11-
GTEST_ROOT: c:\libs\googletest
11+
VCPKG_TOOLCHAIN: c:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake
12+
13+
configuration:
14+
- Release
1215

1316
install:
14-
- echo "Installing Google Test"
15-
- git clone --depth=1 https://github.com/google/googletest.git c:\tmp\googletest
16-
- cd c:\tmp\googletest
17-
- mkdir build && cd build
18-
- cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=c:\libs\googletest
19-
- msbuild googletest-distribution.sln /verbosity:quiet
20-
- msbuild INSTALL.vcxproj /verbosity:quiet
21-
- set PATH=%PATH%;%GTEST_ROOT%\lib
17+
- cd c:\tools\vcpkg
18+
- vcpkg install gtest
19+
- vcpkg integrate install
2220

2321
before_build:
2422
- cd c:\projects\gameboycore
2523
- mkdir build && cd build
26-
- cmake .. -DBUILD_EXAMPLE="OFF" -DBUILD_DOCS="OFF"
24+
- cmake .. -DBUILD_TESTS="ON" -DBUILD_EXAMPLE="OFF" -DBUILD_DOCS="OFF" -DCMAKE_TOOLCHAIN_FILE=%VCPKG_TOOLCHAIN%
2725

2826
build:
2927
project: c:\projects\gameboycore\build\gameboycore.sln
3028
verbosity: minimal
3129

3230
after_build:
33-
- C:\projects\gameboycore\build\tests\Debug\gameboy_tests.exe
31+
- cd C:\projects\gameboycore\build
32+
- cmake --build . --target check
3433
- msbuild C:\projects\gameboycore\build\PACKAGE.vcxproj /verbosity:quiet
3534

3635
artifacts:

0 commit comments

Comments
 (0)