- Put these files in a
cmakesubdirectory in one of Premake's search paths. - Add the line
require "cmake"preferably to your premake-system.lua, or to your premake5.lua script. - Generate CMake files
premake5 cmake [--cc=clang/gcc/msc]
Note: The generated CMake files will only contain configurations for the current operating system and the provided toolchain (defaults to msc on Windows, clang on Linux).
Currently this generater only supports a single Premake Workspace.
This generator only supports C/C++, all other project types are ignored.
This generator generates the following files:
TBD