summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-07 12:50:07 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-07 12:50:07 +0200
commitc00d5fb305abff370f869dec0e9404f8a4a5646b (patch)
tree12794ff568d272e7326f6502727443e7928cd64c /tests/CMakeLists.txt
parentb7873e621ef45badaa70e2d285998c486920df4a (diff)
downloadsink-c00d5fb305abff370f869dec0e9404f8a4a5646b.tar.gz
sink-c00d5fb305abff370f869dec0e9404f8a4a5646b.zip
Use memcpy to copy tables into vectors.
Ideally we wouldn't be copying at all, and somehow cast the table to a vector. Unfortunately I haven't figured out how to do that, and this solution at least gets us from 0.065 ms to 0.028 ms in testCreateCommand.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 8257c8a..a38471f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -2,6 +2,7 @@ add_subdirectory(hawd)
2 2
3set(CMAKE_AUTOMOC ON) 3set(CMAKE_AUTOMOC ON)
4include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/hawd) 4include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/hawd)
5include_directories (${CMAKE_CURRENT_BINARY_DIR}/../dummyresource)
5 6
6generate_flatbuffers(calendar) 7generate_flatbuffers(calendar)
7 8