Typical C++ Project

This sample shows a typical C++ project. It builds a console application, using all of the source code files in the current directory and any subdirectories. Works with the sample solution.

project "MyProject"
  language "C++"
  kind     "ConsoleApp"
  files  { "**.h", "**.cpp" }
 
  configuration { "Debug*" }
    defines { "_DEBUG", "DEBUG" }
    flags   { "Symbols" }
 
  configuration { "Release*" }
    defines { "NDEBUG" }
    flags   { "Optimize" }