Mark all projects as C++-only. (#1554)

This commit is contained in:
Andreas Süßenbach 2023-04-05 09:50:26 +02:00 committed by GitHub
parent be1bb7645f
commit bf8bee64e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 21 additions and 28 deletions

View File

@ -28,7 +28,7 @@ cmake_minimum_required(VERSION 3.12)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
project(VulkanHppGenerator)
project(VulkanHppGenerator LANGUAGES CXX)
find_program(CLANG_FORMAT_EXECUTABLE NAMES clang-format)
@ -186,7 +186,7 @@ function(vulkan_hpp__setup_sample)
message(FATAL_ERROR "NAME must be defined in vulkan_hpp__setup_sample")
endif()
project(${TARGET_NAME})
project(${TARGET_NAME} LANGUAGES CXX)
add_executable(${TARGET_NAME} ${TARGET_HEADERS} ${TARGET_SOURCES})

View File

@ -14,8 +14,6 @@
cmake_minimum_required(VERSION 3.2)
project(Vulkan-Hpp_RAIISamples)
option (SAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP "Build with local Vulkan headers" ON)
option (SAMPLES_BUILD_ONLY_DYNAMIC "Build only dynamic. Required in case the Vulkan SDK is not available" OFF)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(RAII_utils)
project(RAII_utils LANGUAGES CXX)
set(HEADERS
shaders.hpp

View File

@ -14,8 +14,6 @@
cmake_minimum_required(VERSION 3.2)
project(Vulkan-Hpp_Samples)
option (SAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP "Build with local Vulkan headers" ON)
option (SAMPLES_BUILD_ONLY_DYNAMIC "Build only dynamic. Required in case the Vulkan SDK is not available" OFF)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(utils)
project(utils LANGUAGES CXX)
set(HEADERS
math.hpp

View File

@ -15,7 +15,7 @@
cmake_minimum_required(VERSION 3.2)
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
project(ArrayProxy)
project(ArrayProxy LANGUAGES CXX)
set(HEADERS
)

View File

@ -15,7 +15,7 @@
cmake_minimum_required(VERSION 3.2)
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
project(ArrayProxyNoTemporaries)
project(ArrayProxyNoTemporaries LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,9 +14,6 @@
cmake_minimum_required(VERSION 3.2)
project(Vulkan-Hpp_Tests)
option (TESTS_BUILD_WITH_LOCAL_VULKAN_HPP "Build with local Vulkan headers" ON)
option (TESTS_BUILD_ONLY_DYNAMIC "Build only dynamic" OFF)

View File

@ -15,7 +15,7 @@
cmake_minimum_required(VERSION 3.2)
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
project(DesignatedInitializers)
project(DesignatedInitializers LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)

View File

@ -18,7 +18,7 @@ if (NOT TESTS_BUILD_ONLY_DYNAMIC)
find_package(Vulkan REQUIRED)
project(DeviceFunctions)
project(DeviceFunctions LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(DispatchLoaderDynamic)
project(DispatchLoaderDynamic LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(DispatchLoaderDynamicSharedLibrary)
project(DispatchLoaderDynamicSharedLibrary LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(DispatchLoaderDynamicSharedLibraryClient)
project(DispatchLoaderDynamicSharedLibraryClient LANGUAGES CXX)
set(HEADERS
)

View File

@ -18,7 +18,7 @@ if (NOT TESTS_BUILD_ONLY_DYNAMIC)
find_package(Vulkan REQUIRED)
project(DispatchLoaderStatic)
project(DispatchLoaderStatic LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(ExtensionInspection)
project(ExtensionInspection LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(Flags)
project(Flags LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(FormatTraits)
project(FormatTraits LANGUAGES CXX)
set(HEADERS
)

View File

@ -15,7 +15,7 @@
cmake_minimum_required(VERSION 3.2)
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
project(Hash)
project(Hash LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(NoExceptions)
project(NoExceptions LANGUAGES CXX)
set(HEADERS
)

View File

@ -15,7 +15,7 @@
cmake_minimum_required(VERSION 3.2)
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
project(StridedArrayProxy)
project(StridedArrayProxy LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(StructureChain)
project(StructureChain LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(UniqueHandle)
project(UniqueHandle LANGUAGES CXX)
set(HEADERS
)

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.2)
project(UniqueHandleDefaultArguments)
project(UniqueHandleDefaultArguments LANGUAGES CXX)
set(HEADERS
)