Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

New plugin to create Makefile project with existing code

<< < (2/2)

Pecan:
@Christo

There's an error in the .cbp for Windows.
The line:

--- Code: ---<Add alias="All" targets="default;to_codeblocks_wx28;to_codeblocks_wx30;to_codeblocks_wx31;to_codeblocks_wx32;to_codeblocks_wx33;" />
"

--- End code ---

should be:

--- Code: ---Add alias="All" targets="to_wn_wx32_64;" />

--- End code ---

else the Windows project will not compile when the target is set to "All"

christo:
Thanks @Pecan, corrected project file for Windows.

christo:
New plugin to create codeblocks external makefile project from compile_commands.json https://github.com/josephch/CbProjectFromCompileCommands

Modern build systems supports generating compile_commands.json for IDE integration. Meson creates this by default in the build folder, cmake generates it when setting the flag CMAKE_EXPORT_COMPILE_COMMANDS.

The plugin also create a modified compile_commands.json file in the project root directory if it is different from the original compile_commands.json 's directory. This is done to give the correct compile commands to clangd_client plugin.

Navigation

[0] Message Index

[*] Previous page

Go to full version