-
Notifications
You must be signed in to change notification settings - Fork 4
Project Creation
Weston McNamara edited this page Mar 9, 2021
·
9 revisions
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.
- Follow the steps in the previous chapter to generate a solution with Crynn.
- Create a new project. To do this, go
File -> New -> Project
, or simply CTRL + SHIFT + N. - Build Crynn to generate a .lib file. To do this, right click the project files for Crynn in the solution explorer, and select "build".
- 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.
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.