diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-30 12:11:22 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-04-05 20:45:22 +0300 |
commit | 9dec0cff5b6a7b8ea68c43fc34864da84d5c04ee (patch) | |
tree | 6f06e6d8d9b71dd2a159183d2709abc6e5b03bfe | |
parent | AppVeyor: lint the config (diff) | |
download | aes-tools-9dec0cff5b6a7b8ea68c43fc34864da84d5c04ee.tar.gz aes-tools-9dec0cff5b6a7b8ea68c43fc34864da84d5c04ee.zip |
update cmake-common
-rw-r--r-- | .appveyor.yml | 5 | ||||
-rw-r--r-- | .travis.yml | 15 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
m--------- | cmake | 0 |
4 files changed, 10 insertions, 12 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 10ab20d..838bd02 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -31,12 +31,13 @@ install: - git submodule update --init --recursive build_script: + - cd cmake - >- - "%python_exe%" cmake\cmake\build\ci\appveyor.py + "%python_exe%" -m project.ci.appveyor.cmake --install "%install_dir%" + --boost "%appveyor_boost_root%" -- -D "AES_TOOLS_ASM=%use_asm%" - -D "BOOST_ROOT=%appveyor_boost_root%" after_build: - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%" diff --git a/.travis.yml b/.travis.yml index ecb2788..967bbf5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ addons: env: global: - - travis_boost_version=1.71.0 + - boost_version=1.71.0 jobs: - configuration=Debug platform=x86 - configuration=Release platform=x86 @@ -21,20 +21,17 @@ jobs: fast_finish: true before_script: + - cd cmake - >- - ./cmake/boost/build/ci/travis.py - --link static + python3 -m project.ci.travis.boost + --mingw -- - --user-config="$TRAVIS_BUILD_DIR/cmake/boost/toolchains/mingw-w64-$platform.jam" --with-filesystem --with-program_options --with-system script: - >- - ./cmake/cmake/build/ci/travis.py + python3 -m project.ci.travis.cmake --install "$HOME/install" - -- - -D "CMAKE_TOOLCHAIN_FILE=cmake/cmake/toolchains/mingw-w64-$platform.cmake" - -D "BOOST_ROOT=$HOME/boost" - -D "BOOST_LIBRARYDIR=$HOME/boost/stage/$platform/$configuration/lib" + --mingw diff --git a/CMakeLists.txt b/CMakeLists.txt index d581426..232aeb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5) # for Boost::* imported targets project(aes_tools C CXX) -include(cmake/cmake/common.cmake) +include(cmake/common.cmake) add_subdirectory(aes) add_subdirectory(aesxx) diff --git a/cmake b/cmake -Subproject e982dcf32672453f6ac22d59325260504cb130e +Subproject 0f474b66fe1d6cfdb286deb1ef19e2b37e60d4e |