← Back to team overview

yade-users team mailing list archive

Re: [Question #256013]: Getting Yade to recognize changes in .cpp files

 

Question #256013 on Yade changed:
https://answers.launchpad.net/yade/+question/256013

Jérôme Duriez posted a new comment:
Compilation of Yade is described here [1]. Basically, you need to re-run cmake command if you add a new c++ file, then "make install". (If you only performed change in usually compiled files, make install is enough)
I do not know how to perform these tasks from Emacs directly, use terminal command line.

You might also give a look to [2] to understand how compilation takes
into account (or not..) c++ files.

But, if you copied paste (adding this cfpm) VTKRecorder.cpp in abc.cpp,
I guess you will face trouble during compilation (unless you disable
compilation of VTKRecorder.cpp), because of duplicate definitions.


[1] https://yade-dem.org/doc/installation.html#compilation
[2] https://yade-dem.org/doc/prog.html#build-system

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.