[CMake] Test cmake target on travis

This commit is contained in:
Mike Dev
2018-09-25 20:36:19 +02:00
parent 6b238b5d1c
commit fe45ca1601
3 changed files with 27 additions and 1 deletions
+13
View File
@@ -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)
+7
View File
@@ -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 <boost/config.hpp>
int main() {}