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