@kognifai/cogsengine
    Preparing search index...

    Building Cogs.Rendering {#build}

    Instructions for building the Cogs.Rendering library on the Windows platform with Visual Studio.

    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.
    • Go to Libraries\lib3ds
    • Run ..\..\Tools\premake4.exe action
    • 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.
    • Open lib3ds.sln in Visual Studio
    • Build all available configurations (Win32/x64, Debug/Release etc.)
    • Open Cogs.Rendering.sln in Visual Studio
    • Set Cogs.WindowsDemo as Startup Project
    • Press play to debug