|
From: Luigi B. <lui...@gm...> - 2013-11-11 15:45:27
|
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 <pit...@pi...> 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 > pit...@pi... > 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 > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > -- <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> |