Skip to content

Commit

Permalink
build: Do not specialize source tree for API variants
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep authored and charles-lunarg committed Jun 24, 2024
1 parent 1b07de9 commit 60fe7d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (VUL_IS_TOP_LEVEL)
include(CMakePackageConfigHelpers)

install(
DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/${API_TYPE}/"
DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vulkan/"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/vulkan"
)

Expand Down
20 changes: 10 additions & 10 deletions scripts/generate_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,53 +44,53 @@ def RunGenerators(api: str, registry: str, targetFilter: str) -> None:
'vk_dispatch_table.h' : {
'generator' : DispatchTableOutputGenerator,
'genCombined': True,
'directory' : f'include/{api}/utility',
'directory' : f'include/vulkan/utility',
},
'vk_enum_string_helper.h' : {
'generator' : EnumStringHelperOutputGenerator,
'genCombined': True,
'directory' : f'include/{api}',
'directory' : f'include/vulkan',
},
'vk_format_utils.h' : {
'generator' : FormatUtilsOutputGenerator,
'genCombined': True,
'directory' : f'include/{api}/utility',
'directory' : f'include/vulkan/utility',
},
'vk_struct_helper.hpp' : {
'generator' : StructHelperOutputGenerator,
'genCombined': True,
'directory' : f'include/{api}/utility',
'directory' : f'include/vulkan/utility',
},
'vk_safe_struct.hpp' : {
'generator' : SafeStructOutputGenerator,
'genCombined': True,
'directory' : f'include/{api}/utility',
'directory' : f'include/vulkan/utility',
},
'vk_safe_struct_utils.cpp' : {
'generator' : SafeStructOutputGenerator,
'genCombined': True,
'directory' : f'src/{api}',
'directory' : f'src/vulkan',
},
'vk_safe_struct_core.cpp' : {
'generator' : SafeStructOutputGenerator,
'genCombined': True,
'regenerate' : True,
'directory' : f'src/{api}',
'directory' : f'src/vulkan',
},
'vk_safe_struct_khr.cpp' : {
'generator' : SafeStructOutputGenerator,
'genCombined': True,
'directory' : f'src/{api}',
'directory' : f'src/vulkan',
},
'vk_safe_struct_ext.cpp' : {
'generator' : SafeStructOutputGenerator,
'genCombined': True,
'directory' : f'src/{api}',
'directory' : f'src/vulkan',
},
'vk_safe_struct_vendor.cpp' : {
'generator' : SafeStructOutputGenerator,
'genCombined': True,
'directory' : f'src/{api}',
'directory' : f'src/vulkan',
},
}

Expand Down

0 comments on commit 60fe7d0

Please sign in to comment.