Skip to content

Example for adding QuantLib as a dependency to a C++ project using vcpkg

Notifications You must be signed in to change notification settings

sweemer/quantlib-vcpkg-example

Repository files navigation

quantlib-vcpkg-example

Requirements: CMake 3.20 or above

You can build this project either on command line or in an IDE such as Visual Studio or Visual Studio Code.

  • On the command line, enter the following commands:
    • git submodule init
    • git submodule update
    • cmake --preset linux-dynamic # or linux-static or windows-static
    • cmake --build --preset linux-dynamic # or linux-static or windows-static
  • In an IDE, simply choose the configure preset and the build preset that you want and then build the project.

About

Example for adding QuantLib as a dependency to a C++ project using vcpkg

Resources

Stars

Watchers

Forks