From 7d1eb0c416e7ae016592f4d9ec4c704551c693b8 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 22 Mar 2016 23:34:54 +0300 Subject: [PATCH] Added generic build targets --- test/stress/CMakeLists.txt | 7 +++++++ test/unit/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/test/stress/CMakeLists.txt b/test/stress/CMakeLists.txt index 073dab1a..7f45d5b6 100644 --- a/test/stress/CMakeLists.txt +++ b/test/stress/CMakeLists.txt @@ -17,5 +17,12 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/pqueue) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/queue) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/stack) +add_custom_target( stress-all + DEPENDS + stress-pqueue + stress-queue + stress-stack +) + file(GLOB CONF_FILES ${PROJECT_SOURCE_DIR}/test/stress/data/*.conf) file(COPY ${CONF_FILES} DESTINATION ${EXECUTABLE_OUTPUT_PATH}) diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index 9ae37177..1d4e933f 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -6,3 +6,15 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/intrusive-set) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/set) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/striped-set) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/stack) + +add_custom_target(unit-all + DEPENDS + unit-deque + unit-list + unit-pqueue + unit-queue + unit-intrusive-set + unit-set + unit-striped-set + unit-stack +) -- 2.34.1