We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a524d commit 446e301Copy full SHA for 446e301
src/nbl/builtin/builtinDataGen.py
@@ -17,18 +17,15 @@
17
cmakeSourceDir = sys.argv[2]
18
resourcesFile = sys.argv[3]
19
resourcesNamespace = sys.argv[4]
20
+ correspondingHeaderFile = sys.argv[5]
21
22
with open(resourcesFile, "r") as f:
23
resourcePaths = f.read().rstrip().split(',')
24
25
#opening a file
26
outp = open(outputFilename,"w+")
-
27
28
- outp.write("#include \"nbl/core/string/StringLiteral.h\"\n")
29
- outp.write("#include <cstdint>\n")
30
- outp.write("#include <unordered_map>\n");
31
- outp.write("#include <string>\n");
+
+ outp.write("#include \"" + correspondingHeaderFile + "\"\n")
32
outp.write("\tnamespace " + resourcesNamespace + " {\n")
33
34
outp.write("template<nbl::core::StringLiteral Path>")
0 commit comments