Move chrono-specific code to a separate header

This commit is contained in:
Victor Zverovich
2018-12-09 06:45:20 -08:00
parent bf1f1c73e3
commit f54f3d0fb7
8 changed files with 443 additions and 302 deletions
+2 -2
View File
@@ -138,8 +138,8 @@ function(add_headers VAR)
endfunction()
# Define the fmt library, its includes and the needed defines.
add_headers(FMT_HEADERS color.h core.h format.h format-inl.h locale.h ostream.h
printf.h time.h ranges.h)
add_headers(FMT_HEADERS chrono.h color.h core.h format.h format-inl.h locale.h
ostream.h printf.h time.h ranges.h)
set(FMT_SOURCES src/format.cc)
if (HAVE_OPEN)
add_headers(FMT_HEADERS posix.h)