Skip to content

Project Creation

Weston McNamara edited this page Mar 9, 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.

Creating 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


If everything compiles, and you can run the new project, you should be good to go.

If you are receiving an error or have trouble creating a project, open a Github Issue here.


In the next tutorial, basic programming in Crynn will be discussed.

Clone this wiki locally