Link with libformat instead of including format.cc in every file.

This commit is contained in:
Victor Zverovich 2013-09-06 20:34:23 -07:00
parent 7cae763c91
commit a47e7ac0bc
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp)
COMMAND echo iostreams results: COMMAND echo iostreams results:
COMMAND ./bloat_test.sh -DUSE_IOSTREAMS COMMAND ./bloat_test.sh -DUSE_IOSTREAMS
COMMAND echo format results: COMMAND echo format results:
COMMAND ./bloat_test.sh -DUSE_FORMAT COMMAND ./bloat_test.sh -DUSE_FORMAT -L.. -lformat
COMMAND echo tinyformat results: COMMAND echo tinyformat results:
COMMAND ./bloat_test.sh -DUSE_TINYFORMAT COMMAND ./bloat_test.sh -DUSE_TINYFORMAT
COMMAND echo boost results: COMMAND echo boost results:
@ -93,7 +93,7 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp)
COMMAND echo iostreams results: COMMAND echo iostreams results:
COMMAND ./bloat_test.sh -O3 -DUSE_IOSTREAMS COMMAND ./bloat_test.sh -O3 -DUSE_IOSTREAMS
COMMAND echo format results: COMMAND echo format results:
COMMAND ./bloat_test.sh -O3 -DUSE_FORMAT COMMAND ./bloat_test.sh -O3 -DUSE_FORMAT -L.. -lformat
COMMAND echo tinyformat results: COMMAND echo tinyformat results:
COMMAND ./bloat_test.sh -O3 -DUSE_TINYFORMAT COMMAND ./bloat_test.sh -O3 -DUSE_TINYFORMAT
COMMAND echo boost results: COMMAND echo boost results:

@ -1 +1 @@
Subproject commit e7f91988e1d69967c84603b9f8f30e99da06e4d0 Subproject commit 1199f860acc7d813487e4325a858f224b2a07c49