Revision 218792959d7ab8e758e7b9b38d93486b59a56b60 authored by Slava Pestov on 11 January 2016, 01:03:19 UTC, committed by Slava Pestov on 11 January 2016, 01:06:20 UTC
1 parent b70e4d2
Raw File
CMakeLists.txt
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
  # Performance test harness only builds on Darwin.
  set(PERF_TESTSUITE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/PerfTestSuite" CACHE STRING "Path to swift performance testsuite repo.")
  if(EXISTS ${PERF_TESTSUITE_DIR}/CMakeLists.txt)
    add_subdirectory(${PERF_TESTSUITE_DIR})
  else()
    message(FATAL_ERROR "Can't find the Swift performance suite at ${PERF_TESTSUITE_DIR}/.")
  endif()
endif()

back to top