-
Notifications
You must be signed in to change notification settings - Fork 4
Project Creation
Weston McNamara edited this page May 20, 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.
Crynn is automatically downloaded and configured as an exe, so to start testing, simply move to the "Building Crynn" wiki article.
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.
- 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.
Next, building the engine will be discussed.