91
Development / Re: Support for c++20 modules
« Last post by ollydbg on November 10, 2025, 03:05:03 am »For who likes a workaround see: https://gitlab.com/jorgenjan-group/helloworld-for-c-with-modules-in-codeblocks
Good work!
I looked at the cbp file, it looks like there are 2 main changes compared with normal cbp file
1, some extra command is needed:
Code
<ExtraCommands>
<Add before="rm -f gcm.cache" />
<Add before="mkdir -p obj/Debug/gcm.cache" />
<Add before="ln -s obj/Debug/gcm.cache ./gcm.cache" />
</ExtraCommands>
Here you call a "ln" command, my guess is that under Windows system, there is no such command.
2, when building the cxx file, it should set the weight to 10.
Code
<Unit filename="Hello.cxx">
<Option weight="10" />
</Unit>
Which means this file should be built before other source files.
Recent Posts