[HELP] How To Compile My Own Natives

Say I wanted to do something like this:

function Global.GetEntityCoords(entity)
	print("Hello World")
	return _in(0x1647f1cb, entity, _r, _rv)
end

How can I compile the contents of ../server/citizen/scripting/lua/ to become ../server/citizen-scripting-lua.dll? Would I have to start here? https://github.com/citizenfx/fivem/blob/master/docs/building.md

bumperino