Programming: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Help for programmers coding in c++)
 
No edit summary
Line 1: Line 1:
How to get your code to compile on the gitlab runners.
How to get your code to compile on the gitlab runners.


Step 1:
# Step 1:
Make sure your .cpp file contains #include "cbase.h" before any other includes
Make sure your .cpp file contains #include "cbase.h" before any other includes


Step 2:
# Step 2:
Make sure the last include is #include "tier0/memdbgon.h"
Make sure the last include is #include "tier0/memdbgon.h"


Step 3:
# Step 3:
Repeat this for all the cpp files you want to add :P before proceeding...
Repeat this for all the cpp files you want to add :P before proceeding...

Revision as of 03:50, 14 April 2017

How to get your code to compile on the gitlab runners.

  1. Step 1:

Make sure your .cpp file contains #include "cbase.h" before any other includes

  1. Step 2:

Make sure the last include is #include "tier0/memdbgon.h"

  1. Step 3:

Repeat this for all the cpp files you want to add :P before proceeding...