diff --git a/.travis.yml b/.travis.yml index 9692e361..43de396e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -264,7 +264,10 @@ install: - cp -r $TRAVIS_BUILD_DIR/* libs/config - ./bootstrap.sh - ./b2 headers - + - cd .. + - git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/config.git boost-config-standalone + - mkdir cmake-build + script: - |- echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam @@ -272,6 +275,9 @@ script: - for CXXLOCAL in $CXXSTD; do (cd libs/config/test && ../../../b2 config_info_travis_install toolset=$TOOLSET cxxstd=$CXXLOCAL $CXXSTD_DIALECT && echo With Standard Version $CXXLOCAL && ./config_info_travis && rm ./config_info_travis) done - unset IFS - ./b2 -j3 libs/config/test toolset=$TOOLSET cxxstd=$CXXSTD $CXXSTD_DIALECT + - cd ../cmake-build + - cmake ../boost-config-standalone/test/cmake + - cmake --build . notifications: email: diff --git a/test/cmake/CMakeLists.txt b/test/cmake/CMakeLists.txt new file mode 100644 index 00000000..a8cd7bf1 --- /dev/null +++ b/test/cmake/CMakeLists.txt @@ -0,0 +1,13 @@ +# Copyright 2018 Mike Dev +# Distributed under the Boost Software License, Version 1.0. +# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt + +cmake_minimum_required(VERSION 3.5) +project(BoostFilesystem_test) + +add_subdirectory(../.. ${CMAKE_CURRENT_BINARY_DIR}/boost_config) + +add_executable(boost_config_cmake_compilation_test main.cpp) +target_link_libraries(boost_config_cmake_compilation_test Boost::config) + + diff --git a/test/cmake/main.cpp b/test/cmake/main.cpp new file mode 100644 index 00000000..ec7f32a3 --- /dev/null +++ b/test/cmake/main.cpp @@ -0,0 +1,7 @@ +// Copyright 2018 Mike Dev +// Distributed under the Boost Software License, Version 1.0. +// See accompanying file LICENSE_1_0.txt or copy at http ://www.boost.org/LICENSE_1_0.txt + +#include + +int main() {}