Fix some minor issues with release build
This commit is contained in:
parent
4e30af55b8
commit
7f83f6d506
@ -12,16 +12,6 @@
|
||||
_WORKING_DIR = os.getcwd()
|
||||
|
||||
|
||||
--
|
||||
-- Create a top-level namespace for Premake's own APIs. The premake5 namespace
|
||||
-- is a place to do next-gen (4.5) work without breaking the existing code (yet).
|
||||
-- I think it will eventually go away.
|
||||
--
|
||||
|
||||
premake = { }
|
||||
premake5 = { }
|
||||
|
||||
|
||||
--
|
||||
-- Inject a new target platform into each solution; called if the --platform
|
||||
-- argument was specified on the command line.
|
||||
|
@ -4,6 +4,15 @@
|
||||
-- Copyright (c) 2002-2011 Jason Perkins and the Premake project
|
||||
--
|
||||
|
||||
--
|
||||
-- Create a top-level namespace for Premake's own APIs. The premake5 namespace
|
||||
-- is a place to do next-gen (4.5) work without breaking the existing code (yet).
|
||||
-- I think it will eventually go away.
|
||||
--
|
||||
|
||||
premake = { }
|
||||
premake5 = { }
|
||||
|
||||
|
||||
-- The list of supported platforms; also update list in cmdline.lua
|
||||
|
||||
|
@ -228,19 +228,6 @@
|
||||
function project.getsourcetree(prj)
|
||||
local tr = premake.tree.new(prj.name)
|
||||
|
||||
--[[
|
||||
local isvpath
|
||||
local function onadd(node)
|
||||
node.isvpath = isvpath
|
||||
end
|
||||
|
||||
for fcfg in premake.project.eachfile(prj) do
|
||||
isvpath = (fcfg.name ~= fcfg.vpath)
|
||||
local node = premake.tree.add(tr, fcfg.vpath, onadd)
|
||||
node.cfg = fcfg
|
||||
end
|
||||
--]]
|
||||
|
||||
for fcfg in project.eachfile(prj) do
|
||||
local node = premake.tree.add(tr, fcfg.fullpath)
|
||||
node.cfg = fcfg
|
||||
|
@ -166,4 +166,4 @@
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user