Clean up build a bit

This commit is contained in:
Grinch_ 2021-07-25 18:29:01 +06:00
parent 9166fec6d2
commit 64f76e8adc
6 changed files with 80 additions and 20 deletions

59
.gitignore vendored
View File

@ -34,3 +34,62 @@ tools/CheatMenu.sln
tools/Depend.vcxproj
tools/CheatMenu.vcxproj
tools/Depend.vcxproj.filters
build/CheatMenu.sln
build/CheatMenu.vcxproj
build/Depend.vcxproj
build/Depend.vcxproj.filters
build/bin/Depend.lib
build/bin/Depend.pdb
build/obj/Win32/Release/CheatMenu/Animation.obj
build/obj/Win32/Release/CheatMenu/CheatMenu.asi.recipe
build/obj/Win32/Release/CheatMenu/CheatMenu.obj
build/obj/Win32/Release/CheatMenu/CheatMenu.pch
build/obj/Win32/Release/CheatMenu/Game.obj
build/obj/Win32/Release/CheatMenu/Hook.obj
build/obj/Win32/Release/CheatMenu/Json.obj
build/obj/Win32/Release/CheatMenu/Menu.obj
build/obj/Win32/Release/CheatMenu/MoreEvents.obj
build/obj/Win32/Release/CheatMenu/Neon.obj
build/obj/Win32/Release/CheatMenu/Paint.obj
build/obj/Win32/Release/CheatMenu/pch.obj
build/obj/Win32/Release/CheatMenu/Ped.obj
build/obj/Win32/Release/CheatMenu/Player.obj
build/obj/Win32/Release/CheatMenu/Teleport.obj
build/obj/Win32/Release/CheatMenu/Ui.obj
build/obj/Win32/Release/CheatMenu/Updater.obj
build/obj/Win32/Release/CheatMenu/Util.obj
build/obj/Win32/Release/CheatMenu/vc142.pdb
build/obj/Win32/Release/CheatMenu/Vehicle.obj
build/obj/Win32/Release/CheatMenu/Visual.obj
build/obj/Win32/Release/CheatMenu/Weapon.obj
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/CheatMenu.lastbuildstate
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/CL.command.1.tlog
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/CL.read.1.tlog
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/CL.write.1.tlog
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/link.command.1.tlog
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/link.read.1.tlog
build/obj/Win32/Release/CheatMenu/CheatMenu.tlog/link.write.1.tlog
build/obj/Win32/Release/Depend/buffer.obj
build/obj/Win32/Release/Depend/Depend.lib.recipe
build/obj/Win32/Release/Depend/hde32.obj
build/obj/Win32/Release/Depend/hook.obj
build/obj/Win32/Release/Depend/IDaccess.obj
build/obj/Win32/Release/Depend/imgui_demo.obj
build/obj/Win32/Release/Depend/imgui_draw.obj
build/obj/Win32/Release/Depend/imgui_impl_dx9.obj
build/obj/Win32/Release/Depend/imgui_impl_dx11.obj
build/obj/Win32/Release/Depend/imgui_impl_win32.obj
build/obj/Win32/Release/Depend/imgui_tables.obj
build/obj/Win32/Release/Depend/imgui_widgets.obj
build/obj/Win32/Release/Depend/imgui.obj
build/obj/Win32/Release/Depend/kiero.obj
build/obj/Win32/Release/Depend/Library.obj
build/obj/Win32/Release/Depend/Main.obj
build/obj/Win32/Release/Depend/trampoline.obj
build/obj/Win32/Release/Depend/Depend.tlog/CL.command.1.tlog
build/obj/Win32/Release/Depend/Depend.tlog/CL.read.1.tlog
build/obj/Win32/Release/Depend/Depend.tlog/CL.write.1.tlog
build/obj/Win32/Release/Depend/Depend.tlog/Depend.lastbuildstate
build/obj/Win32/Release/Depend/Depend.tlog/Lib-link.read.1.tlog
build/obj/Win32/Release/Depend/Depend.tlog/Lib-link.write.1.tlog
build/obj/Win32/Release/Depend/Depend.tlog/Lib.command.1.tlog

View File

@ -1,4 +1,6 @@
@echo off
premake5.exe vs2019
cd build
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat"
MsBuild CheatMenu.sln /property:Configuration=Release
cd ..

View File

@ -17,23 +17,24 @@ end
----------------------------
workspace "CheatMenu"
configurations { "Debug", "Release" }
architecture "x86"
platforms "Win32"
language "C++"
cppdialect "C++20"
characterset "MBCS"
staticruntime "On"
configurations { "Debug", "Release" }
architecture "x86"
platforms "Win32"
language "C++"
cppdialect "C++20"
characterset "MBCS"
staticruntime "On"
location "build"
project "Depend"
kind "StaticLib"
targetdir "build"
targetdir "build/bin"
files {
"../depned/**.h",
"../depend/**.hpp",
"../depend/**.c",
"../depend/**.cpp"
"depned/**.h",
"depend/**.hpp",
"depend/**.c",
"depend/**.cpp"
}
libdirs (PSDK_DIR .. "/output/lib")
@ -51,9 +52,9 @@ project "CheatMenu"
targetextension ".asi"
files {
"../src/**.h",
"../src/**.hpp",
"../src/**.cpp"
"src/**.h",
"src/**.hpp",
"src/**.cpp"
}
includedirs {
PSDK_DIR .. "/plugin_sa/",
@ -74,7 +75,7 @@ project "CheatMenu"
}
pchheader "pch.h"
pchsource "../src/pch.cpp"
pchsource "src/pch.cpp"
filter "configurations:Debug"
symbols "On"

View File

@ -1,4 +1,6 @@
#pragma once
#include "pch.h"
class Animation
{
private:

View File

@ -1,4 +0,0 @@
@echo off
premake5.exe vs2019
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat"
MsBuild CheatMenu.sln /property:Configuration=Debug