Adds a compilation test for mcslock
[libcds.git] / test / stress / misc / CMakeLists.txt
index 3a7aedc..2fa3d71 100644 (file)
@@ -20,4 +20,7 @@ include_directories(
 add_executable(${PACKAGE_NAME} ${CDSSTRESS_STACK_SOURCES})
 target_link_libraries(${PACKAGE_NAME} ${CDS_TEST_LIBRARIES} ${CDSSTRESS_FRAMEWORK_LIBRARY})
 
+add_executable(mcslock-test mcslock_test.cpp)
+target_link_libraries(mcslock-test ${CDS_TEST_LIBRARIES} ${CDSSTRESS_FRAMEWORK_LIBRARY})
+
 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})