Skip to content

chris-be/premake-codeblocks

Repository files navigation

Premake-CodeBlocks Module

"Premake" module that generates workspace and projects for Code::Blocks.
Based on source code from Premake4.

Features

  • Support for C/C++ language projects

Usage (little reminder)

  1. Put these files in a "Code::Blocks" subdirectory of Premake search paths.

  2. Adapt your premake5.lua script, or better: create/adapt your premake-system.lua

require "codeblocks"
  1. Generate Code::Blocks files The module checks if configurations are compatible with Code::Blocks, but it slows down the process. It can be disabled with option --codeblocks-check=false
premake5 codeblocks
# Or
premake5 codeblocks --codeblocks=false

Note

If you are interested in a Code::Blocks plugin doing the reverse job, you may try Premake5 exporter.

Tested on

OS (Platform) - Date Premake Code::Blocks Version Compiler
Debian Buster (i686) - March 2018 5.0.0-alpha-12 16.01 Clang++ 4.0
Void Linux (i686) - February 2021 5.0.0-beta1 20.03 Clang++ 12.0
Void Linux (x64) - April 2024 5.0.0-alpha15 20.03 Clang++ 17.0.6

About

Premake5 module to generate Code::Blocks projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages