1
0
mirror of synced 2025-01-20 17:48:51 +01:00
OpenParrot/iDmacDrv/premake5.lua

30 lines
715 B
Lua
Raw Normal View History

2019-04-07 15:29:04 -04:00
project "iDmacDrv"
targetname "iDmacDrv"
language "C++"
kind "SharedLib"
files
{
"src/**.cpp", "src/**.h",
2019-05-04 14:24:53 -04:00
"deps/cpp/**.cpp", "deps/inc/**.h",
"src/iDmacDrv.rc"
2019-04-07 15:29:04 -04:00
}
includedirs { "src", }
prebuildcommands {
"if not exist $(TargetDir)output mkdir $(TargetDir)output",
}
postbuildcommands {
"if exist $(TargetDir)iDmacDrv32.dll xcopy /y $(TargetDir)iDmacDrv32.dll $(TargetDir)output\\",
"if exist $(TargetDir)iDmacDrv64.dll xcopy /y $(TargetDir)iDmacDrv64.dll $(TargetDir)output\\"
}
filter "platforms:x86"
targetsuffix "32"
2019-06-03 19:25:47 +03:00
linkoptions { "/DEF:$(ProjectDir)/src/Source32.def" }
2019-04-07 15:29:04 -04:00
filter "platforms:x64"
2019-04-09 01:36:12 -04:00
targetsuffix "64"
2019-06-03 19:25:47 +03:00
linkoptions { "/DEF:$(ProjectDir)/src/Source64.def" }