Refactors test cases to use gtest framework
[junction.git] / test / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8.5)
2
3 include_directories(
4     /scratch/googletest/googletest/include/
5 )
6
7 set(PACKAGE_NAME stress-sequential-junction)
8 set(JUNCTION_TEST_SOURCES
9     junction_driver.cpp
10 )
11
12 set(CMAKE_CONFIGURATION_TYPES "Release" CACHE INTERNAL "Build configs")
13
14 set(JUNCTION_LIB
15   junction
16   turf
17   # AArch64 lib
18   /scratch/googletest/googletest/libgtest.a
19   # x86 lib
20   #/scratch/googletest/libgtest.a
21 )
22
23 add_executable(${PACKAGE_NAME} ${JUNCTION_TEST_SOURCES})
24 target_link_libraries(${PACKAGE_NAME} ${JUNCTION_LIB})