1 cmake_minimum_required(VERSION 2.6)
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
5 add_executable(log_large_test log_large_test.c)
6 add_executable(parallel_log_crashtest parallel_log_crashtest.c)
8 add_executable(mmalloc_test mmalloc_test.c)
11 ### Add definitions for compile
13 target_link_libraries(log_large_test gras m pthread )
14 target_link_libraries(parallel_log_crashtest gras m pthread )
16 target_link_libraries(mmalloc_test gras m pthread )
19 target_link_libraries(log_large_test gras)
20 target_link_libraries(parallel_log_crashtest gras)
22 target_link_libraries(mmalloc_test gras)
28 ${CMAKE_CURRENT_SOURCE_DIR}/log_large_test.tesh
29 ${CMAKE_CURRENT_SOURCE_DIR}/parallel_log_crashtest.tesh
30 ${CMAKE_CURRENT_SOURCE_DIR}/xbt.tesh
31 ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_64.tesh
32 ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_32.tesh
41 ${CMAKE_CURRENT_SOURCE_DIR}/log_large_test.c
42 ${CMAKE_CURRENT_SOURCE_DIR}/parallel_log_crashtest.c
43 ${CMAKE_CURRENT_SOURCE_DIR}/mmalloc_test.c