yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11104
Re: Removing some small .cpp-files
Hi Anton,
Quick question: do you know why you could remove some YADE_PLUGIN macro
without problems (in e.g. Box)?
Does it mean they could be removed everywhere??
Bruno
On 21/07/14 20:26, Anton Gladky wrote:
> Hi all,
>
> last week I removed about 33 cpp-files, which size was relatively small.
> Some of them had just several lines of the code, which could
> be moved into their headers.
>
> The reason was to reduce the compilation time and it seems we
> have got already benefit: according to buildbot we can now build the
> code from scratch during 32min instead of 42.
>
> Please, if you write new constitutive law, please create just one
> cpp-file for that. No need to split it into severarl Ip2* Law2 etc.
> It brings nothing, only increases the compilation time.
>
> Cheers
>
> Anton
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
>
>
>
--
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________
Follow ups
References