Sen descrición

jmcarica 5322b9b06b Modification README.md hai 4 meses
BuildProcessTemplates 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
config 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
debian a09d93065e Mise à jour hai 4 meses
mce 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
opc 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
plib a09d93065e Mise à jour hai 4 meses
sample 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
test_docs 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
third_party a09d93065e Mise à jour hai 4 meses
win32 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
Doxyfile 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
LICENSE 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
Makefile.lib.xml 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
Makefile.platform.xml 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
Makefile.xml d266334992 Suppression samples %!s(int64=2) %!d(string=hai) anos
README.md 5322b9b06b Modification README.md hai 4 meses
configure a09d93065e Mise à jour hai 4 meses
generate.py b451c42eb2 Mise à jour de 'generate.py' %!s(int64=2) %!d(string=hai) anos
regression.py 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
test.py 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos
validate.py 9fd66261ee Premier commit %!s(int64=2) %!d(string=hai) anos

README.md

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.

Release in a ZIP file (win32):

c:\Python26\python.exe generate.py --include Makefile.xml --package libopc-sdk-0.0.1.zip win32-release-msvc

Release 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

  • Adjust config/libopc.pc VERSION
  • Adjust debian/changelog
./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
dpkg-buildpackage -B --no-sign
lintian -i -I --show-overrides ../libopc_0.0.2_i386.changes | less