Comment 5 for bug 1195802

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :

Anton, I don't understand your last changes in cmake.
This line will trigger the compilation of all combined *.cpp from the three folders in a single yade lib, right?
ADD_LIBRARY(yade SHARED ${SRC_CORE} ${SRC_PKG} ${SRC_LIB})

Besides I don't see this line called unless chunkSize=0, I'm in doubt to tell if it is really good to do this.
It seems to be more or less equivalent to setting a very big chunksize (except that chunksize would not merge many forlders). The drawback of this is known: high memory requirements.

I would suggest to fix the clump cross-linking issue in source instead of changing the build system.
Please tell me if I don't understand the cmake correctly.