Mario Werner
7e3671865f
make the install location for the generated cmake files configurable
...
By default the cmake files are installed to "<prefix>/lib/cmake/cppformat".
This can now be customized using the `FMT_CMAKE_DIR` cache variable.
Valid paths are documented in the cmake manual [1].
e.g., install the cmake files to "<prefix>/share/cmake/cppformat"
```
cmake -DFMT_CMAKE_DIR=share/cmake/cppformat <path-to-source>
```
Tip: Try `make package` to examine the result.
[1] https://cmake.org/cmake/help/v3.0/command/find_package.html
2016-04-11 09:51:15 -04:00
vitaut
7d5400f833
Resolve overloads
2016-04-11 09:44:22 -04:00
vitaut
8019387a55
Remove the build directory
2016-04-07 07:26:14 -07:00
vitaut
76fba46190
Update changelog
2016-03-21 07:57:06 -07:00
vitaut
d7ddd61545
Update CMake config and tests from the master branch
2016-03-17 07:25:50 -07:00
vitaut
8c16747a80
Update version
2.0.1
2016-03-13 10:19:25 -07:00
vitaut
038009b2e5
Install new CMake on travis
2016-03-10 08:13:34 -08:00
vitaut
ee6b5a596e
Add CMake config file
2016-03-10 07:46:39 -08:00
vitaut
f5f9bf7f1f
Update version
2016-03-10 07:20:20 -08:00
vitaut
613f7df021
Update changelog
2016-03-10 07:19:17 -08:00
vitaut
8c68e2ca04
Fix fileno causing compile error when #defined
...
Error:
expected unqualified-id before '(' token
int fmt::BufferedFile::fileno() const {
This is an issue with Android NDK and mingw32.
c2ffa14684
2016-03-10 07:16:48 -08:00
vitaut
368b66a806
Update changelog
2016-03-10 07:12:16 -08:00
vitaut
1a166b0e1b
Update docs
2016-03-10 07:00:42 -08:00
vitaut
38275fb27f
Update CMake config
...
to version 7ee287d3d9
2016-03-10 07:00:00 -08:00
vitaut
5f8af5ef1d
Update version
2.0.0
2015-12-01 07:33:30 -08:00
vitaut
5837851cb2
Update docs
2015-12-01 07:31:15 -08:00
vitaut
abe932164a
Update changelog
2015-12-01 07:20:33 -08:00
Victor Zverovich
19de4a863a
Merge pull request #236 from Jopie64/master
...
Silence some performance warnings in Visual Studio
2015-12-01 06:58:09 -08:00
Johan 't Hart
328c8888ec
Make compilable under Visual Studio 2008
...
Older Visual Studio versions are not shipped with stdint.h
2015-12-01 09:34:13 +01:00
Johan 't Hart
df2dfd9612
Silence some performance warnings in Visual Studio
2015-12-01 08:59:59 +01:00
vitaut
fac207816c
Update release script
2015-11-30 08:23:16 -08:00
vitaut
ec80a1ab51
Update changelog
2015-11-30 08:22:03 -08:00
vitaut
3bf900e301
Update changelog
2015-11-30 08:17:47 -08:00
vitaut
722c8e4ae6
Update changelog
2015-11-30 08:10:49 -08:00
vitaut
13d6b2d38c
Update changelog
2015-11-30 07:22:51 -08:00
vitaut
b8bd80ff28
Fix handling of empty non-null-terminated strings
2015-11-25 09:49:01 -08:00
vitaut
7cbb29f61e
Make FormatBuf::size() const
2015-11-25 08:27:46 -08:00
vitaut
053df632f8
Minor simplification and adjustment of coding style for consistency
...
in custom stream buffer implementation:
* basic_formatbuf -> internal::FormatBuf
* remove unused Traits template argument
2015-11-25 08:00:57 -08:00
vitaut
222f2d28f5
Fix MSVC warnings
2015-11-25 07:47:43 -08:00
vitaut
f60c4b9947
Fix an MSVC warning ( #234 )
2015-11-25 07:17:05 -08:00
vitaut
0519737b95
Don't use _ecvt ( #233 )
2015-11-25 07:11:28 -08:00
vitaut
9a08fb52bf
Fix compilation with clang and old libstdc++
2015-11-24 09:13:48 -08:00
Michael Kasperovich
8265263c5d
Remove unnecessary stuff.
2015-11-24 09:09:09 -08:00
Michael Kasperovich
d266adf805
Implement custom stream buffer ( #92 )
2015-11-24 09:06:33 -08:00
vitaut
6cff6d8137
Use overloaded operator<< for enums if available ( #232 )
2015-11-24 08:18:19 -08:00
vitaut
1a2a333a1a
Use format specifiers when formatting null pointers & strings
2015-11-23 21:01:28 -08:00
vitaut
289885e8c0
Fix branch detection on Travis
2015-11-23 08:47:46 -08:00
vitaut
4118b89139
Get rid of the html directory when installing docs
2015-11-23 08:22:21 -08:00
vitaut
96731cebe1
Print branch name
2015-11-23 08:21:22 -08:00
vitaut
b83fd00183
Pass version from CMake to Sphinx
2015-11-23 08:10:02 -08:00
vitaut
646829e34d
Fix MSVC warnings
2015-11-21 07:31:00 -08:00
vitaut
8beadace37
Improve detection of isinf, isnan and getsign
2015-11-21 07:20:18 -08:00
vitaut
223575b567
Tyop
2015-11-20 08:28:29 -08:00
vitaut
ee3e68dc16
Improve compatibility with bcc32
2015-11-20 08:14:10 -08:00
vitaut
e5d599875c
Improve compatibility with bcc32
2015-11-20 07:56:16 -08:00
vitaut
b53994fd0d
Suppress a warning
2015-11-20 07:49:29 -08:00
vitaut
fd1753484e
Fix example
2015-11-19 07:23:43 -08:00
vitaut
6606971aae
Improve compatibility with bcc32
2015-11-18 08:42:09 -08:00
vitaut
31aced8b59
Improve compatibility with bcc32
2015-11-18 08:04:04 -08:00
vitaut
1dd5e035eb
Simplify signbit
2015-11-18 07:38:05 -08:00