1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-18 10:51:23 +02:00

add premake5 build script for unix systems (#318)

This commit is contained in:
Aydar Zarifullin
2021-02-06 13:12:38 +04:00
committed by GitHub
parent c1b28b2bf2
commit 84ae6dd007

View File

@@ -0,0 +1,24 @@
workspace "OpenLara"
configurations { "Debug", "Release" }
project "OpenLara"
kind "ConsoleApp"
language "C++"
includedirs { "../../" }
exceptionhandling "Off"
rtti "Off"
files { "main.cpp", "../../libs/stb_vorbis/stb_vorbis.c", "../../libs/minimp3/minimp3.cpp", "../../libs/tinf/tinflate.c" }
filter "system:Linux"
filter "toolset:gcc or clang"
links { "X11", "GL", "m", "pthread", "pulse-simple", "pulse" }
defines { "POSIX_THREADS", "POSIX_READER_WRITER_LOCKS" }
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "Speed"