Vulkan-Hpp/tests/CMakeLists.txt

60 lines
2.2 KiB
CMake

# Copyright(c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
add_subdirectory( ArrayProxy )
add_subdirectory( ArrayProxyNoTemporaries )
add_subdirectory( ArrayWrapper )
if( VULKAN_HPP_ENABLE_CPP20_MODULES )
add_subdirectory( Cpp20Modules )
if( VULKAN_HPP_ENABLE_STD_MODULE )
add_subdirectory( CppStdModule )
endif()
endif()
add_subdirectory( CppType )
if( CMAKE_CXX_STANDARD GREATER_EQUAL 20 )
add_subdirectory( DesignatedInitializers )
endif()
add_subdirectory( DeviceFunctions )
add_subdirectory( DispatchLoaderDynamic )
add_subdirectory( DispatchLoaderDynamicSharedLibrary )
add_subdirectory( DispatchLoaderDynamicSharedLibraryClient )
add_subdirectory( DispatchLoaderStatic )
add_subdirectory( EnableBetaExtensions )
if( CMAKE_CXX_STANDARD GREATER_EQUAL 20 )
add_subdirectory( ExtensionInspection )
endif()
add_subdirectory( Flags )
add_subdirectory( FormatTraits )
add_subdirectory( FunctionCalls )
add_subdirectory( FunctionCallsRAII )
add_subdirectory( Handles )
add_subdirectory( HandlesMoveExchange )
add_subdirectory( Hash )
add_subdirectory( NoDefaultDispatcher )
add_subdirectory( NoExceptions )
if( ( CMAKE_CXX_STANDARD GREATER_EQUAL 23 ) AND NOT ( ( CMAKE_CXX_COMPILER_ID STREQUAL "Clang" ) AND ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 15.0 ) ) )
# This test is for C++23 only... but clang++13 and clang++14 seem to have a problem with it
add_subdirectory( NoExceptionsRAII )
endif()
add_subdirectory( StridedArrayProxy )
add_subdirectory( StructureChain )
add_subdirectory( UniqueHandle )
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_subdirectory( UniqueHandleDefaultArguments )
endif()
add_subdirectory( Video )
if( VULKAN_HPP_ENABLE_CPP20_MODULES )
add_subdirectory( VideoCpp20Modules )
endif()