|
From: Laser Y. <las...@gm...> - 2012-01-13 11:29:31
|
Thanks! It seems work for me. After closing all the unrelated projects and including only the head files needed. The building time is shortened to less than one minute. On Fri, Jan 13, 2012 at 6:39 PM, Luigi Ballabio <lui...@gm...>wrote: > On Fri, Jan 13, 2012 at 11:31 AM, Laser Yuan <las...@gm...> 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 > |