Posted by
Luigi Ballabio on
Jan 13, 2012; 10:39am
URL: http://quantlib.414.s1.nabble.com/how-to-improve-the-speed-of-developing-the-source-code-tp13372p13376.html
On Fri, Jan 13, 2012 at 11:31 AM, Laser Yuan <
[hidden email]> wrote:
> Every time I change something, it takes almost ten minutes to rebuild it. I
> noticed that there a lots of warning there so it seems it's recompiling many
> files.
>
> I wondered if I need some make file to make the modification easier?
No, it should already be recompiling only what's needed. Does it
compile the examples, too? (They are the projects called
DiscreteHedging, EquityOption etc.) These might take a bit of time.
Try removing the corresponding projects from the solution.
Also, I guess you're running some code you wrote to test the
modifications. Does it include only the headers that you need, or
<ql/quantlib.hpp>? The latter is huge and takes a while, whereas if
you only include what you need you should gain some time.
Luigi
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev