From the documentation
Add a subdirectory to the assembly. Source_dir indicates the directory in which the source CMakeLists.txt file and code are located. If this is a relative path, it will be evaluated relative to the current directory (typical use), but it can also be an absolute path. Binary_dir indicates the directory in which to place the output files. If this is a relative path, it will be evaluated relative to the current output directory, but it can also be an absolute path. If binary_dir is not specified, the value of source_dir will be used before extending any relative path (typical use). The CMakeLists.txt file in the specified source directory will be processed immediately by CMake before processing into the current input file continues beyond this command
In your example, all binaries created in the directory "/ path / to / the / library / source / directory" will be placed in "subproject / grzeslib", it is good to "clear" the source files.
source share