summaryrefslogblamecommitdiffstats
path: root/premake5.lua
blob: 9cc0a8807ab1659cda101172b6cd041ff4af2499 (plain) (tree)
1
2
3
4
5
6
7
8
9
               
                                                          





                                     
                                   
                                  

                                   
 


                                       
                                     



                                            























                                                                                                                  



                                         
workspace "re3"
	configurations { "ReleaseCI", "Release", "Debug" }
	location "build"

	files { "src/*.*" }
	files { "src/math/*.*" }
	files { "src/modelinfo/*.*" }
	files { "src/entities/*.*" }
	files { "src/weapons/*.*" }
	files { "src/render/*.*" }
	files { "src/control/*.*" }
	files { "src/audio/*.*" }

	includedirs { "src" }
	includedirs { "src/modelinfo" }
	includedirs { "src/entities" }
	includedirs { "src/weapons" }
	includedirs { "src/render" }
	includedirs { "src/control" }
	includedirs { "src/audio" }
	includedirs { "rwsdk/include/d3d8" }

project "re3"
	kind "SharedLib"
	language "C++"
	targetname "re3"
	targetdir "bin/%{cfg.buildcfg}"
	targetextension ".dll"
	characterset ("MBCS")

	filter "configurations:Debug"
		defines { "DEBUG" }
		flags { "StaticRuntime" }
		symbols "On"
		debugdir "C:/Users/aap/games/gta3_re"
		debugcommand "C:/Users/aap/games/gta3_re/gta3.exe"
		postbuildcommands "copy /y \"$(TargetPath)\" \"C:\\Users\\aap\\games\\gta3_re\\plugins\\re3.dll\""

	filter "configurations:Release"
		defines { "NDEBUG" }
		optimize "On"
		flags { "StaticRuntime" }
		debugdir "C:/Users/aap/games/gta3_re"
		debugcommand "C:/Users/aap/games/gta3_re/gta3.exe"
		postbuildcommands "copy /y \"$(TargetPath)\" \"C:\\Users\\aap\\games\\gta3_re\\plugins\\re3.dll\""
	filter "configurations:ReleaseCI"
		defines { "NDEBUG" }
		optimize "On"
		flags { "StaticRuntime" }