mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Adjustments in AppVeyor build.
This commit is contained in:
parent
570db4b0f0
commit
54b363320a
@ -70,6 +70,7 @@ build_script:
|
||||
-DSAMPLES_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
||||
-DTESTS_BUILD_ONLY_DYNAMIC=ON
|
||||
-DTESTS_BUILD_WITH_LOCAL_VULKAN_HPP=ON
|
||||
-DVULKAN_HPP_RUN_GENERATOR=ON
|
||||
-DCMAKE_BUILD_TYPE=%BUILD_TYPE%
|
||||
-DCMAKE_CXX_STANDARD=%CXX_STANDARD%
|
||||
- cmake --build . --config %CONFIGURATION%
|
||||
- cmake --build . --config %BUILD_TYPE%
|
||||
|
@ -59,7 +59,7 @@ endif()
|
||||
if (NOT DEFINED CMAKE_CXX_STANDARD)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
endif()
|
||||
set(CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
message("CMAKE_CXX_STANDARD = <${CMAKE_CXX_STANDARD}>")
|
||||
|
||||
|
@ -2518,8 +2518,12 @@ bool VulkanHppGenerator::appendCommandVoid2Return( std::string & s
|
||||
|
||||
void VulkanHppGenerator::appendDestroyCommand( std::string & str,
|
||||
std::string const & name,
|
||||
CommandData const & commandData,
|
||||
std::string const & handleName ) const
|
||||
CommandData const & commandData
|
||||
#if !defined( NDEBUG )
|
||||
,
|
||||
std::string const & handleName
|
||||
#endif
|
||||
) const
|
||||
{
|
||||
// special handling for destroy functions, filter out alias functions
|
||||
std::string commandName = determineCommandName( name, commandData.params[0].type.type, m_tags );
|
||||
@ -3178,7 +3182,14 @@ void VulkanHppGenerator::appendHandle( std::string & str, std::pair<std::string,
|
||||
|
||||
commands += "\n";
|
||||
appendCommand( commands, commandIt->first, commandIt->second, 1, false );
|
||||
appendDestroyCommand( commands, commandIt->first, commandIt->second, handleData.first );
|
||||
appendDestroyCommand( commands,
|
||||
commandIt->first,
|
||||
commandIt->second
|
||||
#if !defined( NDEBUG )
|
||||
,
|
||||
handleData.first
|
||||
#endif
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3201,7 +3212,14 @@ void VulkanHppGenerator::appendHandle( std::string & str, std::pair<std::string,
|
||||
determineCommandName( commandIt->first, commandIt->second.params[0].type.type, m_tags );
|
||||
commands += "\n";
|
||||
appendCommand( commands, commandIt->first, commandIt->second, 1, false );
|
||||
appendDestroyCommand( commands, commandIt->first, commandIt->second, handleData.first );
|
||||
appendDestroyCommand( commands,
|
||||
commandIt->first,
|
||||
commandIt->second
|
||||
#if !defined( NDEBUG )
|
||||
,
|
||||
handleData.first
|
||||
#endif
|
||||
);
|
||||
}
|
||||
commands += leave;
|
||||
}
|
||||
|
@ -495,8 +495,12 @@ private:
|
||||
std::vector<size_t> const & returnParamIndices ) const;
|
||||
void appendDestroyCommand( std::string & str,
|
||||
std::string const & name,
|
||||
CommandData const & commandData,
|
||||
std::string const & handleName ) const;
|
||||
CommandData const & commandData
|
||||
#if !defined( NDEBUG )
|
||||
,
|
||||
std::string const & handleName
|
||||
#endif
|
||||
) const;
|
||||
void appendDispatchLoaderDynamicCommand( std::string & str,
|
||||
std::string & emptyFunctions,
|
||||
std::string & deviceFunctions,
|
||||
|
Loading…
Reference in New Issue
Block a user