Posted by Peter Caspers-2 on URL: http://quantlib.414.s1.nabble.com/Partial-Add-in-Build-tp8279p8284.html
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/
------------------------------------------------------------------------------
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