![]() ![]() Local gmcommon = assert(_OPTIONS.gmcommon or os.getenv("GARRYSMOD_COMMON"), Value = "path to garrysmod_common directory" ![]() In your project's a (or whatever you named it) you should include your local copy of this repository, for example: PROJECT_GENERATOR_VERSION = 2ĭescription = "Sets the path to the garrysmod_common () directory", If stuff starts erroring or fails to work, be sure to check the correct line endings ( \n and such) are present in the files for each OS. These restrictions are not random they exist because of ABI compatibility reasons. On macOS, use the Mac OSX 10.7 SDK, in release mode.On Windows and Linux, compile in release mode. ![]() On macOS, any Xcode (using the GCC compiler) version MIGHT work.ĭo not use internal classes/structures (like the GameDepot::System class or the IGamemodeSystem::Information structure) unless (these rules are in addition to the previous ones):.On Linux, use GCC (the more up to date, the better, tested up to GCC 9, older versions like GCC 4 and GCC 5 might throw C compilation errors).On Windows, compile with Visual Studio 2015, Visual Studio 2017 or Visual Studio 2019.WarningĪs a rule of thumb, avoid diverging too much from these rules: premake5 is required to generate projects. There's common code for premake on the premake directory for faster development. The include directory has all the required headers for building modules for Garry's Mod (LuaJIT and Garry's Mod headers) with C . A repository of common bits for compilation projects based on Garry's Mod. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |