2013-07-21 22:08:14 +00:00
|
|
|
add_executable(name name.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(name "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(name "${CMAKE_CURRENT_BINARY_DIR}/name")
|
2014-08-19 22:45:00 +00:00
|
|
|
add_executable(sequence sequence.cpp)
|
|
|
|
target_link_libraries(sequence "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(sequence "${CMAKE_CURRENT_BINARY_DIR}/sequence")
|
2013-08-13 10:40:51 +00:00
|
|
|
add_executable(sexpr_tst sexpr.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(sexpr_tst "util" "numerics" "sexpr" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(sexpr "${CMAKE_CURRENT_BINARY_DIR}/sexpr_tst")
|
2013-07-23 23:20:44 +00:00
|
|
|
add_executable(format format.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(format "util" "numerics" "sexpr" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(format "${CMAKE_CURRENT_BINARY_DIR}/format")
|
2013-07-24 21:41:03 +00:00
|
|
|
add_executable(buffer buffer.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(buffer "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(buffer "${CMAKE_CURRENT_BINARY_DIR}/buffer")
|
2013-07-24 23:32:50 +00:00
|
|
|
add_executable(list list.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(list "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(list "${CMAKE_CURRENT_BINARY_DIR}/list")
|
2013-08-07 20:54:18 +00:00
|
|
|
add_executable(scoped_set scoped_set.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(scoped_set "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(scoped_set "${CMAKE_CURRENT_BINARY_DIR}/scoped_set")
|
2013-08-08 23:30:35 +00:00
|
|
|
add_executable(options options.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(options "util" "numerics" "sexpr" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(options "${CMAKE_CURRENT_BINARY_DIR}/options")
|
2013-08-11 02:27:56 +00:00
|
|
|
add_executable(scoped_map scoped_map.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(scoped_map "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(scoped_map "${CMAKE_CURRENT_BINARY_DIR}/scoped_map")
|
2013-09-21 05:37:13 +00:00
|
|
|
add_executable(memory memory.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(memory "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(memory "${CMAKE_CURRENT_BINARY_DIR}/memory")
|
2014-02-22 01:20:14 +00:00
|
|
|
add_executable(rb_tree rb_tree.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(rb_tree "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(rb_tree "${CMAKE_CURRENT_BINARY_DIR}/rb_tree")
|
2014-02-22 01:54:43 +00:00
|
|
|
add_executable(rb_map rb_map.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(rb_map "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(rb_map "${CMAKE_CURRENT_BINARY_DIR}/rb_map")
|
2013-09-24 05:30:41 +00:00
|
|
|
add_executable(splay_tree splay_tree.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(splay_tree "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(splay_tree "${CMAKE_CURRENT_BINARY_DIR}/splay_tree")
|
2013-09-24 08:43:58 +00:00
|
|
|
add_executable(splay_map splay_map.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(splay_map "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(splay_map "${CMAKE_CURRENT_BINARY_DIR}/splay_map")
|
2013-09-26 03:30:05 +00:00
|
|
|
add_executable(trace trace.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(trace "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(trace "${CMAKE_CURRENT_BINARY_DIR}/trace")
|
2013-09-26 03:41:25 +00:00
|
|
|
add_executable(exception exception.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(exception "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(exception "${CMAKE_CURRENT_BINARY_DIR}/exception")
|
2013-09-26 03:55:23 +00:00
|
|
|
add_executable(bit_tricks bit_tricks.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(bit_tricks "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(bit_tricks "${CMAKE_CURRENT_BINARY_DIR}/bit_tricks")
|
2013-09-29 19:33:12 +00:00
|
|
|
add_executable(lazy_list lazy_list.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(lazy_list "util" "numerics" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(lazy_list "${CMAKE_CURRENT_BINARY_DIR}/lazy_list")
|
2013-09-30 00:03:48 +00:00
|
|
|
add_executable(hash hash.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(hash "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(hash "${CMAKE_CURRENT_BINARY_DIR}/hash")
|
2013-09-30 00:19:19 +00:00
|
|
|
add_executable(safe_arith safe_arith.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(safe_arith "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(safe_arith "${CMAKE_CURRENT_BINARY_DIR}/safe_arith")
|
2013-10-14 18:27:47 +00:00
|
|
|
add_executable(set set.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(set "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(set "${CMAKE_CURRENT_BINARY_DIR}/set")
|
2013-11-23 23:33:25 +00:00
|
|
|
add_executable(optional optional.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(optional "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(optional "${CMAKE_CURRENT_BINARY_DIR}/optional")
|
2013-12-01 20:42:32 +00:00
|
|
|
add_executable(stackinfo stackinfo.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(stackinfo "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(stackinfo "${CMAKE_CURRENT_BINARY_DIR}/stackinfo")
|
2013-12-28 00:45:40 +00:00
|
|
|
add_executable(serializer serializer.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(serializer "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(serializer "${CMAKE_CURRENT_BINARY_DIR}/serializer")
|
2014-05-14 00:40:33 +00:00
|
|
|
add_executable(trie trie.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(trie "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(trie "${CMAKE_CURRENT_BINARY_DIR}/trie")
|
2014-06-03 20:24:27 +00:00
|
|
|
add_executable(lru_cache lru_cache.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(lru_cache "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(lru_cache "${CMAKE_CURRENT_BINARY_DIR}/lru_cache")
|
2014-07-12 20:59:22 +00:00
|
|
|
add_executable(worker_queue worker_queue.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(worker_queue "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(worker_queue "${CMAKE_CURRENT_BINARY_DIR}/worker_queue")
|
2014-06-06 23:23:24 +00:00
|
|
|
# thread.cpp used import_test.lua
|
2015-03-28 18:57:44 +00:00
|
|
|
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/import_test.lua"
|
|
|
|
COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_SOURCE_DIR}/import_test.lua" "${CMAKE_CURRENT_BINARY_DIR}/import_test.lua"
|
|
|
|
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/import_test.lua")
|
|
|
|
add_custom_target("import_test" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/import_test.lua")
|
2014-06-06 23:23:24 +00:00
|
|
|
add_executable(thread thread.cpp)
|
2014-07-31 21:13:00 +00:00
|
|
|
target_link_libraries(thread "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(thread "${CMAKE_CURRENT_BINARY_DIR}/thread")
|
2014-09-05 21:42:13 +00:00
|
|
|
add_dependencies(thread import_test)
|
|
|
|
add_executable(bitap_fuzzy_search bitap_fuzzy_search.cpp)
|
|
|
|
target_link_libraries(bitap_fuzzy_search "util" ${EXTRA_LIBS})
|
2015-03-28 18:57:44 +00:00
|
|
|
add_test(bitap_fuzzy_search "${CMAKE_CURRENT_BINARY_DIR}/bitap_fuzzy_search")
|