summaryrefslogtreecommitdiff
path: root/test/memory/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/memory/CMakeLists.txt')
-rw-r--r--test/memory/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/memory/CMakeLists.txt b/test/memory/CMakeLists.txt
new file mode 100644
index 0000000..ede5be4
--- /dev/null
+++ b/test/memory/CMakeLists.txt
@@ -0,0 +1,16 @@
+set(BINARY pke_test_memory)
+
+set(TEST_SOURCE_FILES
+ main.cpp
+ general.cpp
+ ../../src/memory.cpp
+)
+
+add_executable(${BINARY} ${TEST_SOURCE_FILES})
+
+add_test(NAME ${BINARY} COMMAND ${BINARY})
+
+target_include_directories(${BINARY} PUBLIC "../../src")
+
+target_link_libraries(${BINARY} PUBLIC gmock)
+