mirror of
https://github.com/nigels-com/glew.git
synced 2025-04-20 23:52:55 +00:00
add premake file
This commit is contained in:
parent
9fb23c3e61
commit
5fe9518bce
42
premake5.lua
Normal file
42
premake5.lua
Normal file
@ -0,0 +1,42 @@
|
||||
project "GLEW"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
includedirs
|
||||
{
|
||||
"include"
|
||||
}
|
||||
|
||||
files
|
||||
{
|
||||
"include/gl/*.h",
|
||||
"src/*.c"
|
||||
}
|
||||
|
||||
excludes
|
||||
{
|
||||
"src/glewinfo.c",
|
||||
"src/visualinfo.c"
|
||||
}
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
||||
staticruntime "On"
|
||||
|
||||
defines
|
||||
{
|
||||
"WIN32",
|
||||
"GLEW_STATIC",
|
||||
"_CRT_SECURE_NO_WARNINGS"
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
Loading…
Reference in New Issue
Block a user