CMake prints the compiler version instead of the Travis script

This commit is contained in:
Sébastien Rombauts 2016-06-27 08:57:01 +02:00
parent 90699f95ea
commit d98cc930cc
3 changed files with 11 additions and 10 deletions

View File

@ -1,11 +1,10 @@
# Copyright (c) 2012-2016 Sebastien Rombauts (sebastien.rombauts@gmail.com)
language: cpp
# request for Ubuntu 14.04 Trusty VM
sudo: true
dist: trusty
language: cpp
cache:
apt: true
@ -129,8 +128,6 @@ before_script:
- mkdir build
- cd build
- export CXX=$COMPILERXX
- echo CXX is $CXX CXXFLAGS is $CXXFLAGS CPPFLAGS is $CPPFLAGS
- $CXX --version
- cmake -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_USE_GCOV=ON -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON ..
# build examples, and run tests (ie make & make test)

View File

@ -47,6 +47,10 @@ endif (MSVC)
set(CPPLINT_ARG_VERBOSE "--verbose=3")
set(CPPLINT_ARG_LINELENGTH "--linelength=120")
# Print CXX compiler information
message (STATUS "CMAKE_CXX_COMPILER_ID '${CMAKE_CXX_COMPILER_ID}'")
message (STATUS "CMAKE_CXX_COMPILER_VERSION '${CMAKE_CXX_COMPILER_VERSION}'")
# Print CXX FLAGS
message (STATUS "CMAKE_CXX_FLAGS '${CMAKE_CXX_FLAGS}'")
if (MSVC)
@ -66,7 +70,6 @@ else (NOT MSVC)
endif ()
endif ()
# Options relative to SQLite and SQLiteC++ functions
option(SQLITE_ENABLE_COLUMN_METADATA "Enable Column::getName(). Require support from sqlite3 library." ON)

View File

@ -66,14 +66,15 @@ and then is always valid until destroyed.
### Supported platforms:
Developements and tests are done under the following OSs:
- Ubuntu 12.04 (Travis CI) and 14.04
- Debian 7
- Ubuntu 14.04 (Travis CI)
- Windows XP/10
- OS X 10.11 (Travis CI)
And the following IDEs/Compilers
- GCC 4.6.3, 4.7.2 and GCC 4.8.2
- Clang 3.4
- GCC 4.8.4, 4.9.3, 5.3.0 and 6.1.1 (C++03, C++11, C++14, C++1z)
- Clang 3.5 and 3.8
- Xcode 8
- Visual Studio Community 2015
- Eclipse CDT under Linux
- Visual Studio Express 2008 and Community 2015
### Dependencies