Advertisement
Guest User

premake4

a guest
Aug 14th, 2013
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. solution "opengl"
  2. configurations { "Debug", "Release" }
  3.  
  4. project "bin/opengl"
  5. location "bin"
  6. kind "ConsoleApp"
  7. language "C++"
  8. files {
  9. "src/**.cpp",
  10. "src/**.h",
  11. "src/**.hpp"
  12. }
  13.  
  14. configuration "windows"
  15. defines "WIN32"
  16. links { "glfw3", "opengl32", "gdi32", "glu32", "SOIL" }
  17.  
  18. configuration "linux"
  19. links { "glfw", "GL", "SOIL" }
  20.  
  21. configuration "Debug"
  22. targetsuffix "D"
  23. defines "DEBUG"
  24. flags { "Symbols", "ExtraWarnings", "FatalWarnings" }
  25. buildoptions { "-g" }
  26.  
  27. configuration "Release"
  28. defines "NDEBUG"
  29. flags { "OptimizeSpeed", "NoFramePointer", "NoEditAndContinue" }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement