mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
34 lines
No EOL
514 B
Lua
34 lines
No EOL
514 B
Lua
project "serial"
|
|
|
|
kind "StaticLib"
|
|
|
|
includedirs {"include"}
|
|
|
|
if os.is("Linux") then
|
|
buildoptions{"-fPIC"}
|
|
end
|
|
if os.is("Windows") then
|
|
files{
|
|
"src/impl/win.cc",
|
|
"src/impl/list_ports/list_ports_win.cc"
|
|
}
|
|
end
|
|
|
|
if os.is("Linux") then
|
|
files{
|
|
"src/impl/unix.cc",
|
|
"src/impl/list_ports/list_ports_linux.cc"
|
|
}
|
|
end
|
|
|
|
if os.is("MacOSX") then
|
|
files{
|
|
"src/impl/unix.cc",
|
|
"src/impl/list_ports/list_ports_osx.cc"
|
|
}
|
|
end
|
|
|
|
files {
|
|
"src/serial.cc",
|
|
"**.h"
|
|
} |