|
@@ -1,40 +1,40 @@
|
|
-### BUILD ON LINUX/MAC OSX:
|
|
|
|
|
|
+### Build on LINUX/MAC OSX:
|
|
|
|
|
|
```bash
|
|
```bash
|
|
./configure
|
|
./configure
|
|
make
|
|
make
|
|
```
|
|
```
|
|
|
|
|
|
-### BUILD on LINUX with system libs:
|
|
|
|
|
|
+### Build on LINUX with system libs:
|
|
|
|
|
|
```bash
|
|
```bash
|
|
./configure --with-zlib=yes --with-zlib-ldflags="`pkg-config zlib --libs`" --with-libxml=yes --with-libxml-cppflags="`pkg-config libxml-2.0 --cflags`" --with-libxml-ldflags="`pkg-config libxml-2.0 --libs`"
|
|
./configure --with-zlib=yes --with-zlib-ldflags="`pkg-config zlib --libs`" --with-libxml=yes --with-libxml-cppflags="`pkg-config libxml-2.0 --cflags`" --with-libxml-ldflags="`pkg-config libxml-2.0 --libs`"
|
|
```
|
|
```
|
|
|
|
|
|
-### BUILD on WINDOWS:
|
|
|
|
|
|
+### Build on WINDOWS:
|
|
|
|
|
|
* Optionally generate project files: c:\Python26\python.exe generate.py --include Makefile.xml win32-*-msvc-*
|
|
* Optionally generate project files: c:\Python26\python.exe generate.py --include Makefile.xml win32-*-msvc-*
|
|
* Open win32\solution.sln in Visual Studio.
|
|
* Open win32\solution.sln in Visual Studio.
|
|
|
|
|
|
-### RELASE in a ZIP file (win32):
|
|
|
|
|
|
+### Release in a ZIP file (win32):
|
|
|
|
|
|
```bash
|
|
```bash
|
|
c:\Python26\python.exe generate.py --include Makefile.xml --package libopc-sdk-0.0.1.zip win32-release-msvc
|
|
c:\Python26\python.exe generate.py --include Makefile.xml --package libopc-sdk-0.0.1.zip win32-release-msvc
|
|
```
|
|
```
|
|
|
|
|
|
-### RELASE in a ZIP file (MaxOSX):
|
|
|
|
|
|
+### Release in a ZIP file (MaxOSX):
|
|
|
|
|
|
```bash
|
|
```bash
|
|
python generate.py --include Makefile.xml --package libopc-sdk-0.0.1.zip --config-dir=build/config darwin-release-gcc
|
|
python generate.py --include Makefile.xml --package libopc-sdk-0.0.1.zip --config-dir=build/config darwin-release-gcc
|
|
```
|
|
```
|
|
|
|
|
|
-### PACKAGE LINUX
|
|
|
|
|
|
+### Package LINUX
|
|
|
|
|
|
```bash
|
|
```bash
|
|
./generate.py --with-zlib=yes --with-zlib-ldflags="`pkg-config zlib --libs`" --with-libxml=yes --with-libxml-cppflags="`pkg-config libxml-2.0 --cflags`" --with-libxml-ldflags="`pkg-config libxml-2.0 --libs`" --package usr.zip --config-dir=build --include Makefile.xml linux-debug-gcc-i686
|
|
./generate.py --with-zlib=yes --with-zlib-ldflags="`pkg-config zlib --libs`" --with-libxml=yes --with-libxml-cppflags="`pkg-config libxml-2.0 --cflags`" --with-libxml-ldflags="`pkg-config libxml-2.0 --libs`" --package usr.zip --config-dir=build --include Makefile.xml linux-debug-gcc-i686
|
|
```
|
|
```
|
|
|
|
|
|
-### PACKAGE DEBIAN [http://www.debian.org/doc/manuals/maint-guide/index.en.html]
|
|
|
|
|
|
+### Package DEBIAN
|
|
|
|
|
|
- Adjust config/libopc.pc VERSION
|
|
- Adjust config/libopc.pc VERSION
|
|
- Adjust debian/changelog
|
|
- Adjust debian/changelog
|