Tuesday, April 8, 2008

Simplest MPC File For EXEs

Here is the simplest possible mpc file for building executables:

project (simple_exe) {
This creates a project file with the following settings in Visual Studio 2005:
  • Console Application
  • No MFC
  • No ATL
  • No CLR
  • Use Program Database
  • Warning level 3
  • Multithreaded DLL C runtime
  • wcar_t treated as built-in type
  • Force for loop conformance
  • Enable RTTI
  • No Precompiled Headers
A pretty solid set of defaults. You get consitent settings on debug and release, for 3 lines of configuration. More to come.

No comments: