Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
45
3party/libtess2/premake4.lua
Normal file
45
3party/libtess2/premake4.lua
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
|
||||
local action = _ACTION or ""
|
||||
|
||||
solution "libtess2"
|
||||
location ( "Build" )
|
||||
configurations { "Debug", "Release" }
|
||||
platforms {"native", "x64", "x32"}
|
||||
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" }
|
||||
flags { "Symbols", "ExtraWarnings"}
|
||||
|
||||
configuration "Release"
|
||||
defines { "NDEBUG" }
|
||||
flags { "Optimize", "ExtraWarnings"}
|
||||
|
||||
|
||||
project "tess2"
|
||||
language "C"
|
||||
kind "StaticLib"
|
||||
includedirs { "Include", "Source" }
|
||||
files { "Source/*.c" }
|
||||
targetdir("Build")
|
||||
|
||||
-- more dynamic example
|
||||
project "example"
|
||||
kind "ConsoleApp"
|
||||
language "C"
|
||||
links { "tess2" }
|
||||
files { "Example/example.c", "Contrib/*.c" }
|
||||
includedirs { "Include", "Contrib" }
|
||||
targetdir("Build")
|
||||
|
||||
configuration { "linux" }
|
||||
linkoptions { "`pkg-config --libs glfw3`" }
|
||||
links { "GL", "GLU", "m", "GLEW" }
|
||||
defines { "NANOVG_GLEW" }
|
||||
|
||||
configuration { "windows" }
|
||||
links { "glfw3", "gdi32", "winmm", "user32", "GLEW", "glu32","opengl32" }
|
||||
defines { "NANOVG_GLEW" }
|
||||
|
||||
configuration { "macosx" }
|
||||
links { "glfw3" }
|
||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue