"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.
If your IDE understands EmmyLua annotations, you may take a look at lua-d-premake5.
OS (Platform) - Date | Premake | Code::Blocks Version | Target compiler |
---|---|---|---|
Alpine Linux (x64) - February 2025 | 5.0.0-beta3 | 20.03 | clang, gcc |