forked from ThirteenAG/d3d9-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
36 lines (30 loc) · 1.08 KB
/
premake5.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
workspace "d3d9-wrapper"
configurations { "Release", "Debug" }
platforms { "Win32" }
architecture "x32"
location "build"
objdir ("build/obj")
buildlog ("build/log/%{prj.name}.log")
kind "SharedLib"
language "C++"
targetdir "data"
targetname "d3d9"
targetextension ".dll"
characterset ("MBCS")
flags { "StaticRuntime" }
defines { "rsc_CompanyName=\"ThirteenAG\"" }
defines { "rsc_LegalCopyright=\"MIT License\""}
defines { "rsc_FileVersion=\"1.0.0.0\"", "rsc_ProductVersion=\"1.0.0.0\"" }
defines { "rsc_InternalName=\"%{prj.name}\"", "rsc_ProductName=\"%{prj.name}\"", "rsc_OriginalFilename=\"d3d9.dll\"" }
defines { "rsc_FileDescription=\"https://thirteenag.github.io/wfp\"" }
defines { "rsc_UpdateUrl=\"https://github.com/ThirteenAG/%{prj.name}\"" }
files { "source/*.h", "source/*.cpp" }
files { "source/*.def" }
files { "source/*.rc" }
filter "configurations:Debug"
defines "DEBUG"
symbols "On"
filter "configurations:Release"
defines "NDEBUG"
optimize "On"
project "d3d9-wrapper"