Good day! The problem is the following, in gusto I divide the project into subprojects, so that in the root gang there is only add_directory (dir1) add_directory (dir2). When compiling (in order - the first directory) - complains about the unresolved links to the classes of the second directory, if you swap the order of compilation - the second folder will complain that it does not know the links to the first.
The question arose - how can a project be divided in general, and how can unresolved links be avoided? The variant works - when in the root gusb the first folder is connected not by the pop-project, but simply the files from it are listed in add_executable and the sub-project is only the second folder. But you only need add_directories in the root.