2019-04-07 21:29:04 +02:00
|
|
|
project "iDmacDrv"
|
|
|
|
targetname "iDmacDrv"
|
|
|
|
language "C++"
|
|
|
|
kind "SharedLib"
|
|
|
|
|
|
|
|
files
|
|
|
|
{
|
|
|
|
"src/**.cpp", "src/**.h",
|
2019-05-04 20:24:53 +02:00
|
|
|
"deps/cpp/**.cpp", "deps/inc/**.h",
|
|
|
|
"src/iDmacDrv.rc"
|
2019-04-07 21:29:04 +02: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-04-09 07:36:12 +02:00
|
|
|
linkoptions { "/DEF:iDmacDrv/src/Source32.def" }
|
2019-04-07 21:29:04 +02:00
|
|
|
|
|
|
|
filter "platforms:x64"
|
2019-04-09 07:36:12 +02:00
|
|
|
targetsuffix "64"
|
|
|
|
linkoptions { "/DEF:iDmacDrv/src/Source64.def" }
|