mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix issue #7, add #pragma once to generated header
This commit is contained in:
parent
193d723234
commit
9e777f256b
@ -1867,6 +1867,8 @@ int main( int argc, char **argv )
|
|||||||
std::ofstream ofs( "vk_cpp.h" );
|
std::ofstream ofs( "vk_cpp.h" );
|
||||||
ofs << licenseHeader << std::endl;
|
ofs << licenseHeader << std::endl;
|
||||||
|
|
||||||
|
ofs << std::endl << "#pragma once" << std::endl;
|
||||||
|
|
||||||
ofs << "#include <array>" << std::endl
|
ofs << "#include <array>" << std::endl
|
||||||
<< "#include <cstdint>" << std::endl
|
<< "#include <cstdint>" << std::endl
|
||||||
<< "#include <cstring>" << std::endl
|
<< "#include <cstring>" << std::endl
|
||||||
|
1
tinyxml2
Submodule
1
tinyxml2
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c8dad95d4488663c0381d502b3274df7dbf2fc55
|
@ -24,8 +24,11 @@
|
|||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
|
#pragma once
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <stdint.h>
|
#include <cstdint>
|
||||||
|
#include <cstring>
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
#ifdef VKCPP_ENHANCED_MODE
|
#ifdef VKCPP_ENHANCED_MODE
|
||||||
# include <vector>
|
# include <vector>
|
||||||
|
Loading…
Reference in New Issue
Block a user