JD2022-TU1/main/extern/gear4/gear_detection/premake4.lua

17 lines
821 B
Lua

if gear4.platform ~= "win32" and gear4.platform ~= "win64" then
return
end
gear_detection = gear4:AddLibrary("gear_detection")
updatetable(gear_detection.projects.library.extrafiles,
{ joinpath(".", "geardef.h"),
joinpath("gear_detection", "detectionconfig.h"),
iif(not gear_detection.projects.library.noblob, joinpath("gear_detection", "gear_detection.cpp")),
iif(not gear_detection.projects.library.noblob, joinpath("gear_detection", "gear_detection.h")),
joinpath("gear_detection", "detection_init.cpp"),
joinpath("gear_detection", "detection_init.h") })
updatetable(gear_detection.projects.library.excludefiles,
{ iif(not gear_detection.projects.library.noblob, joinpath("gear_detection", "detection_init.cpp")) })