Skip to content

Commit

Permalink
Tweaked post build copying for x64
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed Aug 1, 2016
1 parent 623ce1e commit 34e6297
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Shared/XML/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ project "XML"
"*.cpp"
}

filter "system:windows"
filter {"system:windows", "platforms:x86"}
postbuildcommands {
copy "mta"
}
Expand Down
1 change: 1 addition & 0 deletions vendor/curl/lib/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ project "curl"
}
links { "ws2_32", "Normaliz" }

filter {"system:windows", "platforms:x86"}
postbuildcommands {
copy "mta"
}
Expand Down
3 changes: 3 additions & 0 deletions vendor/lua/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ if os.get() == "windows" then

configuration "windows"
defines { "LUA_BUILD_AS_DLL" }

filter "architecture:x64"
flags { "ExcludeFromBuild" }
end
1 change: 1 addition & 0 deletions vendor/pcre/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ project "pcre"
kind "SharedLib"
targetdir(buildpath("server/mods/deathmatch"))

filter {"system:windows", "platforms:x86"}
postbuildcommands {
copy "mods/deathmatch"
}
Expand Down
4 changes: 3 additions & 1 deletion vendor/pthreads/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ project "pthread"
"include/semaphore.h",
}

filter "system:windows"
filter {"system:windows", "platforms:x86"}
postbuildcommands {
copy "mta"
}

filter "system:windows"
defines {
"HAVE_PTW32_CONFIG_H",
"PTW32_BUILD_INLINED"
Expand Down

0 comments on commit 34e6297

Please sign in to comment.