/
redgpu
/
bullet
Обзор
Документация
Войти
/
redgpu
/
bullet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
examples/ThirdPartyLibs/serial/premake4.lua
34 строки
514 B
Erwin Coumans
fix premake build for linux, thanks to @consultit
10 фев 2018, 05:46
10 фев 2018, 05:46
508550c
Код
Авторство
О чём код?
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" }