mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Removed zip download, they don't work with submodules. Added vcpkg command
This commit is contained in:
parent
fbae8cd6c1
commit
1faa8b4990
|
@ -9,6 +9,14 @@
|
||||||
xlnt can be [found](https://aur.archlinux.org/packages/xlnt/) on the AUR.
|
xlnt can be [found](https://aur.archlinux.org/packages/xlnt/) on the AUR.
|
||||||
|
|
||||||
## vcpkg
|
## 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)
|
## Compiling xlnt 1.x.x from Source on Ubuntu 16.04 LTS (Xenial Xerus)
|
||||||
Time required: Approximately 5 minutes (depending on your internet speed)
|
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
|
export CXX=/usr/bin/g++-6
|
||||||
```
|
```
|
||||||
The following steps will intall xlnt
|
The following steps will intall xlnt
|
||||||
Download the zip file from the xlnt repository
|
|
||||||
https://github.com/tfussell/xlnt/archive/master.zip
|
|
||||||
```
|
```
|
||||||
cd ~
|
git clone https://github.com/tfussell/xlnt.git xlnt --recurse-submodules
|
||||||
unzip Downloads/xlnt-master.zip
|
cd xlnt
|
||||||
cd xlnt-master
|
|
||||||
cmake .
|
cmake .
|
||||||
make -j 2
|
make -j 2
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user