Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/BuildProjects.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
premake4 --os=windows --platform=x32 --file=BuildProjects.lua vs2010
premake4 --os=macosx --platform=universal32 --file=BuildProjects.lua gmake
premake4 --os=linux --platform=x32 --file=BuildProjects.lua gmake
premake4 --os=windows --file=BuildProjects.lua vs2010
premake4 --os=macosx --file=BuildProjects.lua gmake
premake4 --os=linux --file=BuildProjects.lua gmake
pause
6 changes: 6 additions & 0 deletions example/BuildProjects.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ solution "gmsv_example"
flags { "Symbols", "NoEditAndContinue", "NoPCH", "StaticRuntime", "EnableSSE" }
targetdir ( "lib/" .. os.get() .. "/" )
includedirs { "../include/" }

if os.get() == "macosx" then
platform { "universal32" }
else
platform { "x32" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these be platforms?

end

configurations
{
Expand Down