Fixed premake5 excludes
- Premake now excludes non-Linux folders from Linux builds - Premake now excludes non-Windows folders from Windows builds
This commit is contained in:
parent
8ece539976
commit
7e870970a9
1 changed files with 8 additions and 14 deletions
|
@ -59,12 +59,10 @@ project "Engine"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
staticruntime "on"
|
staticruntime "on"
|
||||||
|
|
||||||
excludes
|
filter "files:%{prj.location}/src/Platform/OS/Linux/**"
|
||||||
{
|
flags "ExcludeFromBuild"
|
||||||
"%{prj.location}/src/Platform/OS/Linux/**",
|
filter "files:%{prj.location}/src/Platform/OS/Mac/**"
|
||||||
"%{prj.location}/src/Platform/OS/Mac/**",
|
flags "ExcludeFromBuild"
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
links
|
links
|
||||||
{
|
{
|
||||||
|
@ -87,14 +85,10 @@ project "Engine"
|
||||||
"-lpthread",
|
"-lpthread",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- why this no work? :c
|
filter "files:src/Platform/GraphicsAPI/DirectX/**.**"
|
||||||
excludes
|
flags "ExcludeFromBuild"
|
||||||
{
|
filter "files:src/Platform/OS/Windows/**.**"
|
||||||
"%{prj.location}/src/Platform/GraphicsAPI/DirectX/**",
|
flags "ExcludeFromBuild"
|
||||||
|
|
||||||
"%{prj.location}/src/Platform/OS/Windows/**",
|
|
||||||
"%{prj.location}/src/Platform/OS/Mac/**",
|
|
||||||
}
|
|
||||||
|
|
||||||
-- debug
|
-- debug
|
||||||
filter "configurations:Debug"
|
filter "configurations:Debug"
|
||||||
|
|
Loading…
Add table
Reference in a new issue