diff options
Diffstat (limited to 'premake5.lua')
-rw-r--r-- | premake5.lua | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/premake5.lua b/premake5.lua index a1a7f1dc..2fe5cc97 100644 --- a/premake5.lua +++ b/premake5.lua @@ -63,10 +63,10 @@ function getarch(a) return a end -workspace "reVC" +workspace "reLCS" language "C++" configurations { "Debug", "Release" } - startproject "reVC" + startproject "reLCS" location "build" symbols "Full" staticruntime "off" @@ -227,9 +227,9 @@ local function addSrcFiles( prefix ) return prefix .. "/*cpp", prefix .. "/*.h", prefix .. "/*.c", prefix .. "/*.ico", prefix .. "/*.rc" end -project "reVC" +project "reLCS" kind "WindowedApp" - targetname "reVC" + targetname "reLCS" targetdir "bin/%{cfg.platform}/%{cfg.buildcfg}" files { addSrcFiles("src") } @@ -242,6 +242,7 @@ project "reVC" files { addSrcFiles("src/control") } files { addSrcFiles("src/core") } files { addSrcFiles("src/entities") } + files { addSrcFiles("src/leeds/base") } files { addSrcFiles("src/math") } files { addSrcFiles("src/modelinfo") } files { addSrcFiles("src/objects") } @@ -266,6 +267,7 @@ project "reVC" includedirs { "src/control" } includedirs { "src/core" } includedirs { "src/entities" } + includedirs { "src/leeds/base" } includedirs { "src/math" } includedirs { "src/modelinfo" } includedirs { "src/objects" } @@ -304,8 +306,8 @@ project "reVC" defines { "AUDIO_OAL" } filter {} - if(os.getenv("GTA_VC_RE_DIR")) then - setpaths("$(GTA_VC_RE_DIR)/", "%(cfg.buildtarget.name)") + if(os.getenv("GTA_LCS_RE_DIR")) then + setpaths("$(GTA_LCS_RE_DIR)/", "%(cfg.buildtarget.name)") end filter "platforms:win*" |