diff --git a/GlitchyEngineHelper/BeefProj.toml b/GlitchyEngineHelper/BeefProj.toml index 11983f4..34b1d6a 100644 --- a/GlitchyEngineHelper/BeefProj.toml +++ b/GlitchyEngineHelper/BeefProj.toml @@ -1,17 +1,23 @@ FileVersion = 1 -Dependencies = {corlib = "*", corlib = "*", DirectX = "*"} [Project] Name = "GlitchyEngineHelper" TargetType = "BeefLib" StartupObject = "GlitchyEngineHelper.Program" +[Dependencies] +corlib = "*" +corlib = "*" +DirectX = "*" + [Configs.Debug.Win64] BuildCommandsOnCompile = "IfFilesChanged" BuildCommandsOnRun = "IfFilesChanged" -LibPaths = ["$(ProjectDir)/out/build/x64-debug/GlitchyEngineHelper.lib", "ws2_32.lib", "Winmm.lib", "OleAut32.lib", "Bcrypt.lib"] +LibPaths = ["$(ProjectDir)/out/build/x64-debug/Debug/GlitchyEngineHelper.lib", "ws2_32.lib", "Winmm.lib", "OleAut32.lib", "Bcrypt.lib"] +PreBuildCmds = ["$(WorkspaceDir)/bin/BuildTool.exe build GlitchyEngineHelper -n --workspace $(WorkspaceDir) --debug"] [Configs.Release.Win64] BuildCommandsOnCompile = "IfFilesChanged" BuildCommandsOnRun = "IfFilesChanged" LibPaths = ["$(ProjectDir)/out/build/x64-debug/GlitchyEngineHelper.lib", "ws2_32.lib", "Winmm.lib", "OleAut32.lib", "Bcrypt.lib"] +PreBuildCmds = ["$(WorkspaceDir)/bin/BuildTool.exe build GlitchyEngineHelper -n --workspace $(WorkspaceDir) --release"] diff --git a/GlitchyEngineHelper/CMakePresets.json b/GlitchyEngineHelper/CMakePresets.json index b699737..525ea04 100644 --- a/GlitchyEngineHelper/CMakePresets.json +++ b/GlitchyEngineHelper/CMakePresets.json @@ -4,7 +4,7 @@ { "name": "windows-base", "hidden": true, - "generator": "Ninja", + "generator": "Visual Studio 17 2022", "binaryDir": "${sourceDir}/out/build/${presetName}", "installDir": "${sourceDir}/out/install/${presetName}", "cacheVariables": { diff --git a/ScriptCore/BeefProj.toml b/ScriptCore/BeefProj.toml index 0a42bd2..7945d6a 100644 --- a/ScriptCore/BeefProj.toml +++ b/ScriptCore/BeefProj.toml @@ -5,7 +5,7 @@ Name = "ScriptCore" TargetType = "CustomBuild" [Configs.Debug.Win64] -PostBuildCmds = ["dotnet build \"$(WorkspaceDir)/ScriptCore/ScriptCore.csproj\" -c Debug"] +PostBuildCmds = ["$(WorkspaceDir)/bin/BuildTool.exe build ScriptCore -n --workspace $(WorkspaceDir) --debug"] [Configs.Release.Win64] -PostBuildCmds = ["dotnet build \"$(WorkspaceDir)/ScriptCore/ScriptCore.csproj\" -c Release"] +PostBuildCmds = ["$(WorkspaceDir)/bin/BuildTool.exe build ScriptCore -n --workspace $(WorkspaceDir) --Release"]