fixed adding file problem
[c11concurrency-benchmarks.git] / gdax-orderbook-hpp / demo / dependencies / libcds-2.3.2 / test / unit / pqueue / CMakeLists.txt
diff --git a/gdax-orderbook-hpp/demo/dependencies/libcds-2.3.2/test/unit/pqueue/CMakeLists.txt b/gdax-orderbook-hpp/demo/dependencies/libcds-2.3.2/test/unit/pqueue/CMakeLists.txt
new file mode 100644 (file)
index 0000000..95a2219
--- /dev/null
@@ -0,0 +1,19 @@
+set(PACKAGE_NAME unit-pqueue)
+
+set(CDSGTEST_PQUEUE_SOURCES
+    ../main.cpp
+    fcpqueue_boost_stable_vector.cpp
+    fcpqueue_deque.cpp
+    fcpqueue_vector.cpp
+    intrusive_mspqueue.cpp
+    mspqueue.cpp
+)
+
+include_directories(
+    ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+add_executable(${PACKAGE_NAME} ${CDSGTEST_PQUEUE_SOURCES})
+target_link_libraries(${PACKAGE_NAME} ${CDS_TEST_LIBRARIES})
+
+add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
\ No newline at end of file