Skip to content
Snippets Groups Projects
Commit af45ae23 authored by Lava Block's avatar Lava Block
Browse files

CMake 3.20+

parent bda8d1b3
Branches
No related tags found
No related merge requests found
...@@ -9,9 +9,18 @@ matrix: ...@@ -9,9 +9,18 @@ matrix:
fast_finish: true fast_finish: true
install: install:
- git submodule update --init --recursive - git submodule update --init --recursive
- mkdir C:\projects\deps
- cd C:\projects\deps
- appveyor DownloadFile https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-windows-x86_64.zip -FileName cmake.zip
- 7z x cmake.zip -oC:\projects\deps > nul
- move C:\projects\deps\cmake-* C:\projects\deps\cmake
- rm cmake.zip
- set PATH=C:\projects\deps\cmake\bin;%PATH%
- cd C:\projects\liblava
before_build: before_build:
- mkdir build - mkdir build
- cd build - cd build
- cmake --version
- cmake -G "Visual Studio 16 2019" -A x64 .. - cmake -G "Visual Studio 16 2019" -A x64 ..
build: build:
project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln
......
...@@ -24,9 +24,9 @@ before_install: ...@@ -24,9 +24,9 @@ before_install:
install: install:
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR} - mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
- travis_retry wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2-Linux-x86_64.tar.gz - travis_retry wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-linux-x86_64.tar.gz
- tar -xvf cmake-3.16.2-Linux-x86_64.tar.gz > /dev/null - tar -xvf cmake-3.20.1-linux-x86_64.tar.gz > /dev/null
- mv cmake-3.16.2-Linux-x86_64 cmake-install - mv cmake-3.20.1-linux-x86_64 cmake-install
- PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH - PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# copyright : Copyright (c) 2018-present, Lava Block OÜ and contributors # copyright : Copyright (c) 2018-present, Lava Block OÜ and contributors
# license : MIT; see accompanying LICENSE file # license : MIT; see accompanying LICENSE file
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.20)
project(liblava VERSION 0.6.1 LANGUAGES C CXX) project(liblava VERSION 0.6.1 LANGUAGES C CXX)
......
...@@ -376,7 +376,7 @@ int main(int argc, char* argv[]) { ...@@ -376,7 +376,7 @@ int main(int argc, char* argv[]) {
## Requirements ## Requirements
* **C++20** compatible compiler * **C++20** compatible compiler
* CMake **3.15+** * CMake **3.20+**
* [Vulkan SDK](https://vulkan.lunarg.com) * [Vulkan SDK](https://vulkan.lunarg.com)
<br /> <br />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment