Mario Werner
27a1b787c8
test in c++ 98, 03 and 11 mode
2016-02-07 18:32:23 +01:00
Mario Werner
6a79a3279b
build and test in c++11 and in c++98 mode
2016-02-07 18:23:02 +01:00
Mario Werner
8c8877df5a
treat format.cc like a header
...
Given that it is required for header only builds it has to be
installed too.
2016-02-05 15:27:49 +01:00
Mario Werner
754be04f11
state that sudo is required for CI
...
This informs travis that the container-based build environment can
not be used.
2016-02-05 14:33:56 +01:00
vitaut
1adee75e1c
Check if -fno-delete-null-pointer-checks flag is supported
2016-02-04 08:36:41 -08:00
vitaut
a4b611a3d3
Workaround GTest bug 705 ( #268 )
2016-02-04 08:15:19 -08:00
vitaut
220bb764e5
Use quotes for local includes
2016-02-04 08:08:33 -08:00
Victor Zverovich
a750114a38
Merge pull request #271 from newnon/master
...
fix android build
2016-02-04 06:14:24 -08:00
Sergey
4d56c5ce4c
fix android build
2016-02-04 12:46:59 +03:00
vitaut
c0ad9a888b
Update the source location in the documentation build script
2016-02-03 09:28:44 -08:00
Victor Zverovich
0598d84f61
Merge pull request #267 from niosHD/update-project-layout
...
Update project layout
2016-02-03 08:48:25 -08:00
Mario Werner
b09c83504e
test for gnu++98 instead for c++98 because of mingw ...
2016-02-03 14:11:30 +01:00
Mario Werner
3133925ab2
Merge branch 'master' into update-project-layout
...
Conflicts:
posix.h
2016-02-03 13:15:26 +01:00
Mario Werner
03b9485cb3
perform the slower tests only in PEDANTIC mode
2016-02-03 13:05:18 +01:00
Mario Werner
ded46cc1b6
build test-main library again to improve build time
2016-02-03 12:59:03 +01:00
Mario Werner
c1a4cd0fa7
check if cppformat is the master project or just used as dependency
...
Based on that information less intrusive option defaults are choosen.
Additionally, packaging support is omitted.
2016-02-03 11:20:19 +01:00
Mario Werner
797d72133e
restored smoke test for syntax compatibility with the 98 c++ standard
2016-02-03 10:01:53 +01:00
Mario Werner
56cfd9f4ce
installed posix.h too when it is built into the library
2016-02-03 09:59:55 +01:00
Mario Werner
e0e8f717a0
FMT_USE_FILE_DESCRIPTORS is apparently only needed for the tests
2016-02-03 09:14:32 +01:00
vitaut
cfb25b0e80
Use typedefs instead of macros
2016-02-02 22:06:54 -08:00
vitaut
e489f879c3
Add locale tests
2016-02-02 17:21:09 -08:00
Mario Werner
c0e926109e
use the same warning options like before the PR
...
Additional notes on how to improve the current state have been added.
2016-02-02 17:14:51 +01:00
Mario Werner
b05a02b91c
remove comment which is now superfluous since the code has been moved
2016-02-02 17:04:12 +01:00
Mario Werner
d411aa165e
use quotes for including cppformat headers from the tests
2016-02-02 16:58:41 +01:00
Mario Werner
be961bae0f
fixed typo in python script
2016-02-01 10:41:45 +01:00
Mario Werner
0a4acc9656
use the cmake and ctest to drive the appveyor build
2016-02-01 10:22:47 +01:00
Mario Werner
d3fe82c55b
propagate the build type into the find test
2016-01-31 20:17:39 +01:00
Mario Werner
a659d8079e
Merge branch 'master' into update-project-layout
2016-01-31 17:00:05 +01:00
Mario Werner
00fda9b25a
add a test for the find script on the build directory
2016-01-31 00:02:49 +01:00
Mario Werner
4aeeb49d23
updated compile-test and include a working test
...
This makes sure that the test does not break due to other reasons.
2016-01-30 23:49:39 +01:00
Mario Werner
fee52f79b8
update the includes in the tests to get rid of the deprecated warnings
2016-01-30 22:33:37 +01:00
vitaut
4952e79e45
Document that floating-point formatting is locale-dependent.
2016-01-30 09:20:43 -08:00
vitaut
95c0fb5075
Add a "C" numeric locale
2016-01-29 16:29:46 -08:00
Mario Werner
62ac1d98a4
export the header only library also during installation
2016-01-29 16:57:45 +01:00
Mario Werner
5aa5116edc
moved the library definition and the installation into a sub CMakeLists.txt
2016-01-29 16:39:03 +01:00
Mario Werner
5e7ab2f4ea
major cleanup of the test folders CMakeLists.txt
...
The new code does not rely on globally defined include directories
anymore. Additionally a lot of conditional code and has been removed
which improves readability a lot.
2016-01-29 16:21:17 +01:00
Mario Werner
b52d0bd9d4
define cppformat cmake targets with proper interface definitions
2016-01-29 13:23:08 +01:00
Mario Werner
0fb474be3a
outlined the compiler feature tests to improve script readability
2016-01-29 13:03:47 +01:00
Mario Werner
3019a8c1fd
moved code into cppformat subdirectory
...
Proxy headers have been placed into the project root to emit
deprecation warnings.
2016-01-29 12:49:35 +01:00
vitaut
7ee287d3d9
Sign extend arguments of smaller types passed to %ll? ( #265 )
2016-01-27 07:03:19 -08:00
vitaut
ae6368c985
Add a comment to clarify why convert to unsigned
2016-01-26 07:13:34 -08:00
vitaut
bb7a80b1ab
Correct comment
2016-01-25 06:46:43 -08:00
vitaut
8474a6232d
Don't perform narrowing conversion for integers in printf ( #255 )
2016-01-24 00:43:42 +01:00
vitaut
22f61140d1
Format CMake files, ignore generated files and don't copy header
2016-01-13 07:14:32 -08:00
Victor Zverovich
52ee516cf3
Merge pull request #264 from niosHD/improve-find-and-package-support
...
Improve find and package support
2016-01-13 06:37:41 -08:00
Mario Werner
ef7bbfff87
removed workaround for cmake versions prior to 2.8.10
2016-01-13 09:54:02 +01:00
Mario Werner
891e9117f6
trying to update cmake to 2.8.12 in travis via a ppa repo
...
Whitelist of repos:
https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
Whitelist of packages:
https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
2016-01-12 16:57:40 +01:00
Mario Werner
3fc3ecd184
reverted removal of CPACK_SOURCE_PACKAGE_FILE_NAME
...
The use of `CPACK_PACKAGE_NAME` leads to
`cppformat-<version>-Source.zip` as the name for the source package
which is different from the expected `cppformat-<version>.zip`.
2016-01-12 16:48:53 +01:00
vitaut
06f3abe26d
Return early from ArgMap::find
2016-01-12 06:37:39 -08:00
Victor Zverovich
50f14f225c
Merge pull request #262 from mwinterb/argmap_vector
...
Changed ArgMap to be backed by a vector instead of a map.
2016-01-12 06:23:19 -08:00