1 Star 0 Fork 24

elung/libobs

forked from zentel/libobs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
premake5.lua 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
zentel 提交于 2019-05-27 21:21 . 修复启动崩溃问题
require "premake/core"
workspace "obs"
configurations { "Debug", "Release" }
location "build"
if is_pfm("android") then
location "android/jni"
defines { "POSIX" ,"ANDROID" }
elseif is_pfm("windows") then
location "build"
defines { "_WIN32", "WIN32" ,"_WINDOWS"}
includedirs{
"3dparty/win_pthreads",
"depend/win32/include",
}
libdirs{
"depend/win32/bin"
}
linkoptions{
"/SAFESEH:NO",
}
elseif is_pfm("ios") then
location "build"
defines { "POSIX" ,"TARGET_OS_IOS","TARGET_OS_IPHONE"}
end
filter "configurations:Debug"
defines { "DEBUG" , "_DEBUG"}
flags { "Symbols" }
optimize "Debug"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
optimize "Speed"
group "3dparty"
include "3dparty/jansson"
include "3dparty/mbedtls"
include "3dparty/win_pthreads"
include "3dparty/DuiLib"
group "core"
include "core"
include "core/render/opengl"
include "core/render/d3d11"
include "plugins"
group "project"
include "ui"
project "test"
kind "WindowedApp"
language "C++"
rtti "On"
exceptionhandling "On"
includedirs
{
"core/"
}
files{
"api/*.h",
"api/*.cpp",
"*.cpp",
}
defines {
}
links{
"obs",
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/elung/libobs.git
git@gitee.com:elung/libobs.git
elung
libobs
libobs
master

搜索帮助