Instructions for building the Cogs.Rendering library on the Windows platform with Visual Studio.
Project Generation
We use premake to generate Visual Studio projects. Premake commands are of the following format "premake (parameters) action". We support the following
actions:
vs2010 - Visual Studio 2010 projects
vs2012 - Visual Studio 2012 projects using the v110 toolset. Projects built using this action require Windows Vista or newer to run.
vs2012xp - Visual Studio 2012 projects using the v110_xp toolset. Projects built using this action can be used on Windows XP.
Generate lib3ds projects
Go to Libraries\lib3ds
Run ..\..\Tools\premake4.exe action
Generate Cogs.Rendering projects
Go to Build
Run ..\Tools\premake4.exe --OpenGL20 action
This generates a solution file with projects including support for OpenGL 2.0, for other options run ..\Tools\premake4.exe --help from the Build catalog.
Building
Build lib3ds
Open lib3ds.sln in Visual Studio
Build all available configurations (Win32/x64, Debug/Release etc.)