X-Git-Url: http://plrg.eecs.uci.edu/git/?p=junction.git;a=blobdiff_plain;f=test%2FCMakeLists.txt;h=fe8a11e6f0cdc67b05e2031e8ba0470d6737a5dc;hp=5deccdea01516e2bbb0af77ba88d51abbe463f7e;hb=176b53dafc01aa30b9128db59fd3a234fff1198d;hpb=dce136ff897929eb6dafeeba678ba136c860e90f diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5deccde..fe8a11e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,15 +1,13 @@ cmake_minimum_required(VERSION 2.8.5) +set(CMAKE_CONFIGURATION_TYPES "Release" CACHE INTERNAL "Build configs") + include_directories( /scratch/googletest/googletest/include/ ) -set(PACKAGE_NAME stress-sequential-junction) -set(JUNCTION_TEST_SOURCES - junction_driver.cpp -) - -set(CMAKE_CONFIGURATION_TYPES "Release" CACHE INTERNAL "Build configs") +set(SEQUENTIAL_DRIVER stress-sequential-junction) +set(PARALLEL_DRIVER stress-parallel-junction) set(JUNCTION_LIB junction @@ -20,5 +18,8 @@ set(JUNCTION_LIB #/scratch/googletest/libgtest.a ) -add_executable(${PACKAGE_NAME} ${JUNCTION_TEST_SOURCES}) -target_link_libraries(${PACKAGE_NAME} ${JUNCTION_LIB}) +add_executable(${SEQUENTIAL_DRIVER} junction_sequential_driver.cpp) +target_link_libraries(${SEQUENTIAL_DRIVER} ${JUNCTION_LIB}) + +add_executable(${PARALLEL_DRIVER} junction_parallel_driver.cpp) +target_link_libraries(${PARALLEL_DRIVER} ${JUNCTION_LIB})