From 1faa8b499099d48438524b24681de340b767275f Mon Sep 17 00:00:00 2001 From: snippet Date: Wed, 24 Aug 2022 08:25:38 +1000 Subject: [PATCH] Removed zip download, they don't work with submodules. Added vcpkg command --- docs/introduction/Installation.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/introduction/Installation.md b/docs/introduction/Installation.md index 4d3ace89..8dddf3c8 100644 --- a/docs/introduction/Installation.md +++ b/docs/introduction/Installation.md @@ -9,6 +9,14 @@ xlnt can be [found](https://aur.archlinux.org/packages/xlnt/) on the AUR. ## vcpkg +`vcpkg` installs x86 by default +``` +.\vcpkg install xlnt +``` +if you need x64 use the following command +``` +.\vcpkg install xlnt:x64-windows +``` ## Compiling xlnt 1.x.x from Source on Ubuntu 16.04 LTS (Xenial Xerus) Time required: Approximately 5 minutes (depending on your internet speed) @@ -28,12 +36,9 @@ export CC=/usr/bin/gcc-6 export CXX=/usr/bin/g++-6 ``` The following steps will intall xlnt -Download the zip file from the xlnt repository -https://github.com/tfussell/xlnt/archive/master.zip ``` -cd ~ -unzip Downloads/xlnt-master.zip -cd xlnt-master +git clone https://github.com/tfussell/xlnt.git xlnt --recurse-submodules +cd xlnt cmake . make -j 2 sudo make install