Fix some windows packaging commands
This commit is contained in:
parent
b8a8b8d1a3
commit
af8c3b5db9
|
@ -97,20 +97,20 @@ make -j4
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir SourceDir
|
mkdir SourceDir
|
||||||
cp -r *.exe lib/Boxer/libBoxer.dll ../packaging/*.ico models/ cvdata/ SourceDir/
|
cp -r *.exe libs/Boxer/libBoxer.dll ../packaging/*.ico models/ cvdata/ SourceDir/
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Use a utility like peldd to find and copy the DLLs needed
|
6. Use a utility like peldd to find and copy the DLLs needed
|
||||||
|
|
||||||
```
|
```
|
||||||
for lib in $(peldd -t -r --clear-path -p /usr/x86_64-w64-mingw32/bin -w OPENGL32.dll -w libBoxer.dll fc2d.exe)
|
for lib in $(peldd -t -r -w OPENGL32.dll -w libBoxer.dll fc2d.exe)
|
||||||
cp $lib SourceDir
|
cp $lib SourceDir
|
||||||
for lib in $(peldd -t -r --clear-path -p /usr/x86_64-w64-mingw32/bin fc2dconfig.exe)
|
for lib in $(peldd -t -r fc2dconfig.exe)
|
||||||
cp $lib SourceDir
|
cp $lib SourceDir
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Create MSI package with `wixl`
|
7. Create MSI package with `wixl`
|
||||||
|
|
||||||
```
|
```
|
||||||
wixl ../packaging/*.wx* -o facecam2d-$(git describe).msi
|
wixl ../packaging/*.wx(s|i) -o facecam2d-$(git describe).msi
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue