A machine for finishing building boards which are essentially shaped as cuboids including a primary main side and opposite thereto a secondary main side each having a relatively large delimitation area and four edge sides with relatively small delimitation area, the machine comprising: a conveyor line configured to receive incoming body elements for building boards and transport the body elements in a working direction along a set of processing stations (A, B, C, D) in the machine, characterized in that a first processing station of said processing stations comprises laterally operating processing means (131A, 132A, 132B, 133A, 134A) configured to, by gluing, apply a first edge strip, of a so-called female type, along a first edge side of said four edge sides in such a manner that the first edge strip is brought in parallel with the primary main side, and further configured to apply, by gluing, a second edge strip, of a so-called male type, along a second edge side of said four edge sides, which second edge side is opposite to the first edge side, and the second edge strip is applied in such a manner that a primary side of the second edge strip is brought in parallel with the primary main side; and a second processing station of said processing stations comprises vertically operating processing means (141B, 151B, 152BC, 148B) configured to: apply, by gluing, a primary surface layer which covers the entire primary main side and the primary side of the first edge strip and the primary side of the second edge strip, and thereafter apply a vertical pressure over the body element and the first edge strip and the second edge strip across the working direction while the body element and the first edge strip and the second edge strip pass the second processing station in such a manner that the primary side of the first edge strip and the primary side of the second edge strip are brought in level with the primary main side of the body element when passing through the second processing station. a conveyor line configured to receive incoming body elements for building boards and transport the body elements in a working direction along a set of processing stations (A, B, C, D) in the machine, characterized in that a first processing station of said processing stations comprises laterally operating processing means (131A, 132A, 132B, 133A, 134A) configured to, by gluing, apply a first edge strip, of a so-called female type, along a first edge side of said four edge sides in such a manner that the first edge strip is brought in parallel with the primary main side, and further configured to apply, by gluing, a second edge strip, of a so-called male type, along a second edge side of said four edge sides, which second edge side is opposite to the first edge side, and the second edge strip is applied in such a manner that a primary side of the second edge strip is brought in parallel with the primary main side; and a second processing station of said processing stations comprises vertically operating processing means (141B, 151B, 152BC, 148B) configured to: apply, by gluing, a primary surface layer which covers the entire primary main side and the primary side of the first edge strip and the primary side of the second edge strip, and thereafter apply a vertical pressure over the body element and the first edge strip and the second edge strip across the working direction while the body element and the first edge strip and the second edge strip pass the second processing station in such a manner that the primary side of the first edge strip and the primary side of the second edge strip are brought in level with the primary main side of the body element when passing through the second processing station. apply, by gluing, a primary surface layer which covers the entire primary main side and the primary side of the first edge strip and the primary side of the second edge strip, and thereafter apply a vertical pressure over the body element and the first edge strip and the second edge strip across the working direction while the body element and the first edge strip and the second edge strip pass the second processing station in such a manner that the primary side of the first edge strip and the primary side of the second edge strip are brought in level with the primary main side of the body element when passing through the second processing station.