Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 940 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 940 Bytes

Premake-CMake

CMake generator for Premake.

Usage

  1. Put these files in a cmake subdirectory in one of Premake's search paths.
  2. Add the line require "cmake" preferably to your premake-system.lua, or to your premake5.lua script.
  3. 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).

Limitations

Currently this generater only supports a single Premake Workspace.
This generator only supports C/C++, all other project types are ignored.

What files get generated

This generator generates the following files:

TBD