Fixed: CMakeGenerator now generates add_subdirectory(...) in sorted order

parent 66534613
......@@ -43,6 +43,7 @@ public class CMakeGenerator extends StarBridgeGenerator {
getGeneratorImpls().stream()
.filter(gen -> gen.willAccept(componentInstanceSymbol))
.map(this::getImplSubdir)
.sorted()
.forEach(subdir -> content.append("add_subdirectory(" + subdir + ")\n"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment