1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

BeefySysLib Release Static building

This commit is contained in:
Brian Fiete 2025-01-17 10:20:20 -08:00
parent 29c0f82bba
commit fddd3e0ba6
5 changed files with 22 additions and 12 deletions

View file

@ -1,4 +1,5 @@
FileVersion = 1 FileVersion = 1
Dependencies = {corlib = "*", MiniZ = "*"}
[Project] [Project]
Name = "Beefy2D" Name = "Beefy2D"
@ -50,3 +51,7 @@ OtherLinkFlags = "$(LinkFlags) \"$(ProjectDir)/dist/BeefySysLib64.lib\""
CLibType = "Static" CLibType = "Static"
BeefLibType = "Static" BeefLibType = "Static"
PostBuildCmds = ["CopyToDependents(\"$(ProjectDir)/dist/BeefySysLib64.dll\")", "CopyToDependents(\"$(ProjectDir)/dist/BeefySysLib64.pdb\")"] PostBuildCmds = ["CopyToDependents(\"$(ProjectDir)/dist/BeefySysLib64.dll\")", "CopyToDependents(\"$(ProjectDir)/dist/BeefySysLib64.pdb\")"]
[Configs.Release_NoLink.Win32]
OtherLinkFlags = ""
PreprocessorMacros = ["RELEASE", "BF32"]

View file

@ -7,8 +7,8 @@ TargetType = "BeefGUIApplication"
StartupObject = "IDE.Program" StartupObject = "IDE.Program"
[Platform.Windows] [Platform.Windows]
IconFile = "$(WorkspaceDir)/Resources/Beef.ico" IconFile = "$(ProjectDir)/Resources/Beef.ico"
ManifestFile = "$(WorkspaceDir)/Resources/IDE.manifest" ManifestFile = "$(ProjectDir)/Resources/IDE.manifest"
Description = "Beef IDE" Description = "Beef IDE"
Company = "BeefyTech LLC" Company = "BeefyTech LLC"
Product = "Beef IDE" Product = "Beef IDE"
@ -21,11 +21,11 @@ TargetName = ""
OtherLinkFlags = "" OtherLinkFlags = ""
[Configs.Debug.Win64] [Configs.Debug.Win64]
TargetDirectory = "$(WorkspaceDir)/dist" TargetDirectory = "$(ProjectDir)/dist"
TargetName = "BeefIDE_d" TargetName = "BeefIDE_d"
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib" OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib"
DebugCommandArguments = "-proddir=\"$(WorkspaceDir)\\..\\BeefBuild\"" DebugCommandArguments = "-proddir=\"$(ProjectDir)\\..\\IDE_Ext\""
DebugWorkingDirectory = "$(WorkspaceDir)\\.." DebugWorkingDirectory = "$(ProjectDir)\\.."
EnvironmentVars = ["_NO_DEBUG_HEAP=1"] EnvironmentVars = ["_NO_DEBUG_HEAP=1"]
PreprocessorMacros = ["DEBUG,HASGIT"] PreprocessorMacros = ["DEBUG,HASGIT"]
@ -34,7 +34,7 @@ TargetName = ""
OtherLinkFlags = "" OtherLinkFlags = ""
[Configs.Release.Win64] [Configs.Release.Win64]
TargetDirectory = "$(WorkspaceDir)/dist" TargetDirectory = "$(ProjectDir)/dist"
TargetName = "BeefIDE" TargetName = "BeefIDE"
OtherLinkFlags = "Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib Beef042RT64.lib IDEHelper64.lib BeefySysLib64.lib" OtherLinkFlags = "Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib Beef042RT64.lib IDEHelper64.lib BeefySysLib64.lib"
DebugCommandArguments = "-proddir=C:\\Beef\\IDE\\Tests\\Test1 -test=scripts\\Enums.txt -testNoExit" DebugCommandArguments = "-proddir=C:\\Beef\\IDE\\Tests\\Test1 -test=scripts\\Enums.txt -testNoExit"
@ -47,16 +47,16 @@ TargetName = ""
OtherLinkFlags = "" OtherLinkFlags = ""
[Configs.Debug2.Win64] [Configs.Debug2.Win64]
TargetDirectory = "$(WorkspaceDir)/dist" TargetDirectory = "$(ProjectDir)/dist"
TargetName = "BeefIDE_d2" TargetName = "BeefIDE_d2"
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib" OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib"
BeefLibType = "DynamicDebug" BeefLibType = "DynamicDebug"
DebugCommandArguments = "-proddir=C:\\proj\\BeefTest" DebugCommandArguments = "-workspace=c:\\proj\\ShootGame"
DebugWorkingDirectory = "c:\\Beef\\IDE\\Tests\\EmptyTest" DebugWorkingDirectory = "c:\\Beef\\IDE\\Tests\\EmptyTest"
EnvironmentVars = ["_NO_DEBUG_HEAP=1"] EnvironmentVars = ["_NO_DEBUG_HEAP=1"]
[Configs.Paranoid.Win64] [Configs.Paranoid.Win64]
TargetDirectory = "$(WorkspaceDir)/dist" TargetDirectory = "$(ProjectDir)/dist"
TargetName = "BeefIDE_p" TargetName = "BeefIDE_p"
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib" OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib"
@ -70,7 +70,7 @@ BeefLibType = "Static"
BeefLibType = "Static" BeefLibType = "Static"
[Configs.Debug3.Win64] [Configs.Debug3.Win64]
TargetDirectory = "$(WorkspaceDir)/dist" TargetDirectory = "$(ProjectDir)/dist"
TargetName = "BeefIDE_d3" TargetName = "BeefIDE_d3"
OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib" OtherLinkFlags = "$(LinkFlags) Comdlg32.lib kernel32.lib user32.lib advapi32.lib shell32.lib IDEHelper64_d.lib BeefySysLib64_d.lib wsock32.lib"
BeefLibType = "DynamicDebug" BeefLibType = "DynamicDebug"

View file

@ -8,6 +8,9 @@ IF %ERRORLEVEL% NEQ 0 GOTO FAILED
@ECHO ---- Building BeefySysLib (Release) ---- @ECHO ---- Building BeefySysLib (Release) ----
CALL ../../bin/msbuild.bat ..\..\BeefySysLib\BeefySysLib.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\..\..\ /v:m CALL ../../bin/msbuild.bat ..\..\BeefySysLib\BeefySysLib.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\..\..\ /v:m
IF %ERRORLEVEL% NEQ 0 GOTO FAILED IF %ERRORLEVEL% NEQ 0 GOTO FAILED
@ECHO ---- Building BeefySysLib (Release Static) ----
CALL ../../bin/msbuild.bat ..\..\BeefySysLib\BeefySysLib.vcxproj /p:Configuration="Release Static" /p:Platform=x64 /p:SolutionDir=%cd%\..\..\ /v:m
IF %ERRORLEVEL% NEQ 0 GOTO FAILED
REM @ECHO ---- Building libhunspell (Debug) ---- REM @ECHO ---- Building libhunspell (Debug) ----
REM CALL ../../bin/msbuild.bat ..\..\libhunspell\libhunspell.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\..\ /v:m REM CALL ../../bin/msbuild.bat ..\..\libhunspell\libhunspell.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\..\ /v:m

View file

@ -858,8 +858,7 @@ namespace IDE
if ((workspaceOptions.mEnableObjectDebugFlags) if ((workspaceOptions.mEnableObjectDebugFlags)
|| (workspaceOptions.mAllocType == .Debug) || (workspaceOptions.mAllocType == .Debug)
|| (workspaceOptions.mAllocType == .Stomp) || (workspaceOptions.mAllocType == .Stomp))
|| (workspaceOptions.mAllocStackTraceDepth > 0))
{ {
outDbg.Append("Beef", IDEApp.sRTVersionStr, "Dbg"); outDbg.Append("Beef", IDEApp.sRTVersionStr, "Dbg");
outDbg.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64"); outDbg.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64");

View file

@ -33,6 +33,9 @@ CALL bin/msbuild.bat BeefySysLib\BeefySysLib.vcxproj /p:Configuration=Debug /p:P
CALL bin/msbuild.bat BeefySysLib\BeefySysLib.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS% CALL bin/msbuild.bat BeefySysLib\BeefySysLib.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
@IF %ERRORLEVEL% NEQ 0 GOTO HADERROR @IF %ERRORLEVEL% NEQ 0 GOTO HADERROR
CALL bin/msbuild.bat BeefySysLib\BeefySysLib.vcxproj /p:Configuration="Release Static" /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
@IF %ERRORLEVEL% NEQ 0 GOTO HADERROR
CALL bin/msbuild.bat IDEHelper\IDEHelper.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS% CALL bin/msbuild.bat IDEHelper\IDEHelper.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:SolutionDir=%cd%\ /v:m %MSBUILD_FLAGS%
@IF %ERRORLEVEL% NEQ 0 GOTO HADERROR @IF %ERRORLEVEL% NEQ 0 GOTO HADERROR