mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-06-04 10:58:02 +00:00
17 lines
574 B
CMake
17 lines
574 B
CMake
# Copyright 2023 The Khronos Group Inc.
|
|
# Copyright 2023 Valve Corporation
|
|
# Copyright 2023 LunarG, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
if(${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
|
|
add_compile_options(-Wpedantic -Wall -Wextra -Werror)
|
|
endif()
|
|
|
|
if (MSVC)
|
|
add_compile_options(/W4 /permissive- /WX)
|
|
endif()
|
|
|
|
# Test vk_enum_string_helper.h
|
|
add_executable(vk_enum_string_helper vk_enum_string_helper.cpp)
|
|
target_include_directories(vk_enum_string_helper PRIVATE ${VUL_SOURCE_DIR}/include)
|
|
target_link_libraries(vk_enum_string_helper PRIVATE Vulkan::Headers)
|