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.

33 lines
790B

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