mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Mark all projects as C++-only. (#1554)
This commit is contained in:
parent
be1bb7645f
commit
bf8bee64e1
@ -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})
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(RAII_utils)
|
||||
project(RAII_utils LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
shaders.hpp
|
||||
|
@ -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)
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(utils)
|
||||
project(utils LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
math.hpp
|
||||
|
@ -15,7 +15,7 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
project(ArrayProxy)
|
||||
project(ArrayProxy LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -15,7 +15,7 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
project(ArrayProxyNoTemporaries)
|
||||
project(ArrayProxyNoTemporaries LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -18,7 +18,7 @@ if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
|
||||
find_package(Vulkan REQUIRED)
|
||||
|
||||
project(DeviceFunctions)
|
||||
project(DeviceFunctions LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(DispatchLoaderDynamic)
|
||||
project(DispatchLoaderDynamic LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(DispatchLoaderDynamicSharedLibrary)
|
||||
project(DispatchLoaderDynamicSharedLibrary LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(DispatchLoaderDynamicSharedLibraryClient)
|
||||
project(DispatchLoaderDynamicSharedLibraryClient LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -18,7 +18,7 @@ if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
|
||||
find_package(Vulkan REQUIRED)
|
||||
|
||||
project(DispatchLoaderStatic)
|
||||
project(DispatchLoaderStatic LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(ExtensionInspection)
|
||||
project(ExtensionInspection LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(Flags)
|
||||
project(Flags LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(FormatTraits)
|
||||
project(FormatTraits LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -15,7 +15,7 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
project(Hash)
|
||||
project(Hash LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(NoExceptions)
|
||||
project(NoExceptions LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -15,7 +15,7 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
|
||||
project(StridedArrayProxy)
|
||||
project(StridedArrayProxy LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(StructureChain)
|
||||
project(StructureChain LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(UniqueHandle)
|
||||
project(UniqueHandle LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(UniqueHandleDefaultArguments)
|
||||
project(UniqueHandleDefaultArguments LANGUAGES CXX)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user