Hello there!
Is it a way of building Add-in partialy (e.g. specific modules: calendar etc.) in Visual Studio via the current base solution? Can anyone provide a step-by-step 'How To"?
Many thanks! Best regards, Kirill
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi, Peter! Do you mean categories.xml in \QuantLibAddin\gensrc\config ? Simply change it and make full QuantLib biuld once more? That doesn't work - Add-in is still ~17Mb.
Best regards, Kirill On 14 June 2012 00:09, Peter Caspers <[hidden email]> wrote:
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Peter,
Btw, you've got it right: I use only qlCalendar...() functions and want to build a small Add-in, incorporating only these functions, not all.
On 14 June 2012 10:18, Kirill Shemyakin <[hidden email]> wrote:
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi Kirill,
in addition you should exclude some files in QuantLibXLStatic from the build: functions: everything but calendar.cpp date.cpp functioncount.hpp manual.cpp utilities.cpp register: everthing but addin.cpp register_all.* register_calendar.cpp register_date.cpp register_utilities.cpp This gets me an addin of 3.8mb. Seems still big though. I do not know, if you can make it even smaller. Peter perhaps easier: exclude all files under QuantLibXLStatic / functions from build but Am 14.06.2012 08:32, schrieb Kirill Shemyakin: Peter, ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Peter,
How to exclude files from the build? Kirill
On 14 June 2012 22:55, Peter Caspers <[hidden email]> wrote:
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
in msvc2010 there is a file property "general / exclude from build"
(something like that).
you can also remove the files from the project entirely. Peter Am 14.06.2012 21:14, schrieb Kirill Shemyakin: Peter, ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Peter,
Do I get it right: 1. Open QuantLibXLStatic_vc8 in \QuantLibXL\qlxl 2. Exclude all files you mentioned earlier 3. Build solution And where will be xll stored? In \QuantLibXL\xll as well?
Btw, I have fatal error while doing all that: 1>LINK : fatal error LNK1104: cannot open file 'QuantLibObjects-vc80-mt-sgd-1_1_0.lib' Kirill
On 15 June 2012 00:03, Peter Caspers <[hidden email]> wrote:
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
That looks right. In short, you'll do the same things you did to
compile the whole addin the first time, only in this case you'll exclude from the solution the files you don't want. Luigi On Thu, Jun 14, 2012 at 10:44 PM, Kirill Shemyakin <[hidden email]> wrote: > Peter, > > Do I get it right: > 1. Open QuantLibXLStatic_vc8 in \QuantLibXL\qlxl > 2. Exclude all files you mentioned earlier > 3. Build solution > > And where will be xll stored? In \QuantLibXL\xll as well? > Btw, I have fatal error while doing all that: > 1>LINK : fatal error LNK1104: cannot open file > 'QuantLibObjects-vc80-mt-sgd-1_1_0.lib' > > Kirill > > > On 15 June 2012 00:03, Peter Caspers <[hidden email]> wrote: >> >> in msvc2010 there is a file property "general / exclude from build" >> (something like that). >> you can also remove the files from the project entirely. >> Peter >> >> Am 14.06.2012 21:14, schrieb Kirill Shemyakin: >> >> Peter, >> >> How to exclude files from the build? >> >> Kirill >> >> On 14 June 2012 22:55, Peter Caspers <[hidden email]> wrote: >>> >>> Hi Kirill, >>> >>> in addition you should exclude some files in QuantLibXLStatic from the >>> build: >>> >>> functions: everything but >>> calendar.cpp >>> date.cpp >>> functioncount.hpp >>> manual.cpp >>> utilities.cpp >>> >>> register: everthing but >>> addin.cpp >>> register_all.* >>> register_calendar.cpp >>> register_date.cpp >>> register_utilities.cpp >>> >>> This gets me an addin of 3.8mb. Seems still big though. I do not know, if >>> you can make it even smaller. >>> >>> Peter >>> >>> >>> perhaps easier: exclude all files under QuantLibXLStatic / functions from >>> build but >>> >>> Am 14.06.2012 08:32, schrieb Kirill Shemyakin: >>> >>> Peter, >>> >>> Btw, you've got it right: I use only qlCalendar...() functions and want >>> to build a small Add-in, incorporating only these functions, not all. >>> >>> On 14 June 2012 10:18, Kirill Shemyakin <[hidden email]> wrote: >>>> >>>> Hi, Peter! >>>> >>>> Do you mean categories.xml in \QuantLibAddin\gensrc\config ? >>>> >>>> Simply change it and make full QuantLib biuld once more? That doesn't >>>> work - Add-in is still ~17Mb. >>>> >>>> Best regards, >>>> Kirill >>>> >>>> On 14 June 2012 00:09, Peter Caspers <[hidden email]> wrote: >>>>> >>>>> Kirill, >>>>> you can comment out categories you do not want in qlgensrc / >>>>> categories.xml and rebuild. >>>>> That's what you mean? >>>>> Peter >>>>> >>>>> Am 13.06.2012 19:00, schrieb Kirill Shemyakin: >>>>> >>>>> Hello there! >>>>> >>>>> Is it a way of building Add-in partialy (e.g. specific modules: >>>>> calendar etc.) in Visual Studio via the current base solution? >>>>> Can anyone provide a step-by-step 'How To"? >>>>> >>>>> Many thanks! >>>>> >>>>> Best regards, >>>>> Kirill >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. >>>>> Discussions >>>>> will include endpoint security, mobile security and the latest in >>>>> malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> QuantLib-users mailing list >>>>> [hidden email] >>>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>> >>>>> >>>> >>> >>> >> >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > QuantLib-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Ok, thanks!
Kirill
On 15 June 2012 18:10, Luigi Ballabio <[hidden email]> wrote: That looks right. In short, you'll do the same things you did to ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by Luigi Ballabio
Luigi, and to get Add-in can I build
QuantLibXLStatic_vc# separetely?
Kirill On 15 June 2012 18:10, Luigi Ballabio <[hidden email]> wrote: That looks right. In short, you'll do the same things you did to ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |