1 Star 0 Fork 0

DoubleZ/whitecaps

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
premake4.lua 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
jdups 提交于 2013-01-19 00:18 . fixed lGL bug
solution "OpenGL"
configurations {
"debug",
"release"
}
platforms { "x64", "x32" }
-- ---------------------------------------------------------
-- Project
project "demo"
basedir "./"
language "C++"
location "./"
kind "ConsoleApp" -- Shouldn't this be in configuration section ?
files { "*.hpp", "*.cpp" }
files { "core/*.cpp" }
includedirs {
"include",
"core"
}
objdir "obj"
-- Debug configurations
configuration {"debug"}
defines {"DEBUG"}
flags {"Symbols", "ExtraWarnings"}
-- Release configurations
configuration {"release"}
defines {"NDEBUG"}
flags {"Optimize"}
-- Linux x86 platform gmake
configuration {"linux", "gmake", "x32"}
linkoptions {
"-Wl,-rpath,./lib/linux/lin32 -L./lib/linux/lin32 -lGLEW -lglut -lAntTweakBar"
}
libdirs {
"lib/linux/lin32"
}
-- Linux x64 platform gmake
configuration {"linux", "gmake", "x64"}
linkoptions {
"-Wl,-rpath,./lib/linux/lin64 -L./lib/linux/lin64 -lGLEW -lglut -lAntTweakBar -lGL"
}
libdirs {
"./lib/linux/lin64"
}
-- Visual x86
configuration {"vs2010", "x32"}
libdirs {
"lib/windows/win32"
}
links {
"glew32s",
"freeglut",
"AntTweakBar"
}
---- Visual x64
-- configuration {"vs2010", "x64"}
-- links {
-- "glew32s",
-- "freeglut",
-- }
-- libdirs {
-- "lib/windows/win64"
-- }
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/SourceZh/whitecaps.git
git@gitee.com:SourceZh/whitecaps.git
SourceZh
whitecaps
whitecaps
master

搜索帮助