initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
56
libs/wxWidgets-3.3.1/3rdparty/nanosvg/premake4.lua
vendored
Normal file
56
libs/wxWidgets-3.3.1/3rdparty/nanosvg/premake4.lua
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
|
||||
local action = _ACTION or ""
|
||||
|
||||
solution "nanosvg"
|
||||
location ( "build" )
|
||||
configurations { "Debug", "Release" }
|
||||
platforms {"native", "x64", "x32"}
|
||||
|
||||
project "example1"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
files { "example/example1.c", "example/*.h", "src/*.h" }
|
||||
includedirs { "example", "src" }
|
||||
targetdir("build")
|
||||
|
||||
configuration { "linux" }
|
||||
links { "X11","Xrandr", "rt", "GL", "GLU", "pthread", "glfw" }
|
||||
|
||||
configuration { "windows" }
|
||||
links { "glu32","opengl32", "gdi32", "winmm", "user32" }
|
||||
|
||||
configuration { "macosx" }
|
||||
links { "glfw3" }
|
||||
linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
|
||||
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" }
|
||||
flags { "Symbols", "ExtraWarnings"}
|
||||
|
||||
configuration "Release"
|
||||
defines { "NDEBUG" }
|
||||
flags { "Optimize", "ExtraWarnings"}
|
||||
|
||||
project "example2"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
files { "example/example2.c", "example/*.h", "src/*.h" }
|
||||
includedirs { "example", "src" }
|
||||
targetdir("build")
|
||||
|
||||
configuration { "linux" }
|
||||
links { "X11","Xrandr", "rt", "pthread" }
|
||||
|
||||
configuration { "windows" }
|
||||
links { "winmm", "user32" }
|
||||
|
||||
configuration { "macosx" }
|
||||
linkoptions { "-framework Cocoa", "-framework IOKit" }
|
||||
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" }
|
||||
flags { "Symbols", "ExtraWarnings"}
|
||||
|
||||
configuration "Release"
|
||||
defines { "NDEBUG" }
|
||||
flags { "Optimize", "ExtraWarnings"}
|
||||
Reference in New Issue
Block a user