Programming: Difference between revisions
Jump to navigation
Jump to search
VulcanStorm (talk | contribs) No edit summary |
VulcanStorm (talk | contribs) mNo 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. | ||
# | # 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 | # Make sure the last include is #include "tier0/memdbgon.h" | ||
# Repeat this for all the cpp files you want to add :P before proceeding... | |||
# Ensure your files is in an appropriate directory. e.g. ...\src\game\server\empires\my_cpp_file.cpp | |||
# Make an entry in the server_hl2mp.vpc file for your file e.g. $File "empires\my_cpp_file.cpp" | |||
TODO: add pictures showing this | |||
Revision as of 04:56, 14 April 2017
How to get your code to compile on the gitlab runners.
- Make sure your .cpp file contains #include "cbase.h" before any other includes
- Make sure the last include is #include "tier0/memdbgon.h"
- Repeat this for all the cpp files you want to add :P before proceeding...
- Ensure your files is in an appropriate directory. e.g. ...\src\game\server\empires\my_cpp_file.cpp
- Make an entry in the server_hl2mp.vpc file for your file e.g. $File "empires\my_cpp_file.cpp"
TODO: add pictures showing this