Add a lightweight header for the core API

This commit is contained in:
Victor Zverovich
2017-12-06 07:42:42 -08:00
parent 3aaa25fa70
commit 94edb1a71c
12 changed files with 1057 additions and 1042 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "fmt/format.h"
#include "fmt/core.h"
#include "gtest/gtest.h"
#if GTEST_HAS_DEATH_TEST
+1 -2
View File
@@ -42,8 +42,7 @@
// Test that the library compiles if None is defined to 0 as done by xlib.h.
#define None 0
#include "fmt/format.h"
#include "fmt/write.h"
#include "fmt/core.h"
#include "util.h"
#include "mock-allocator.h"
+1 -1
View File
@@ -31,7 +31,7 @@
#include <string>
#include <gmock/gmock.h>
#include "fmt/format.h"
#include "fmt/core.h"
#ifndef FMT_USE_FILE_DESCRIPTORS
# define FMT_USE_FILE_DESCRIPTORS 0
+1 -1
View File
@@ -1,3 +1,3 @@
// Header-only configuration test
#include "fmt/format.h"
#include "fmt/core.h"
+1 -1
View File
@@ -1,3 +1,3 @@
// Additional translation unit for the header-only configuration test
#include "fmt/format.h"
#include "fmt/core.h"
+1 -1
View File
@@ -29,8 +29,8 @@
#include <climits>
#include <cstring>
#include "fmt/core.h"
#include "fmt/printf.h"
#include "fmt/format.h"
#include "gtest-extra.h"
#include "util.h"
+1 -1
View File
@@ -48,7 +48,7 @@
# include <windows.h>
#endif
#include "fmt/format.h"
#include "fmt/core.h"
#undef min
#undef max