HyperC Pre Process File Injection
:confused: https://www.codexcore.com/hyperc
Hyper C Compiler file inserts.
Code:
:>insert.code;
@{
char* impdata = ":$>insert.string";
};
Code:
// opengl shader import... ;
<c static const char* vertex_shader_source = "#version 330 core \n :$>shaders/vertex.glsl;";
<c static const char* fragment_shader_source = "#version 330 core \n :$>shaders/fragment.glsl;";
HyperC Command Line Options
Code:
-x : skip c compilation. i.e. construct file from base imports.
Code:
-w : use winMain() in place of main() using @{ } entry function.