2018-09-19 19:49:43 +08:00
|
|
|
# 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.
|
|
|
|
|
|
2023-04-20 22:50:26 +08:00
|
|
|
add_subdirectory( ArrayProxy )
|
|
|
|
|
add_subdirectory( ArrayProxyNoTemporaries )
|
2023-10-17 14:52:54 +08:00
|
|
|
add_subdirectory( ArrayWrapper )
|
2023-10-18 19:45:14 +08:00
|
|
|
if( VULKAN_HPP_ENABLE_CPP20_MODULES )
|
|
|
|
|
add_subdirectory( Cpp20Modules )
|
2025-08-14 21:40:20 +08:00
|
|
|
if( VULKAN_HPP_ENABLE_STD_MODULE )
|
|
|
|
|
add_subdirectory( CppStdModule )
|
|
|
|
|
endif()
|
2023-10-18 19:45:14 +08:00
|
|
|
endif()
|
2024-03-19 21:07:03 +08:00
|
|
|
add_subdirectory( CppType )
|
2025-08-14 21:40:20 +08:00
|
|
|
if( CMAKE_CXX_STANDARD GREATER_EQUAL 20 )
|
|
|
|
|
add_subdirectory( DesignatedInitializers )
|
|
|
|
|
endif()
|
2023-04-20 22:50:26 +08:00
|
|
|
add_subdirectory( DeviceFunctions )
|
|
|
|
|
add_subdirectory( DispatchLoaderDynamic )
|
|
|
|
|
add_subdirectory( DispatchLoaderDynamicSharedLibrary )
|
|
|
|
|
add_subdirectory( DispatchLoaderDynamicSharedLibraryClient )
|
|
|
|
|
add_subdirectory( DispatchLoaderStatic )
|
2023-06-13 20:24:10 +08:00
|
|
|
add_subdirectory( EnableBetaExtensions )
|
2025-08-14 21:40:20 +08:00
|
|
|
if( CMAKE_CXX_STANDARD GREATER_EQUAL 20 )
|
|
|
|
|
add_subdirectory( ExtensionInspection )
|
|
|
|
|
endif()
|
2023-04-20 22:50:26 +08:00
|
|
|
add_subdirectory( Flags )
|
|
|
|
|
add_subdirectory( FormatTraits )
|
2025-09-23 19:50:37 +08:00
|
|
|
add_subdirectory( FunctionCalls )
|
|
|
|
|
add_subdirectory( FunctionCallsRAII )
|
2023-06-22 15:07:26 +08:00
|
|
|
add_subdirectory( Handles )
|
2024-07-23 15:55:09 +08:00
|
|
|
add_subdirectory( HandlesMoveExchange )
|
2023-04-20 22:50:26 +08:00
|
|
|
add_subdirectory( Hash )
|
2025-11-12 17:08:57 +08:00
|
|
|
add_subdirectory( NoDefaultDispatcher )
|
2023-04-20 22:50:26 +08:00
|
|
|
add_subdirectory( NoExceptions )
|
2025-08-14 21:40:20 +08:00
|
|
|
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
|
2024-01-02 20:47:01 +08:00
|
|
|
add_subdirectory( NoExceptionsRAII )
|
|
|
|
|
endif()
|
2023-04-20 22:50:26 +08:00
|
|
|
add_subdirectory( StridedArrayProxy )
|
|
|
|
|
add_subdirectory( StructureChain )
|
|
|
|
|
add_subdirectory( UniqueHandle )
|
2023-10-18 19:45:14 +08:00
|
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
|
|
|
add_subdirectory( UniqueHandleDefaultArguments )
|
2023-06-28 20:10:51 +08:00
|
|
|
endif()
|
2024-12-02 15:51:02 +08:00
|
|
|
add_subdirectory( Video )
|
2025-05-16 00:11:27 +08:00
|
|
|
if( VULKAN_HPP_ENABLE_CPP20_MODULES )
|
|
|
|
|
add_subdirectory( VideoCpp20Modules )
|
|
|
|
|
endif()
|