mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 17:56:13 -04:00
CMake prints the compiler version instead of the Travis script
This commit is contained in:
parent
90699f95ea
commit
d98cc930cc
@ -1,11 +1,10 @@
|
|||||||
# Copyright (c) 2012-2016 Sebastien Rombauts (sebastien.rombauts@gmail.com)
|
# Copyright (c) 2012-2016 Sebastien Rombauts (sebastien.rombauts@gmail.com)
|
||||||
|
|
||||||
|
language: cpp
|
||||||
|
|
||||||
# request for Ubuntu 14.04 Trusty VM
|
# request for Ubuntu 14.04 Trusty VM
|
||||||
sudo: true
|
sudo: true
|
||||||
dist: trusty
|
dist: trusty
|
||||||
language: cpp
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
@ -129,8 +128,6 @@ before_script:
|
|||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- export CXX=$COMPILERXX
|
- 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 ..
|
- 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)
|
# build examples, and run tests (ie make & make test)
|
||||||
|
@ -47,6 +47,10 @@ endif (MSVC)
|
|||||||
set(CPPLINT_ARG_VERBOSE "--verbose=3")
|
set(CPPLINT_ARG_VERBOSE "--verbose=3")
|
||||||
set(CPPLINT_ARG_LINELENGTH "--linelength=120")
|
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
|
# Print CXX FLAGS
|
||||||
message (STATUS "CMAKE_CXX_FLAGS '${CMAKE_CXX_FLAGS}'")
|
message (STATUS "CMAKE_CXX_FLAGS '${CMAKE_CXX_FLAGS}'")
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
@ -66,7 +70,6 @@ else (NOT MSVC)
|
|||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
# Options relative to SQLite and SQLiteC++ functions
|
# Options relative to SQLite and SQLiteC++ functions
|
||||||
|
|
||||||
option(SQLITE_ENABLE_COLUMN_METADATA "Enable Column::getName(). Require support from sqlite3 library." ON)
|
option(SQLITE_ENABLE_COLUMN_METADATA "Enable Column::getName(). Require support from sqlite3 library." ON)
|
||||||
|
11
README.md
11
README.md
@ -66,14 +66,15 @@ and then is always valid until destroyed.
|
|||||||
### Supported platforms:
|
### Supported platforms:
|
||||||
|
|
||||||
Developements and tests are done under the following OSs:
|
Developements and tests are done under the following OSs:
|
||||||
- Ubuntu 12.04 (Travis CI) and 14.04
|
- Ubuntu 14.04 (Travis CI)
|
||||||
- Debian 7
|
|
||||||
- Windows XP/10
|
- Windows XP/10
|
||||||
|
- OS X 10.11 (Travis CI)
|
||||||
And the following IDEs/Compilers
|
And the following IDEs/Compilers
|
||||||
- GCC 4.6.3, 4.7.2 and GCC 4.8.2
|
- GCC 4.8.4, 4.9.3, 5.3.0 and 6.1.1 (C++03, C++11, C++14, C++1z)
|
||||||
- Clang 3.4
|
- Clang 3.5 and 3.8
|
||||||
|
- Xcode 8
|
||||||
|
- Visual Studio Community 2015
|
||||||
- Eclipse CDT under Linux
|
- Eclipse CDT under Linux
|
||||||
- Visual Studio Express 2008 and Community 2015
|
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user