This commit is contained in:
Vitor Santos Costa 2015-10-18 23:44:32 +01:00
parent 3c3eb0c398
commit 495fdca699
3 changed files with 23246 additions and 10 deletions

View File

@ -666,15 +666,18 @@ def gecode_version():
@@GECODE_VERSION""")
f.close()
cxx.preprocess(file_hh,output_file=file_txt)
f = open(file_txt)
version = ""
for line in f:
if line.startswith("@@"):
version = line[3:-2]
break
f.close()
os.remove(file_hh)
os.remove(file_txt)
if True:
f = open(file_txt)
version = ""
for line in f:
if line.startswith("@@"):
version = line[3:-2]
break
f.close()
os.remove(file_hh)
os.remove(file_txt)
else:
version = "4.4.0"
GECODE_VERSION = version
return version

View File

@ -610,7 +610,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = /usr/local/include/gecode
INPUT = /usr/include/gecode
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is

File diff suppressed because it is too large Load Diff