Cleanup.
This commit is contained in:
parent
89a8617ac8
commit
f3552ff7d1
2
makefile
2
makefile
@ -20,7 +20,7 @@ endif
|
|||||||
|
|
||||||
# $(info $(OS))
|
# $(info $(OS))
|
||||||
|
|
||||||
GENIE ?= ../bx/tools/bin/$(OS)/genie $(GENIE_FLAGS)
|
GENIE?=../bx/tools/bin/$(OS)/genie $(GENIE_FLAGS)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(GENIE) --with-tools --with-shared-lib vs2008
|
$(GENIE) --with-tools --with-shared-lib vs2008
|
||||||
|
@ -66,12 +66,12 @@ solution "bgfx"
|
|||||||
startproject "example-00-helloworld"
|
startproject "example-00-helloworld"
|
||||||
|
|
||||||
BGFX_DIR = path.getabsolute("..")
|
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_BUILD_DIR = path.join(BGFX_DIR, ".build")
|
||||||
local BGFX_THIRD_PARTY_DIR = path.join(BGFX_DIR, "3rdparty")
|
local BGFX_THIRD_PARTY_DIR = path.join(BGFX_DIR, "3rdparty")
|
||||||
if not BX_DIR then
|
if not BX_DIR then
|
||||||
BX_DIR = path.getabsolute(path.join(BGFX_DIR, "../bx"))
|
BX_DIR = path.getabsolute(path.join(BGFX_DIR, "../bx"))
|
||||||
end
|
end
|
||||||
|
|
||||||
if not os.isdir(BX_DIR) then
|
if not os.isdir(BX_DIR) then
|
||||||
|
Loading…
Reference in New Issue
Block a user