Codegen: Migrate from gccxml to castxml
authorLudwig Jäck <ludwig.jaeck@intra2net.com>
Fri, 31 May 2024 09:48:32 +0000 (11:48 +0200)
committerLudwig Jäck <ludwig.jaeck@intra2net.com>
Fri, 7 Jun 2024 08:01:26 +0000 (10:01 +0200)
commitd28db33b515a30808a26e22dfafdbe398deb7b0d
treeb24453a8dfbfde1e3106df31bada59158ee53e4d
parentd717a0642e8495d6ae0458de87421055da4bf66c
Codegen: Migrate from gccxml to castxml

The goal of this and following commits is to migrate the code generator
of libt2n from gccxml to castxml. This is necessary since gccxml does
not support newer gcc versions.

This commit introduces the CASTXML_CXXFLAGS for future portability.
Right now all projects depending on libt2n are compiled in 32 bit and use
the gcc 4.4.4 std library. The variable allows for project wide upgrades.

A new cmake list transform syntax replaces the old for loop because castxml
has problems parsing the old string expansion which introduced unwanted
white space and '\' concatenation characters.
codegen/Libt2n.cmake