Your project should have a file in it your game directory source/projectname/projectname.Build.cs inside you have the modules like I described.
Oh and in the files I showed you, you need to replace YOUR_API with your project api (usually uppercase project name followed by _API)