Browse Source

Updating code to match bx.

Branimir Karadžić 9 years ago
parent
commit
c992291e94

+ 1 - 1
examples/common/entry/cmd.cpp

@@ -10,7 +10,7 @@
 
 #include <bx/allocator.h>
 #include <bx/hash.h>
-#include <bx/tokenizecmd.h>
+#include <bx/commandline.h>
 
 #include "dbg.h"
 #include "cmd.h"

+ 4 - 0
scripts/geometryc.lua

@@ -25,6 +25,10 @@ project "geometryc"
 		path.join(BGFX_DIR, "examples/common/bounds.**"),
 	}
 
+	links {
+		"bx",
+	}
+
 	configuration { "mingw-*" }
 		targetextension ".exe"
 

+ 4 - 0
scripts/shaderc.lua

@@ -107,6 +107,10 @@ project "shaderc"
 		"OptimizeSpeed",
 	}
 
+	links {
+		"bx",
+	}
+
 	configuration { "vs*" }
 		includedirs {
 			path.join(GLSL_OPTIMIZER, "src/glsl/msvc"),

+ 4 - 0
scripts/texturec.lua

@@ -37,6 +37,10 @@ project "texturec"
 		path.join(BGFX_DIR, "tools/texturec/**.h"),
 	}
 
+	links {
+		"bx",
+	}
+
 	configuration { "mingw-*" }
 		targetextension ".exe"
 

+ 1 - 0
scripts/texturev.lua

@@ -21,6 +21,7 @@ project ("texturev")
 	links {
 		"example-common",
 		"bgfx",
+		"bx",
 	}
 
 	if _OPTIONS["with-sdl"] then

+ 0 - 1
tools/geometryc/geometryc.cpp

@@ -61,7 +61,6 @@ namespace stl = tinystl;
 #include <bx/hash.h>
 #include <bx/uint32_t.h>
 #include <bx/fpumath.h>
-#include <bx/tokenizecmd.h>
 #include <bx/crtimpl.h>
 
 #include "bounds.h"

+ 1 - 1
tools/shaderc/shaderc.cpp

@@ -4,7 +4,7 @@
  */
 
 #include "shaderc.h"
-#include <bx/tokenizecmd.h>
+#include <bx/commandline.h>
 
 #define MAX_TAGS 256
 extern "C"