Added support for CUDA calls in sequence diagrams (#263)
This commit is contained in:
@@ -154,7 +154,20 @@ add_subdirectory(src)
|
||||
#
|
||||
option(BUILD_TESTS "" ON)
|
||||
option(ENABLE_CXX_MODULES_TEST_CASES "" OFF)
|
||||
option(ENABLE_CUDA_TEST_CASES "" OFF)
|
||||
|
||||
#
|
||||
# Setup CUDA if available
|
||||
#
|
||||
if(ENABLE_CUDA_TEST_CASES)
|
||||
include(CheckLanguage)
|
||||
check_language(CUDA)
|
||||
if(DEFINED CMAKE_CUDA_COMPILER)
|
||||
set(ENABLE_CUDA_TEST_CASES ON)
|
||||
endif(DEFINED CMAKE_CUDA_COMPILER)
|
||||
endif(ENABLE_CUDA_TEST_CASES)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
endif(BUILD_TESTS)
|
||||
|
||||
Reference in New Issue
Block a user