Skip to content

Commit

Permalink
Update premake5.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
anzz1 authored Oct 18, 2023
1 parent 0fc1b8d commit 3d5352e
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions premake5.lua
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
workspace "openspy-client"
configurations { "Release" }
platforms { "Win32", "x64" }
location "build"
objdir ("build/obj")
buildlog ("build/log/%{prj.name}.log")
configurations { "Release" }
platforms { "Win32", "x64" }
location "build"
objdir ("build/obj")
buildlog ("build/log/%{prj.name}.log")

characterset ("MBCS")
staticruntime "Off"
exceptionhandling "Off"
floatingpoint "Fast"
floatingpointexceptions "Off"
intrinsics "On"
rtti "Off"
flags { "NoBufferSecurityCheck", "NoIncrementalLink", "NoManifest", "NoPCH", "NoRuntimeChecks", "OmitDefaultLibrary" }
buildoptions { "/kernel", "/Gs1000000" }
linkoptions { "/kernel", "/SAFESEH:NO", "/GUARD:NO", "/EMITPOGOPHASEINFO", "/RELEASE", "/DEBUG:NONE", "/NOIMPLIB", "/NOEXP", "/IGNORE:4104" }
characterset ("ASCII")
staticruntime "Off"
exceptionhandling "Off"
floatingpoint "Fast"
floatingpointexceptions "Off"
intrinsics "On"
rtti "Off"
flags { "NoBufferSecurityCheck", "NoIncrementalLink", "NoManifest", "NoPCH", "NoRuntimeChecks", "OmitDefaultLibrary" }
buildoptions { "/kernel", "/Gs1000000" }
linkoptions { "/kernel", "/SAFESEH:NO", "/GUARD:NO", "/EMITPOGOPHASEINFO", "/RELEASE", "/DEBUG:NONE", "/NOIMPLIB", "/NOEXP", "/IGNORE:4104" }

filter "configurations:Release"
runtime "Release"
defines "NDEBUG"
optimize "Speed"
symbols "Off"
filter "configurations:Release"
runtime "Release"
defines "NDEBUG"
optimize "Speed"
symbols "Off"

filter "platforms:Win32"
architecture "x86"
filter "platforms:Win32"
architecture "x86"

filter "platforms:x64"
architecture "x64"
linkoptions { "/HIGHENTROPYVA:NO" }
filter "platforms:x64"
architecture "x64"
linkoptions { "/HIGHENTROPYVA:NO" }

project "openspy-client"
kind "SharedLib"
language "C"
targetextension ".dll"
targetdir "bin"
files { "dllmain.c", "include/*.h", "iathook/iathook.h" }
entrypoint "DllMain"
filter "platforms:Win32"
targetname "openspy.x86"
filter "platforms:x64"
targetname "openspy.x64"
kind "SharedLib"
language "C"
targetextension ".dll"
targetdir "bin"
files { "dllmain.c", "include/*.h", "iathook/iathook.h" }
entrypoint "DllMain"
filter "platforms:Win32"
targetname "openspy.x86"
filter "platforms:x64"
targetname "openspy.x64"

if _ACTION and _ACTION >= "vs2010" then
require "vstudio"
Expand Down

0 comments on commit 3d5352e

Please sign in to comment.