Actually, the case is quite simple.
Solution 1: The house and property belong to the partner. She then has to finance it, and you contribute symbolically to the house costs. In the event of inheritance, your family line gets nothing. But that is fair, as you did not pay for the house either.
Solution 2: You buy 1/2 of the property and you build/finance together. In the event of inheritance, the children each have an inheritance claim to the 1/2 share. Also fair, since joint ownership, which both have paid for.