build: the server workspace builds the core from ../core
There is one copy of the core in this repo. The server's premake includes ../core instead of its old ocgcore submodule, gframe takes its headers from there, and the core's premake takes the Lua include dir the server workspace resolves (LUA_INCLUDE_DIR) instead of assuming a sibling lua/. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
3993b8c5e5
commit
8945edc9e2
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ project "ocgcore"
|
||||
files { "*.cpp", "*.h" }
|
||||
|
||||
if BUILD_LUA then
|
||||
includedirs { "../lua/src" }
|
||||
includedirs { LUA_INCLUDE_DIR or "../lua/src" }
|
||||
else
|
||||
includedirs { LUA_INCLUDE_DIR }
|
||||
end
|
||||
|
||||
@@ -55,7 +55,7 @@ else
|
||||
}
|
||||
end
|
||||
|
||||
includedirs { "../ocgcore" }
|
||||
includedirs { "../../core" }
|
||||
links { "ocgcore" }
|
||||
|
||||
for _, dep in ipairs(DEPENDENCIES_METADATA) do
|
||||
|
||||
+1
-1
@@ -779,7 +779,7 @@ end
|
||||
|
||||
filter {}
|
||||
|
||||
include "ocgcore"
|
||||
include "../core"
|
||||
include "gframe"
|
||||
for _, dep in ipairs(DEPENDENCIES_METADATA) do
|
||||
if DependencyEnabled(dep) and _G["BUILD_" .. string.upper(dep.name)] then
|
||||
|
||||
Reference in new issue
Block a user