Adapt test and example after e39d1b6f0856.

Tarek’s commit fixed the way packaging configuration file markers are
split under Windows, but these two files were not edited.
This commit is contained in:
Éric Araujo 2011-11-14 18:21:38 +01:00
parent bfc972974b
commit 0efc419d4a
2 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ needs to have its options defined in a dedicated section. Here's an example::
extra_compile_args = extra_compile_args =
-fPIC -O2 -fPIC -O2
-DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32' -DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32'
/DGECODE_VERSION='win32' -- sys.platform == 'win32' /DGECODE_VERSION=win32 -- sys.platform == 'win32'
The section name must start with ``extension:``; the right-hand part is used as The section name must start with ``extension:``; the right-hand part is used as
the full name (including a parent package, if any) of the extension. Whitespace the full name (including a parent package, if any) of the extension. Whitespace

View File

@ -119,7 +119,7 @@ include_dirs = /usr/include/gecode
/usr/include/blitz /usr/include/blitz
extra_compile_args = -fPIC -O2 extra_compile_args = -fPIC -O2
-DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32' -DGECODE_VERSION=$(./gecode_version) -- sys.platform != 'win32'
/DGECODE_VERSION='win32' -- sys.platform == 'win32' /DGECODE_VERSION=win32 -- sys.platform == 'win32'
language = cxx language = cxx
# corner case: if the parent package of an extension is declared but # corner case: if the parent package of an extension is declared but