|
@@ -87,7 +87,7 @@ def createLUABindings(inputPath, prefix, mainInclude, libSmallName, libName, api
|
|
|
if inputPathIsDir:
|
|
if inputPathIsDir:
|
|
|
fileName = "%s/%s" % (inputPath, fileName)
|
|
fileName = "%s/%s" % (inputPath, fileName)
|
|
|
head, tail = os.path.split(fileName)
|
|
head, tail = os.path.split(fileName)
|
|
|
- ignore = ["PolyGLSLProgram", "PolyGLSLShader", "PolyGLSLShaderModule", "PolyWinCore", "PolyCocoaCore", "PolyAGLCore", "PolySDLCore", "Poly_iPhone", "PolyGLES1Renderer", "PolyGLRenderer", "tinyxml", "tinystr", "OpenGLCubemap", "PolyiPhoneCore", "PolyGLES1Texture", "PolyGLTexture", "PolyGLVertexBuffer", "PolyThreaded", "PolyGLHeaders", "GLee"]
|
|
|
|
|
|
|
+ ignore = ["PolyGLSLProgram", "PolyGLSLShader", "PolyGLSLShaderModule", "PolyWinCore", "PolyCocoaCore", "PolyAGLCore", "PolySDLCore", "Poly_iPhone", "PolyGLES1Renderer", "PolyGLRenderer", "tinyxml", "tinystr", "OpenGLCubemap", "PolyiPhoneCore", "PolyGLES1Texture", "PolyGLTexture", "PolyGLVertexBuffer", "PolyThreaded", "PolyGLHeaders", "GLee", "PolyPeer", "PolySocket", "PolyClient", "PolyServer", "PolyServerWorld"]
|
|
|
if tail.split(".")[1] == "h" and tail.split(".")[0] not in ignore:
|
|
if tail.split(".")[1] == "h" and tail.split(".")[0] not in ignore:
|
|
|
filteredFiles.append(fileName)
|
|
filteredFiles.append(fileName)
|
|
|
wrappersHeaderOut += "#include \"%s\"\n" % (tail)
|
|
wrappersHeaderOut += "#include \"%s\"\n" % (tail)
|
|
@@ -615,4 +615,4 @@ if len(sys.argv) < 10:
|
|
|
print ("Usage:\n%s [input path] [prefix] [main include] [lib small name] [lib name] [api path] [api class-path] [include path] [source path] [inherit-in-module-file path (optional)]" % (sys.argv[0]))
|
|
print ("Usage:\n%s [input path] [prefix] [main include] [lib small name] [lib name] [api path] [api class-path] [include path] [source path] [inherit-in-module-file path (optional)]" % (sys.argv[0]))
|
|
|
sys.exit(1)
|
|
sys.exit(1)
|
|
|
else:
|
|
else:
|
|
|
- createLUABindings(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6], sys.argv[7], sys.argv[8], sys.argv[9], sys.argv[10] if len(sys.argv)>10 else None)
|
|
|
|
|
|
|
+ createLUABindings(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6], sys.argv[7], sys.argv[8], sys.argv[9], sys.argv[10] if len(sys.argv)>10 else None)
|