From 9924b11ff84ae1e2f247d8cd81a66c00f5569f8b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 9 Jan 2020 02:58:14 +0300 Subject: update cmake-common --- .travis.yml | 33 ++++++++++++++++----------------- CMakeLists.txt | 2 +- appveyor.yml | 35 +++++++++++++++++++++++++++++------ cmake | 2 +- 4 files changed, 47 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index fe372b2..7047131 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,22 +18,21 @@ env: - configuration=Release platform=x64 before_script: - - |- - ./cmake/ci/boost/build_travis.py \ - -- \ - link=static \ - target-os=windows \ - --user-config="$TRAVIS_BUILD_DIR/cmake/toolchains/boost/mingw-w64-$platform.jam" \ - --with-filesystem \ - --with-program_options \ - --with-system + - >- + ./cmake/boost/build/ci/travis.py + --link static + -- + target-os=windows + --user-config="$TRAVIS_BUILD_DIR/cmake/boost/toolchains/mingw-w64-$platform.jam" + --with-filesystem + --with-program_options + --with-system script: - - |- - ./cmake/ci/build_travis.py \ - --install "$HOME/install" \ - -- \ - -D "BOOST_ROOT=$HOME/boost_1_71_0" \ - -D "BOOST_LIBRARYDIR=$HOME/boost_1_71_0/stage/$platform/$configuration/lib" \ - -D "CMAKE_TOOLCHAIN_FILE=cmake/toolchains/mingw-w64-$platform.cmake" \ - -D CMAKE_SYSTEM_NAME=Windows + - >- + ./cmake/cmake/build/ci/travis.py + --install "$HOME/install" + -- + -D "CMAKE_TOOLCHAIN_FILE=cmake/cmake/toolchains/mingw-w64-$platform.cmake" + -D "BOOST_ROOT=$HOME/boost_1_71_0" + -D "BOOST_LIBRARYDIR=$HOME/boost_1_71_0/stage/$platform/$configuration/lib" diff --git a/CMakeLists.txt b/CMakeLists.txt index 232aeb7..d581426 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/common.cmake) +include(cmake/cmake/common.cmake) add_subdirectory(aes) add_subdirectory(aesxx) diff --git a/appveyor.yml b/appveyor.yml index 7c22ce5..0261da0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,22 +30,45 @@ install: - git submodule update --init --recursive build_script: - - '"%python_exe%" cmake\ci\build_appveyor.py --install "%install_dir%" -- -D "BOOST_ROOT=%appveyor_boost_root%" -D "BOOST_LIBRARYDIR=%appveyor_boost_librarydir%" -D "AES_TOOLS_ASM=%use_asm%"' + - >- + "%python_exe%" cmake\cmake\build\ci\appveyor.py + --install "%install_dir%" + -- + -D "AES_TOOLS_ASM=%use_asm%" + -D "BOOST_ROOT=%appveyor_boost_root%" + -D "BOOST_LIBRARYDIR=%appveyor_boost_librarydir%" after_build: - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%" - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" test_script: - - '"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\\test\\nist.py" --path "%install_dir%\bin" --log "%APPVEYOR_BUILD_FOLDER%\test\nist.log"' + - >- + "%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\nist.py" + --path "%install_dir%\bin" + --log "%APPVEYOR_BUILD_FOLDER%\test\nist.log" - ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\nist.log" -Tail 5 - - '"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\\test\\cavp.py" --path "%install_dir%\bin" --log "%APPVEYOR_BUILD_FOLDER%\test\cavp.log"' + - >- + "%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\cavp.py" + --path "%install_dir%\bin" + --log "%APPVEYOR_BUILD_FOLDER%\test\cavp.log" - ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\cavp.log" -Tail 5 - - '"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\\test\\nist.py" --path "%install_dir%\bin" --log "%APPVEYOR_BUILD_FOLDER%\test\nist_boxes.log" --boxes' + - >- + "%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\nist.py" + --path "%install_dir%\bin" + --log "%APPVEYOR_BUILD_FOLDER%\test\nist_boxes.log" + --boxes - ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\nist_boxes.log" -Tail 5 - - '"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\\test\\cavp.py" --path "%install_dir%\bin" --log "%APPVEYOR_BUILD_FOLDER%\test\cavp_boxes.log" --boxes' + - >- + "%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\cavp.py" + --path "%install_dir%\bin" + --log "%APPVEYOR_BUILD_FOLDER%\test\cavp_boxes.log" + --boxes - ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\cavp_boxes.log" -Tail 5 - - '"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\\test\\file.py" --path "%install_dir%\bin" --log "%APPVEYOR_BUILD_FOLDER%\test\file.log"' + - >- + "%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\file.py" + --path "%install_dir%\bin" + --log "%APPVEYOR_BUILD_FOLDER%\test\file.log" - ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\file.log" -Tail 5 for: diff --git a/cmake b/cmake index aaf52cd..d83b675 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit aaf52cd2c859fe8047f9058d3043d9eba783042b +Subproject commit d83b675f53bd18204b1f07105b3944cc9756e7d1 -- cgit v1.2.3