forked from RaphaelIT7/garrysmod_common
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerator.v2.lua
More file actions
17 lines (12 loc) · 745 Bytes
/
generator.v2.lua
File metadata and controls
17 lines (12 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- Version 2 of the project generator
assert(_ACTION ~= nil, "no action (vs20**, gmake or xcode for example) provided!")
include("premake/generator_version.lua")
local default_project_generator_version = 2
local requested_version
PROJECT_GENERATOR_VERSION, requested_version = GetRequestedProjectGeneratorVersionOrDefault(default_project_generator_version)
if requested_version and PROJECT_GENERATOR_VERSION ~= default_project_generator_version then
error(string.format("environment variable PROJECT_GENERATOR_VERSION (%d) doesn't match this generators version (%d)", PROJECT_GENERATOR_VERSION, default_project_generator_version))
end
include("premake/config.v2.default.lua")
dofileopt("config.v2.lua")
include("premake/generator.lua")