Fix some minor issues with release build

This commit is contained in:
Jason Perkins 2012-01-23 11:47:48 -05:00
parent 4e30af55b8
commit 7f83f6d506
4 changed files with 10 additions and 24 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -166,4 +166,4 @@
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
]]
end
end