Changeset View
Changeset View
Standalone View
Standalone View
build/premake/premake5.lua
Show First 20 Lines • Show All 724 Lines • ▼ Show 20 Lines | function setup_all_libs () | ||||
setup_static_lib_project("engine", source_dirs, extern_libs, {}) | setup_static_lib_project("engine", source_dirs, extern_libs, {}) | ||||
source_dirs = { | source_dirs = { | ||||
"graphics", | "graphics", | ||||
"graphics/scripting", | "graphics/scripting", | ||||
"renderer", | "renderer", | ||||
"renderer/scripting", | "renderer/scripting", | ||||
"third_party/mikktspace" | "third_party/mikktspace", | ||||
"third_party/ogre3d_preprocessor" | |||||
} | } | ||||
extern_libs = { | extern_libs = { | ||||
"opengl", | "opengl", | ||||
"sdl", -- key definitions | "sdl", -- key definitions | ||||
"spidermonkey", -- for graphics/scripting | "spidermonkey", -- for graphics/scripting | ||||
"boost" | "boost" | ||||
} | } | ||||
if not _OPTIONS["without-nvtt"] then | if not _OPTIONS["without-nvtt"] then | ||||
table.insert(extern_libs, "nvtt") | table.insert(extern_libs, "nvtt") | ||||
end | end | ||||
setup_static_lib_project("graphics", source_dirs, extern_libs, {}) | setup_static_lib_project("graphics", source_dirs, extern_libs, {}) | ||||
source_dirs = { | source_dirs = { | ||||
"tools/atlas/GameInterface", | "tools/atlas/GameInterface", | ||||
elexis: I suppose this would be a nice addition that it is excluded from the projects that don't need… | |||||
Done Inline ActionsI can recheck but I believe I added it in those two places because they were the only one requiring it. Stan: I can recheck but I believe I added it in those two places because they were the only one… | |||||
"tools/atlas/GameInterface/Handlers" | "tools/atlas/GameInterface/Handlers" | ||||
} | } | ||||
extern_libs = { | extern_libs = { | ||||
"boost", | "boost", | ||||
"sdl", -- key definitions | "sdl", -- key definitions | ||||
"opengl", | "opengl", | ||||
"spidermonkey" | "spidermonkey" | ||||
} | } | ||||
▲ Show 20 Lines • Show All 690 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
I suppose this would be a nice addition that it is excluded from the projects that don't need it, and that this is more transparent that there is this one-file dependency.
It sounds a bit scary, like including the entire library. Perhaps it could be renamed to third_party/ogre3d_preprocessor until further content was added.