Refactors cmake files to disable unnecessary build
authorPeizhao Ou <peizhaoo@uci.edu>
Tue, 30 Jan 2018 22:27:37 +0000 (14:27 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Tue, 30 Jan 2018 22:27:37 +0000 (14:27 -0800)
test/stress/CMakeLists.txt
test/stress/sequential/CMakeLists.txt

index 99d5dc1..089f81e 100644 (file)
@@ -22,23 +22,24 @@ include_directories(
 )
 
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/misc)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/freelist)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/map)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/pqueue)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/queue)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/set)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/stack)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/misc)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/freelist)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/map)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/pqueue)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/queue)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/set)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/stack)
 
 add_custom_target( stress-all
     DEPENDS
-        stress-misc
-        stress-freelist
-        stress-map
-        stress-pqueue
-        stress-queue
-        stress-stack
-        stress-set
+        stress-sequential-all
+        #stress-misc
+        #stress-freelist
+        #stress-map
+        #stress-pqueue
+        #stress-queue
+        #stress-stack
+        #stress-set
 )
 
 file(GLOB CONF_FILES ${PROJECT_SOURCE_DIR}/test/stress/data/*.conf)
index ea69fd4..52326fa 100644 (file)
@@ -1,7 +1,7 @@
 set(PACKAGE_NAME stress-sequential)
 
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-misc)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-set)
+#add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-set)
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-map)
 
 set(CDSSTRESS_STACK_SOURCES