How to build an exe from my GitHub Repo inside the Jenkins directly?

Hi everyone, Can anyone tell me how to build an exe from the source code (which is residing in my GitHub account repo). All configuration & Integration is set up for Jenkins and Github, but I am not sure how to build an exe from the Source code. To generate an exe from Visual Studio is very straightforward. But, I want to automate this step in Jenkins from my Github repo. Thank you.