"Premake" module that generates workspace and projects for Code::Blocks.
Based on source code from Premake4.
- Support for C/C++ language projects
-
Put these files in a "Code::Blocks" subdirectory of Premake search paths.
-
Adapt your premake5.lua script, or better: create/adapt your premake-system.lua
require "codeblocks"
- 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
If you are interested in a Code::Blocks plugin doing the reverse job, you may try Premake5 exporter.
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 |