mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
Cleanup.
This commit is contained in:
2
makefile
2
makefile
@@ -20,7 +20,7 @@ endif
|
||||
|
||||
# $(info $(OS))
|
||||
|
||||
GENIE ?= ../bx/tools/bin/$(OS)/genie $(GENIE_FLAGS)
|
||||
GENIE?=../bx/tools/bin/$(OS)/genie $(GENIE_FLAGS)
|
||||
|
||||
all:
|
||||
$(GENIE) --with-tools --with-shared-lib vs2008
|
||||
|
||||
@@ -66,12 +66,12 @@ solution "bgfx"
|
||||
startproject "example-00-helloworld"
|
||||
|
||||
BGFX_DIR = path.getabsolute("..")
|
||||
BX_DIR = os.getenv("BX_DIR")
|
||||
BX_DIR = os.getenv("BX_DIR")
|
||||
|
||||
local BGFX_BUILD_DIR = path.join(BGFX_DIR, ".build")
|
||||
local BGFX_THIRD_PARTY_DIR = path.join(BGFX_DIR, "3rdparty")
|
||||
if not BX_DIR then
|
||||
BX_DIR = path.getabsolute(path.join(BGFX_DIR, "../bx"))
|
||||
BX_DIR = path.getabsolute(path.join(BGFX_DIR, "../bx"))
|
||||
end
|
||||
|
||||
if not os.isdir(BX_DIR) then
|
||||
|
||||
Reference in New Issue
Block a user