Tag Archives: build configuration

Quickstart for cross-platform c++ projects

A typical dilemma for a c++ developer is creating the initial build configuration. Out of my affection for Lua, I’ve collected my typical premake4 patterns into a separate project to be able to set up c++ projects on any platform within a minute.

Here’s a sample from selfdestructing:

assert ( require 'premake.quickstart' )

make_solution 'selfdestructing'

includedirs { 

make_console_app( 'selfdestructing-test', { './test/test.cpp' } )