1# Configure the Shell test suite. 2configure_lit_site_cfg( 3 ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in 4 ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py 5 MAIN_CONFIG 6 ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py) 7configure_file( 8 ${CMAKE_CURRENT_SOURCE_DIR}/lit-lldb-init.in 9 ${CMAKE_CURRENT_BINARY_DIR}/lit-lldb-init) 10 11if (CMAKE_GENERATOR STREQUAL "Xcode") 12 # Xcode does not get the auto-generated targets. We need to create 13 # check-lldb-shell manually. 14 add_lit_testsuite(check-lldb-shell "Running lldb shell test suite" 15 ${CMAKE_CURRENT_BINARY_DIR} 16 DEPENDS lldb-test-deps) 17endif() 18