Created
March 17, 2014 02:52
-
-
Save donalmacc/9593147 to your computer and use it in GitHub Desktop.
Simple Premake4 script that gets my SDL2 and glew libraries and creates a project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Simple Premake script to get all C/C++ files | |
solution "SolutionName" | |
configurations { "Debug", "Release" } | |
project "ProjectName" | |
kind "ConsoleApp" | |
language "C++" | |
files { "**.h", "**.cpp"} | |
links{ "SDL2", "glew32", "glew32s"} | |
libdirs { "C:/Source/SDL2/lib/x86", "C:/Source/glew/lib/Release/Win32" } | |
includedirs { "C:/Source/SDL2/include/", "C:/Source/glew/include", "C:/Source/glm" } | |
flags { "WinMain" } | |
configuration "Debug" | |
defines { "DEBUG" } | |
flags { "Symbols"} | |
configuration "Release" | |
defines { "NDEBUG" } | |
flags { "Optimize" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment