title: premake5 How do I use multiple configuration files?
body: <p>I need different build options for different compilers for a project I am working on. I am thinking of using the dofile keyword to include a different build configuration based on the compiler chosen when using premake5. How do I instruct premake5 to do something like (in pseudo code)</p>
  
  <pre><code>if gcc 
   dofile gcc.lua
  else if vs2008
   dofile vs2008.lua
  else if vs2010
   dofile vs2010.lua
  else if vs2012
   dofile vs2012.lua
  else if vs2013
   dofile vs2013.lua
  else if vs2015
   dofile vs2015.lua
  </code></pre>
  
  <p>etc.</p>