Skip to content

Project Creation

Weston McNamara edited this page May 20, 2021 · 9 revisions

New To Crynn?

If you are new to Crynn, it is highly recommended that while learning you test stuff out in the Example.cpp file included with Crynn, and add project files to Crynn as needed. This allows you to easily extend the engine, and makes iterating quicker because you do not need to configure a project.

Crynn is automatically downloaded and configured as an exe, so to start testing, simply move to the "Building Crynn" wiki article.

Creating a new project

If you've tested a bit with the Example.cpp in the previous step and think you're ready, its time to create a new project.

  1. Follow the steps in the previous chapter to generate a solution with Crynn.
  2. Create a new project. To do this, go File -> New -> Project, or simply CTRL + SHIFT + N.
  3. Build Crynn to generate a .lib file. To do this, right click the project files for Crynn in the solution explorer, and select "build".
  4. Because Crynn is a static library, to use it in an existing project you simply add the crynn/src directory to your include. To link it, navigate to the "References" option in your new project, pictured below. Right click, and select New Reference -> Check "Crynn", and hit ok.

reference example image


Next, building the engine will be discussed.

Read Next

https://github.com/wmcnamara/crynn/wiki/Building-In-Crynn

Clone this wiki locally