mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
56992b099e
* Don't overwrite the CMAKE_MODULE_PATH * Allow linking libsodium statically with MSVC * Allow finding libsodium the normal way on MSVC * Allow using pthreads4w for pthreads on MSVC * Fall back to find_package if pkg_find_module fails * Don't pass incompatible compile flags to MSVC * Also try to find Opus and libvpx using their canonical names * Support building using conan * Allow pkg_use_module to take a list of libraries to look for * Build for Windows on Appveyor using conan
24 lines
500 B
YAML
24 lines
500 B
YAML
---
|
|
cache:
|
|
- '%USERPROFILE%\.conan'
|
|
|
|
install:
|
|
- set PATH=C:\Python38-x64\Scripts;%PATH%
|
|
- py -3 -m pip install conan
|
|
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
|
|
|
before_build:
|
|
- ps: |
|
|
mkdir _build
|
|
cd _build
|
|
conan install ..
|
|
|
|
build_script:
|
|
- conan build .. --configure --build
|
|
|
|
test_script:
|
|
# TODO(iphydf): Tests are unstable and slow on windows at the moment.
|
|
- set CONAN_CPU_COUNT=50
|
|
- conan build .. --test &
|
|
exit 0
|