Add dependencies.

This commit is contained in:
Victor Zverovich 2012-12-07 12:25:49 -08:00
parent dc533040fa
commit d5925dc3cb

View File

@ -43,7 +43,8 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp)
COMMAND @echo tinyformat timings:
COMMAND @time -p ./tinyformat_speed_test tinyformat > /dev/null
COMMAND @echo boost timings:
COMMAND @time -p ./tinyformat_speed_test boost > /dev/null)
COMMAND @time -p ./tinyformat_speed_test boost > /dev/null
DEPENDS tinyformat_speed_test)
add_custom_target(bloat_test
COMMAND echo running bloat tests...
@ -57,5 +58,6 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp)
COMMAND ./bloat_test.sh -DUSE_TINYFORMAT
COMMAND echo boost results:
COMMAND ./bloat_test.sh -DUSE_BOOST
WORKING_DIRECTORY tinyformat)
WORKING_DIRECTORY tinyformat
DEPENDS format)
endif ()