I just sent a QuatLibXL VS 2012 upgrade via pull request 54

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

I just sent a QuatLibXL VS 2012 upgrade via pull request 54

Piter Dias-4

Guys,

 

I just sent a QuatLibXL VS 2012 upgrade via pull request 54 and see below how I did it (packages is where I store some third projects):

Let me know if you have any concerns.

 

rm -rf $1

cp -r ../packages/quantlib $1

sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/Docs/docs_vc10.vcxproj >$1/gensrc/Docs/docs_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/Docs/docs_vc10.vcxproj.filters >$1/gensrc/Docs/docs_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.sln >$1/gensrc/gensrc_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.vcxproj >$1/gensrc/gensrc_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.vcxproj.filters >$1/gensrc/gensrc_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/apr_vc10.vcxproj >$1/log4cxx/msvc/apr_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/apr_vc10.vcxproj.filters >$1/log4cxx/msvc/apr_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/aprutil_vc10.vcxproj >$1/log4cxx/msvc/aprutil_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/aprutil_vc10.vcxproj.filters >$1/log4cxx/msvc/aprutil_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.sln >$1/log4cxx/msvc/log4cxx_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.vcxproj >$1/log4cxx/msvc/log4cxx_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.vcxproj.filters >$1/log4cxx/msvc/log4cxx_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Docs/docs_vc10.vcxproj >$1/ObjectHandler/Docs/docs_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Docs/docs_vc10.vcxproj.filters >$1/ObjectHandler/Docs/docs_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj >$1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj.user >$1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj >$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj.filters >$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj >$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj.user >$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj >$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj.user >$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj >$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj.user >$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj >$1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj.filters >$1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ObjectHandler_vc10.sln >$1/ObjectHandler/ObjectHandler_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohlib_vc10.vcxproj >$1/ObjectHandler/ohlib_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohlib_vc10.vcxproj.filters >$1/ObjectHandler/ohlib_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj >$1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj.filters >$1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj >$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj.filters >$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/xlsdk/xlsdk_vc10.vcxproj >$1/ObjectHandler/xlsdk/xlsdk_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj >$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj.filters >$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc10.vcxproj >$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc10.vcxproj >$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc10.vcxproj >$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj >$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj.filters >$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj >$1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj.filters >$1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/QuantLibAddin_vc10.sln >$1/QuantLibAddin/QuantLibAddin_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj >$1/QuantLibAddin/QuantLibObjects_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj.filters >$1/QuantLibAddin/QuantLibObjects_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj >$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj.filters >$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc10.csproj >$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc11.csproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc10.csproj >$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc11.csproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc10.csproj >$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc11.csproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/QuantLib_vc10.sln >$1/QuantLib-SWIG/CSharp/QuantLib_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj >$1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj.filters >$1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj >$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj.filters >$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj.filters
sed -e 's/vc10/vc11/g' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' -e 's/<TargetMachine>MachineX86<\/TargetMachine>/<TargetMachine>MachineX86<\/TargetMachine>\n <ImageHasSafeExceptionHandlers>false<\/ImageHasSafeExceptionHandlers>/' <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj >$1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj.filters >$1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/QuantLibAllDynamic_vc10.sln >$1/QuantLibXL/QuantLibAllDynamic_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/QuantLibXL_basic_vc10.sln >$1/QuantLibXL/QuantLibXL_basic_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/QuantLibXL_full_vc10.sln >$1/QuantLibXL/QuantLibXL_full_vc11.sln

sed 's/# define LOG4CXX_LIB_TOOLSET "vc100"/# define LOG4CXX_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define LOG4CXX_LIB_TOOLSET "vc110"/' <$1/log4cxx/src/main/include/log4cxx/auto_link.hpp >$1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new
sed 's/# define XLSDK_LIB_TOOLSET "vc100"/# define XLSDK_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define XLSDK_LIB_TOOLSET "vc110"/' <$1/ObjectHandler/xlsdk/auto_link.hpp >$1/ObjectHandler/xlsdk/auto_link.hpp.new
sed 's/# define QLADDIN_LIB_TOOLSET "vc100"/# define QLADDIN_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define QLADDIN_LIB_TOOLSET "vc110"/' <$1/QuantLibAddin/qlo/auto_link.hpp >$1/QuantLibAddin/qlo/auto_link.hpp.new
sed 's/# define OBJHANDLER_LIB_TOOLSET "vc100"/# define OBJHANDLER_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define OBJHANDLER_LIB_TOOLSET "vc110"/' <$1/ObjectHandler/oh/auto_link.hpp >$1/ObjectHandler/oh/auto_link.hpp.new

mv $1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new $1/log4cxx/src/main/include/log4cxx/auto_link.hpp
mv $1/ObjectHandler/xlsdk/auto_link.hpp.new $1/ObjectHandler/xlsdk/auto_link.hpp
mv $1/QuantLibAddin/qlo/auto_link.hpp.new $1/QuantLibAddin/qlo/auto_link.hpp
mv $1/ObjectHandler/oh/auto_link.hpp.new $1/ObjectHandler/oh/auto_link.hpp

 

 

 


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: I just sent a QuatLibXL VS 2012 upgrade via pull request 54

Luigi Ballabio
I've merged the change into master.  I'd be grateful if anyone could try it out.

Luigi

On Sun, Nov 10, 2013 at 12:30 AM, Piter Dias <[hidden email]> wrote:

> Guys,
>
>
>
> I just sent a QuatLibXL VS 2012 upgrade via pull request 54 and see below
> how I did it (packages is where I store some third projects):
>
> Let me know if you have any concerns.
>
>
>
> rm -rf $1
>
> cp -r ../packages/quantlib $1
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/Docs/docs_vc10.vcxproj
>>$1/gensrc/Docs/docs_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/gensrc/Docs/docs_vc10.vcxproj.filters
>>$1/gensrc/Docs/docs_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.sln
>>$1/gensrc/gensrc_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.vcxproj
>>$1/gensrc/gensrc_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/gensrc/gensrc_vc10.vcxproj.filters
>>$1/gensrc/gensrc_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/apr_vc10.vcxproj
>>$1/log4cxx/msvc/apr_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/apr_vc10.vcxproj.filters
>>$1/log4cxx/msvc/apr_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/aprutil_vc10.vcxproj >$1/log4cxx/msvc/aprutil_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/aprutil_vc10.vcxproj.filters
>>$1/log4cxx/msvc/aprutil_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.sln
>>$1/log4cxx/msvc/log4cxx_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/log4cxx_vc10.vcxproj >$1/log4cxx/msvc/log4cxx_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/log4cxx_vc10.vcxproj.filters
>>$1/log4cxx/msvc/log4cxx_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Docs/docs_vc10.vcxproj
>>$1/ObjectHandler/Docs/docs_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Docs/docs_vc10.vcxproj.filters
>>$1/ObjectHandler/Docs/docs_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj
>>$1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj.user
>>$1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj.user
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj
>>$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj.filters
>>$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj
>>$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj.user
>>$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj.user
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj
>>$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj.user
>>$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj.user
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj
>>$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj.user
>>$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj.user
> sed -e 's/vc10/vc11/' -e
> 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj
>>$1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj.filters
>>$1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ObjectHandler_vc10.sln
>>$1/ObjectHandler/ObjectHandler_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohlib_vc10.vcxproj >$1/ObjectHandler/ohlib_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohlib_vc10.vcxproj.filters
>>$1/ObjectHandler/ohlib_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj
>>$1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj.filters
>>$1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj
>>$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj.filters
>>$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/xlsdk/xlsdk_vc10.vcxproj
>>$1/ObjectHandler/xlsdk/xlsdk_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj
>>$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj.filters
>>$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc10.vcxproj
>>$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc10.vcxproj
>>$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc10.vcxproj
>>$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj
>>$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj.filters
>>$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj
>>$1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj.filters
>>$1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/QuantLibAddin_vc10.sln
>>$1/QuantLibAddin/QuantLibAddin_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj
>>$1/QuantLibAddin/QuantLibObjects_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj.filters
>>$1/QuantLibAddin/QuantLibObjects_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj
>>$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj.filters
>>$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc10.csproj
>>$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc11.csproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc10.csproj
>>$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc11.csproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc10.csproj
>>$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc11.csproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/QuantLib_vc10.sln
>>$1/QuantLib-SWIG/CSharp/QuantLib_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj
>>$1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj.filters
>>$1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj
>>$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj.filters
>>$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/g' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' -e
> 's/<TargetMachine>MachineX86<\/TargetMachine>/<TargetMachine>MachineX86<\/TargetMachine>\n
> <ImageHasSafeExceptionHandlers>false<\/ImageHasSafeExceptionHandlers>/'
> <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj
>>$1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj.filters
>>$1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj.filters
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/QuantLibAllDynamic_vc10.sln
>>$1/QuantLibXL/QuantLibAllDynamic_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/QuantLibXL_basic_vc10.sln
>>$1/QuantLibXL/QuantLibXL_basic_vc11.sln
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/QuantLibXL_full_vc10.sln
>>$1/QuantLibXL/QuantLibXL_full_vc11.sln
>
> sed 's/# define LOG4CXX_LIB_TOOLSET "vc100"/# define LOG4CXX_LIB_TOOLSET
> "vc100"\n#elif (_MSC_VER == 1700)\n# define LOG4CXX_LIB_TOOLSET "vc110"/'
> <$1/log4cxx/src/main/include/log4cxx/auto_link.hpp
>>$1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new
> sed 's/# define XLSDK_LIB_TOOLSET "vc100"/# define XLSDK_LIB_TOOLSET
> "vc100"\n#elif (_MSC_VER == 1700)\n# define XLSDK_LIB_TOOLSET "vc110"/'
> <$1/ObjectHandler/xlsdk/auto_link.hpp
>>$1/ObjectHandler/xlsdk/auto_link.hpp.new
> sed 's/# define QLADDIN_LIB_TOOLSET "vc100"/# define QLADDIN_LIB_TOOLSET
> "vc100"\n#elif (_MSC_VER == 1700)\n# define QLADDIN_LIB_TOOLSET "vc110"/'
> <$1/QuantLibAddin/qlo/auto_link.hpp >$1/QuantLibAddin/qlo/auto_link.hpp.new
> sed 's/# define OBJHANDLER_LIB_TOOLSET "vc100"/# define
> OBJHANDLER_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define
> OBJHANDLER_LIB_TOOLSET "vc110"/' <$1/ObjectHandler/oh/auto_link.hpp
>>$1/ObjectHandler/oh/auto_link.hpp.new
>
> mv $1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new
> $1/log4cxx/src/main/include/log4cxx/auto_link.hpp
> mv $1/ObjectHandler/xlsdk/auto_link.hpp.new
> $1/ObjectHandler/xlsdk/auto_link.hpp
> mv $1/QuantLibAddin/qlo/auto_link.hpp.new $1/QuantLibAddin/qlo/auto_link.hpp
> mv $1/ObjectHandler/oh/auto_link.hpp.new $1/ObjectHandler/oh/auto_link.hpp
>
>
>
>
>
>
>
> --
>
>
>
> ________________________________
>
> Piter Dias
> [hidden email]
> http://www.piterdias.com
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: I just sent a QuatLibXL VS 2012 upgrade via pull request 54

Piter Dias-4

I just tried ant it is all good.

 

How do you usually keep Visual Studio projects across all folders? There are so many versions that it doesn't seem to be feasible doing the work manually.

 

On 2013-11-11 13:45, Luigi Ballabio wrote:

I've merged the change into master.  I'd be grateful if anyone could try it out.

Luigi

On Sun, Nov 10, 2013 at 12:30 AM, Piter Dias <[hidden email]> wrote:
Guys, I just sent a QuatLibXL VS 2012 upgrade via pull request 54 and see below how I did it (packages is where I store some third projects): Let me know if you have any concerns. rm -rf $1 cp -r ../packages/quantlib $1 sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/Docs/docs_vc10.vcxproj
$1/gensrc/Docs/docs_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/Docs/docs_vc10.vcxproj.filters
$1/gensrc/Docs/docs_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.sln
$1/gensrc/gensrc_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.vcxproj
$1/gensrc/gensrc_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.vcxproj.filters
$1/gensrc/gensrc_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/apr_vc10.vcxproj
$1/log4cxx/msvc/apr_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/apr_vc10.vcxproj.filters
$1/log4cxx/msvc/apr_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/aprutil_vc10.vcxproj >$1/log4cxx/msvc/aprutil_vc11.vcxproj sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/aprutil_vc10.vcxproj.filters
$1/log4cxx/msvc/aprutil_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.sln
$1/log4cxx/msvc/log4cxx_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.vcxproj >$1/log4cxx/msvc/log4cxx_vc11.vcxproj sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.vcxproj.filters
$1/log4cxx/msvc/log4cxx_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Docs/docs_vc10.vcxproj
$1/ObjectHandler/Docs/docs_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Docs/docs_vc10.vcxproj.filters
$1/ObjectHandler/Docs/docs_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj
$1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj.user
$1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj
$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj.filters
$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj
$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj.user
$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj
$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj.user
$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj
$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj.user
$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj.user
sed -e 's/vc10/vc11/' -e 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj
$1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj.filters
$1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ObjectHandler_vc10.sln
$1/ObjectHandler/ObjectHandler_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohlib_vc10.vcxproj >$1/ObjectHandler/ohlib_vc11.vcxproj sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohlib_vc10.vcxproj.filters
$1/ObjectHandler/ohlib_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj
$1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj.filters
$1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj
$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj.filters
$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/ObjectHandler/xlsdk/xlsdk_vc10.vcxproj
$1/ObjectHandler/xlsdk/xlsdk_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj
$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj.filters
$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc10.vcxproj
$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc10.vcxproj
$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc10.vcxproj
$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj
$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj.filters
$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj
$1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj.filters
$1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/QuantLibAddin_vc10.sln
$1/QuantLibAddin/QuantLibAddin_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj
$1/QuantLibAddin/QuantLibObjects_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj.filters
$1/QuantLibAddin/QuantLibObjects_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj
$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj.filters
$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc10.csproj
$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc11.csproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc10.csproj
$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc11.csproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc10.csproj
$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc11.csproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLib-SWIG/CSharp/QuantLib_vc10.sln
$1/QuantLib-SWIG/CSharp/QuantLib_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj
$1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj.filters
$1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj
$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj.filters
$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj.filters
sed -e 's/vc10/vc11/g' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' -e 's/<TargetMachine>MachineX86<\/TargetMachine>/<TargetMachine>MachineX86<\/TargetMachine>\n <ImageHasSafeExceptionHandlers>false<\/ImageHasSafeExceptionHandlers>/' <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj
$1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj.filters
$1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj.filters
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/QuantLibAllDynamic_vc10.sln
$1/QuantLibXL/QuantLibAllDynamic_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/QuantLibXL_basic_vc10.sln
$1/QuantLibXL/QuantLibXL_basic_vc11.sln
sed -e 's/vc10/vc11/' -e 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n <PlatformToolset>v110<\/PlatformToolset>/' <$1/QuantLibXL/QuantLibXL_full_vc10.sln
$1/QuantLibXL/QuantLibXL_full_vc11.sln
sed 's/# define LOG4CXX_LIB_TOOLSET "vc100"/# define LOG4CXX_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define LOG4CXX_LIB_TOOLSET "vc110"/' <$1/log4cxx/src/main/include/log4cxx/auto_link.hpp
$1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new
sed 's/# define XLSDK_LIB_TOOLSET "vc100"/# define XLSDK_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define XLSDK_LIB_TOOLSET "vc110"/' <$1/ObjectHandler/xlsdk/auto_link.hpp
$1/ObjectHandler/xlsdk/auto_link.hpp.new
sed 's/# define QLADDIN_LIB_TOOLSET "vc100"/# define QLADDIN_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define QLADDIN_LIB_TOOLSET "vc110"/' <$1/QuantLibAddin/qlo/auto_link.hpp >$1/QuantLibAddin/qlo/auto_link.hpp.new sed 's/# define OBJHANDLER_LIB_TOOLSET "vc100"/# define OBJHANDLER_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define OBJHANDLER_LIB_TOOLSET "vc110"/' <$1/ObjectHandler/oh/auto_link.hpp
$1/ObjectHandler/oh/auto_link.hpp.new
mv $1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new $1/log4cxx/src/main/include/log4cxx/auto_link.hpp mv $1/ObjectHandler/xlsdk/auto_link.hpp.new $1/ObjectHandler/xlsdk/auto_link.hpp mv $1/QuantLibAddin/qlo/auto_link.hpp.new $1/QuantLibAddin/qlo/auto_link.hpp mv $1/ObjectHandler/oh/auto_link.hpp.new $1/ObjectHandler/oh/auto_link.hpp -- ________________________________ Piter Dias [hidden email] http://www.piterdias.com ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: I just sent a QuatLibXL VS 2012 upgrade via pull request 54

Luigi Ballabio
I usually manage only the ones in QuantLib :)
I'm not sure how Eric deals with QuantLibXL.

Luigi

On Mon, Nov 11, 2013 at 11:43 PM, Piter Dias <[hidden email]> wrote:

> I just tried ant it is all good.
>
>
>
> How do you usually keep Visual Studio projects across all folders? There are
> so many versions that it doesn't seem to be feasible doing the work
> manually.
>
>
>
> ---
>
>
>
> ________________________________
>
> Piter Dias
> [hidden email]
> http://www.piterdias.com
>
> On 2013-11-11 13:45, Luigi Ballabio wrote:
>
> I've merged the change into master.  I'd be grateful if anyone could try it
> out.
>
> Luigi
>
> On Sun, Nov 10, 2013 at 12:30 AM, Piter Dias <[hidden email]>
> wrote:
>
> Guys, I just sent a QuatLibXL VS 2012 upgrade via pull request 54 and see
> below how I did it (packages is where I store some third projects): Let me
> know if you have any concerns. rm -rf $1 cp -r ../packages/quantlib $1 sed
> -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/Docs/docs_vc10.vcxproj
>
> $1/gensrc/Docs/docs_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/gensrc/Docs/docs_vc10.vcxproj.filters
>
> $1/gensrc/Docs/docs_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.sln
>
> $1/gensrc/gensrc_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/gensrc/gensrc_vc10.vcxproj
>
> $1/gensrc/gensrc_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/gensrc/gensrc_vc10.vcxproj.filters
>
> $1/gensrc/gensrc_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/apr_vc10.vcxproj
>
> $1/log4cxx/msvc/apr_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/apr_vc10.vcxproj.filters
>
> $1/log4cxx/msvc/apr_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/aprutil_vc10.vcxproj >$1/log4cxx/msvc/aprutil_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/aprutil_vc10.vcxproj.filters
>
> $1/log4cxx/msvc/aprutil_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' <$1/log4cxx/msvc/log4cxx_vc10.sln
>
> $1/log4cxx/msvc/log4cxx_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/log4cxx_vc10.vcxproj >$1/log4cxx/msvc/log4cxx_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/log4cxx/msvc/log4cxx_vc10.vcxproj.filters
>
> $1/log4cxx/msvc/log4cxx_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Docs/docs_vc10.vcxproj
>
> $1/ObjectHandler/Docs/docs_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Docs/docs_vc10.vcxproj.filters
>
> $1/ObjectHandler/Docs/docs_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj
>
> $1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/C++/ExampleCpp_vc10.vcxproj.user
>
> $1/ObjectHandler/Examples/C++/ExampleCpp_vc11.vcxproj.user
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj
>
> $1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc10.vcxproj.filters
>
> $1/ObjectHandler/Examples/ExampleObjects/ExampleObjects_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj
>
> $1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc10.vcxproj.user
>
> $1/ObjectHandler/Examples/xl/ExampleXllDynamic1_vc11.vcxproj.user
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj
>
> $1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc10.vcxproj.user
>
> $1/ObjectHandler/Examples/xl/ExampleXllDynamic2_vc11.vcxproj.user
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj
>
> $1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/Examples/xl/ExampleXllStatic_vc10.vcxproj.user
>
> $1/ObjectHandler/Examples/xl/ExampleXllStatic_vc11.vcxproj.user
>
> sed -e 's/vc10/vc11/' -e
> 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj
>
> $1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/gensrc/ohgensrc_vc10.vcxproj.filters
>
> $1/ObjectHandler/gensrc/ohgensrc_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ObjectHandler_vc10.sln
>
> $1/ObjectHandler/ObjectHandler_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohlib_vc10.vcxproj >$1/ObjectHandler/ohlib_vc11.vcxproj
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohlib_vc10.vcxproj.filters
>
> $1/ObjectHandler/ohlib_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj
>
> $1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxll/ohxll_vc10.vcxproj.filters
>
> $1/ObjectHandler/ohxl/ohxll/ohxll_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj
>
> $1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/ohxl/ohxllib/ohxllib_vc10.vcxproj.filters
>
> $1/ObjectHandler/ohxl/ohxllib/ohxllib_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/ObjectHandler/xlsdk/xlsdk_vc10.vcxproj
>
> $1/ObjectHandler/xlsdk/xlsdk_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj
>
> $1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Addins/Cpp/AddinCpp_vc10.vcxproj.filters
>
> $1/QuantLibAddin/Addins/Cpp/AddinCpp_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc10.vcxproj
>
> $1/QuantLibAddin/Clients/Cpp/ClientCppDemo_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc10.vcxproj
>
> $1/QuantLibAddin/Clients/CppInstrumentIn/CppInstrumentIn_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc10.vcxproj
>
> $1/QuantLibAddin/Clients/CppSwapOut/ClientCppSwapOut_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj
>
> $1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/Docs/docs-QuantLibAddin_vc10.vcxproj.filters
>
> $1/QuantLibAddin/Docs/docs-QuantLibAddin_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<ConfigurationType>Makefile<\/ConfigurationType>/<ConfigurationType>Makefile<\/ConfigurationType>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj
>
> $1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/gensrc/qlgensrc_vc10.vcxproj.filters
>
> $1/QuantLibAddin/gensrc/qlgensrc_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/QuantLibAddin_vc10.sln
>
> $1/QuantLibAddin/QuantLibAddin_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj
>
> $1/QuantLibAddin/QuantLibObjects_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibAddin/QuantLibObjects_vc10.vcxproj.filters
>
> $1/QuantLibAddin/QuantLibObjects_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj
>
> $1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc10.vcxproj.filters
>
> $1/QuantLib-SWIG/CSharp/cpp/QuantlibWrapper_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc10.csproj
>
> $1/QuantLib-SWIG/CSharp/csharp/NQuantLib_vc11.csproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc10.csproj
>
> $1/QuantLib-SWIG/CSharp/examples/BermudanSwaption_vc11.csproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/examples/EquityOption_vc10.csproj
>
> $1/QuantLib-SWIG/CSharp/examples/EquityOption_vc11.csproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLib-SWIG/CSharp/QuantLib_vc10.sln
>
> $1/QuantLib-SWIG/CSharp/QuantLib_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj
>
> $1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/Docs/docs-QuantLibXL_vc10.vcxproj.filters
>
> $1/QuantLibXL/Docs/docs-QuantLibXL_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj
>
> $1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/qlxl/QuantLibXLDynamic_vc10.vcxproj.filters
>
> $1/QuantLibXL/qlxl/QuantLibXLDynamic_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/g' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/' -e
> 's/<TargetMachine>MachineX86<\/TargetMachine>/<TargetMachine>MachineX86<\/TargetMachine>\n
> <ImageHasSafeExceptionHandlers>false<\/ImageHasSafeExceptionHandlers>/'
> <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj
>
> $1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/qlxl/QuantLibXLStatic_vc10.vcxproj.filters
>
> $1/QuantLibXL/qlxl/QuantLibXLStatic_vc11.vcxproj.filters
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/QuantLibAllDynamic_vc10.sln
>
> $1/QuantLibXL/QuantLibAllDynamic_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/QuantLibXL_basic_vc10.sln
>
> $1/QuantLibXL/QuantLibXL_basic_vc11.sln
>
> sed -e 's/vc10/vc11/' -e
> 's/<CharacterSet>MultiByte<\/CharacterSet>/<CharacterSet>MultiByte<\/CharacterSet>\n
> <PlatformToolset>v110<\/PlatformToolset>/'
> <$1/QuantLibXL/QuantLibXL_full_vc10.sln
>
> $1/QuantLibXL/QuantLibXL_full_vc11.sln
>
> sed 's/# define LOG4CXX_LIB_TOOLSET "vc100"/# define LOG4CXX_LIB_TOOLSET
> "vc100"\n#elif (_MSC_VER == 1700)\n# define LOG4CXX_LIB_TOOLSET "vc110"/'
> <$1/log4cxx/src/main/include/log4cxx/auto_link.hpp
>
> $1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new
>
> sed 's/# define XLSDK_LIB_TOOLSET "vc100"/# define XLSDK_LIB_TOOLSET
> "vc100"\n#elif (_MSC_VER == 1700)\n# define XLSDK_LIB_TOOLSET "vc110"/'
> <$1/ObjectHandler/xlsdk/auto_link.hpp
>
> $1/ObjectHandler/xlsdk/auto_link.hpp.new
>
> sed 's/# define QLADDIN_LIB_TOOLSET "vc100"/# define QLADDIN_LIB_TOOLSET
> "vc100"\n#elif (_MSC_VER == 1700)\n# define QLADDIN_LIB_TOOLSET "vc110"/'
> <$1/QuantLibAddin/qlo/auto_link.hpp >$1/QuantLibAddin/qlo/auto_link.hpp.new
> sed 's/# define OBJHANDLER_LIB_TOOLSET "vc100"/# define
> OBJHANDLER_LIB_TOOLSET "vc100"\n#elif (_MSC_VER == 1700)\n# define
> OBJHANDLER_LIB_TOOLSET "vc110"/' <$1/ObjectHandler/oh/auto_link.hpp
>
> $1/ObjectHandler/oh/auto_link.hpp.new
>
> mv $1/log4cxx/src/main/include/log4cxx/auto_link.hpp.new
> $1/log4cxx/src/main/include/log4cxx/auto_link.hpp mv
> $1/ObjectHandler/xlsdk/auto_link.hpp.new
> $1/ObjectHandler/xlsdk/auto_link.hpp mv
> $1/QuantLibAddin/qlo/auto_link.hpp.new $1/QuantLibAddin/qlo/auto_link.hpp mv
> $1/ObjectHandler/oh/auto_link.hpp.new $1/ObjectHandler/oh/auto_link.hpp --
> ________________________________ Piter Dias [hidden email]
> http://www.piterdias.com
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers Accelerate application
> performance with scalable programming models. Explore techniques for
> threading, error checking, porting, and tuning. Get the most from the latest
> Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________ QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: I just sent a QuatLibXL VS 2012 upgrade via pull request 54

Eric Ehlers-2
>> On Sun, Nov 10, 2013 at 12:30 AM, Piter Dias
>> <[hidden email]>
>> Guys, I just sent a QuatLibXL VS 2012 upgrade via pull request 54 and
>> see

Thanks very much for that, I will include it in the 1.4 release.

>> How do you usually keep Visual Studio projects across all folders?
>> There are
>> so many versions that it doesn't seem to be feasible doing the work
>> manually.
On 2013-11-12 09:03, Luigi Ballabio wrote:
> I usually manage only the ones in QuantLib :)
> I'm not sure how Eric deals with QuantLibXL.

I do it manually.  The problem I have now is that I no longer have all
those versions of Visual Studio installed.  Also, a couple of weeks ago
we attempted a 64 bit build, and concluded that for the time being it is
more trouble than it is worth... So I am not sure how I will test all of
the different builds that are included in the release...

Cheers,
Eric
--
===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev