You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
933B

  1. local action = _ACTION or ""
  2. solution "blendish"
  3. location ( "build" )
  4. configurations { "Debug", "Release" }
  5. platforms {"native", "x64", "x32"}
  6. project "example"
  7. kind "ConsoleApp"
  8. language "C++"
  9. files { "example.cpp", "nanovg/src/nanovg.c" }
  10. includedirs { "nanovg/src" }
  11. targetdir("build")
  12. configuration { "linux" }
  13. linkoptions { "`pkg-config --libs glfw3 --static`" }
  14. links { "GL", "GLU", "m", "GLEW" }
  15. defines { "NANOVG_GLEW" }
  16. configuration { "windows" }
  17. links { "glfw3", "gdi32", "winmm", "user32", "GLEW", "glu32","opengl32" }
  18. defines { "NANOVG_GLEW" }
  19. configuration { "macosx" }
  20. links { "glfw3" }
  21. linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" }
  22. configuration "Debug"
  23. defines { "DEBUG" }
  24. flags { "Symbols", "ExtraWarnings"}
  25. configuration "Release"
  26. defines { "NDEBUG" }
  27. flags { "Optimize", "ExtraWarnings"}