compileas
compileas "value"
value one of:
Default - Compile based on file extensions that have been built into premake.C - Compile as a C source file.C++ - Compile as a C++ source file.Objective-C - Compile as an Objective-C source file.Objective-C++ - Compile as an Objective-C++ source file.Module - Needs documentationModulePartition - Needs documentationHeaderUnit - Needs documentationThe workspace, project or file scope.
Premake 5.0.0 alpha 13 or later.
filter { "files:**.c" }
compileas "C++"