winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/Migrating-From-4.x.md

1.2 KiB

title
Migrating from Premake 4.x

Function name changes

The function workspace replaces solution. The latter still works, but the former is preferred.

The function filter replaces the configuration function for specifying the current configuration. It provides a more powerful interface for selecting which configuration is current, making it easy to specify flags for different actions, files, etc. The configurations setting at the workspace level still sets the available configurations.

Flag changes

Many of the old flags have become full-fledged functions. This should be a comprehensive list of such changes.

Old flags New Function
EnableSSE, EnableSSE2 vectorextensions
ExtraWarnings, NoWarnings warnings
FloatFast, FloatStrict floatingpoint
Managed, Unsafe clr
NativeWChar nativewchar
NoEditAndContinue editandcontinue
NoRTTI rtti
OptimizeSize, OptimizeSpeed optimize