premake-clion icon indicating copy to clipboard operation
premake-clion copied to clipboard

CLion generator for Premake

CLion generator for Premake.

In addition to generating CMake files, this generator corrects the CLion project root path to the Premake script's directory instead of the generated CMakeLists.txt's directory.

Depends on https://github.com/Enhex/premake-cmake being already installed.

Usage

  1. Put these files in a clion subdirectory in one of Premake's search paths.

  2. Add the line require "clion" preferably to your premake-system.lua, or to your premake5.lua script.

  3. Generate

premake5 clion