2016-02-07 21:58:58 +00:00
|
|
|
include_directories (${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
set(SRCS )
|
|
|
|
|
|
|
|
add_executable (read_buffer read_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (read_buffer dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (read_buffer_perf read_buffer_perf.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (read_buffer_perf dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (read_float_perf read_float_perf.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (read_float_perf dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (write_buffer write_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (write_buffer dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (write_buffer_perf write_buffer_perf.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (write_buffer_perf dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (valid_utf8_perf valid_utf8_perf.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (valid_utf8_perf dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (valid_utf8 valid_utf8.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (valid_utf8 dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (compressed_buffer compressed_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (compressed_buffer dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (var_uint var_uint.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (var_uint dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (read_escaped_string read_escaped_string.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (read_escaped_string dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (async_write async_write.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (async_write dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (parse_int_perf parse_int_perf.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (parse_int_perf dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (parse_int_perf2 parse_int_perf2.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (parse_int_perf2 dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (read_write_int read_write_int.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (read_write_int dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (mempbrk mempbrk.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (mempbrk dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (cached_compressed_read_buffer cached_compressed_read_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (cached_compressed_read_buffer dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (o_direct_and_dirty_pages o_direct_and_dirty_pages.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (o_direct_and_dirty_pages dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (hashing_write_buffer hashing_write_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (hashing_write_buffer dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
add_check(hashing_write_buffer)
|
|
|
|
|
|
|
|
add_executable (hashing_read_buffer hashing_read_buffer.cpp)
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (hashing_read_buffer dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
add_check (hashing_read_buffer)
|
|
|
|
|
|
|
|
add_executable (io_operators operators.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (io_operators dbms_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2016-12-24 01:03:10 +00:00
|
|
|
if (NOT APPLE AND NOT CMAKE_SYSTEM MATCHES "FreeBSD")
|
2017-04-01 07:20:54 +00:00
|
|
|
add_executable(write_buffer_aio write_buffer_aio.cpp)
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (write_buffer_aio dbms_common_io ${Boost_FILESYSTEM_LIBRARY})
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2017-04-01 07:20:54 +00:00
|
|
|
add_executable(read_buffer_aio read_buffer_aio.cpp)
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (read_buffer_aio dbms_common_io ${Boost_FILESYSTEM_LIBRARY})
|
2016-12-06 13:19:42 +00:00
|
|
|
endif ()
|
2017-01-07 16:11:30 +00:00
|
|
|
|
|
|
|
add_executable (zlib_buffers zlib_buffers.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (zlib_buffers dbms_common_io)
|
2017-04-06 18:32:00 +00:00
|
|
|
|
|
|
|
add_executable (remote_read_write_buffer remote_read_write_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (remote_read_write_buffer dbms_common_io)
|
2017-08-14 04:49:20 +00:00
|
|
|
|
|
|
|
add_executable (limit_read_buffer limit_read_buffer.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (limit_read_buffer dbms_common_io)
|
2017-08-15 20:17:50 +00:00
|
|
|
|
|
|
|
add_executable (limit_read_buffer2 limit_read_buffer2.cpp ${SRCS})
|
2017-11-17 19:19:49 +00:00
|
|
|
target_link_libraries (limit_read_buffer2 dbms_common_io)
|