Open source C and C++ developer focusing on small, easy to use libraries with no dependencies and simple build systems.
mackron / glbind Goto Github PK
View Code? Open in Web Editor NEWSingle file OpenGL API loader.
Single file OpenGL API loader.
Since glbOpenAndReadFileWithExtraData uses "rb" mode to open files, on Windows they will retain their CR (\r).
glbind/source/glbind_build.cpp
Line 140 in bb63d02
glbind/source/external/tinyxml2.cpp
Line 2176 in bb63d02
glbind/source/external/tinyxml2.cpp
Lines 280 to 292 in bb63d02
So, when the tags in the template file are replaced
glbind/source/glbind_build.cpp
Lines 1698 to 1706 in bb63d02
You can check this is the case by compiling and running the build code with MinGW.
Checking with git:
glbind $ git ls-files --eol
i/lf w/crlf attr/ .gitignore
i/lf w/crlf attr/ README.md
i/lf w/crlf attr/ build/README.md
i/lf w/crlf attr/ examples/01_Triangle/01_Triangle.c
i/lf w/crlf attr/ examples/99_ARB_shaders/99_ARB_shaders.c
i/lf w/crlf attr/ examples/99_ARB_shaders/resources/FragmentShader.txt
i/lf w/crlf attr/ examples/99_ARB_shaders/resources/VertexShader.txt
i/lf w/crlf attr/ examples/glbExamplesCommon.c
i/lf w/mixed attr/ glbind.h
i/lf w/crlf attr/ resources/README.md
i/lf w/crlf attr/ source/external/tinyxml2.cpp
i/lf w/crlf attr/ source/external/tinyxml2.h
i/lf w/crlf attr/ source/glbind_build.cpp
i/lf w/crlf attr/ source/glbind_template.h
I made a fix by stripping the CR's #1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.