Jean-Michel Caricand 1dc4298cc2 Suppression de 'README' | 4 kuukautta sitten | |
---|---|---|
BuildProcessTemplates | 2 vuotta sitten | |
config | 2 vuotta sitten | |
debian | 4 kuukautta sitten | |
mce | 2 vuotta sitten | |
opc | 2 vuotta sitten | |
plib | 4 kuukautta sitten | |
sample | 2 vuotta sitten | |
test_docs | 2 vuotta sitten | |
third_party | 4 kuukautta sitten | |
win32 | 2 vuotta sitten | |
Doxyfile | 2 vuotta sitten | |
LICENSE | 2 vuotta sitten | |
Makefile.lib.xml | 2 vuotta sitten | |
Makefile.platform.xml | 2 vuotta sitten | |
Makefile.xml | 2 vuotta sitten | |
README.md | 4 kuukautta sitten | |
configure | 4 kuukautta sitten | |
generate.py | 2 vuotta sitten | |
regression.py | 2 vuotta sitten | |
test.py | 2 vuotta sitten | |
validate.py | 2 vuotta sitten |
BUILD ON LINUX/MAC OSX:
./configure
make
BUILD on LINUX with system 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:
* Optionally generate project files: c:\Python26\python.exe generate.py --include Makefile.xml win32-*-msvc-*
* Open win32\solution.sln in Visual Studio.
RELASE in a ZIP file (win32):
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):
python generate.py --include Makefile.xml --package libopc-sdk-0.0.1.zip --config-dir=build/config darwin-release-gcc
PACKAGE LINUX
./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]
1) Adjust config/libopc.pc VERSION
Adjust debian/changelog
2) ./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`" --arch=any
DESTDIR=`pwd`/build/linux-debug-gcc-any/install make install
3) dpkg-buildpackage
or
3b) dpkg-buildpackage -B --no-sign
4) lintian -i -I --show-overrides ../libopc_0.0.2_i386.changes | less