Commit 41a508f4 authored by Georg Schaefer's avatar Georg Schaefer
Browse files

add premake build file

parent 17e0ffde
solution "tools"
configurations {"debug", "release"}
language "C++"
flags {"FatalWarnings"}
vectorextensions "SSE2"
buildoptions "-std=c++1y"
includedirs {
libdirs {
defines {
configuration "linux"
defines "LINUX"
configuration "windows"
defines "WINDOWS"
configuration "debug"
defines "DEBUG"
flags "Symbols"
optimize "Off"
configuration "release"
defines "NDEBUG"
optimize "Full"
configuration {"gmake", "linux"}
configuration {"gmake", "windows"}
project "mesh_converter"
kind "WindowedApp"
targetdir "build"
objdir "build/obj"
if _OPTIONS["cc"] == "clang" then
toolset "clang"
buildoptions "-stdlib=libc++"
links {
files "src/**.cpp"
configuration {"gmake", "linux"}
links {"assimp"}
configuration {"gmake", "windows"}
linkoptions {"-lmingw32 -static-libgcc -static-libstdc++"}
links {"assimp"}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment