Skip to content
Snippets Groups Projects
Commit 39df0c16d858 authored by Alexandre Fayolle's avatar Alexandre Fayolle
Browse files

updated distutils settings to build on windows with VS2008 against gecode 3.3.1

parent 12a9147d3dfc
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@
def gecode_version():
import os, subprocess
version = [1, 3, 1]
version = [3,3,1]
if os.path.exists('data/gecode_version.cc'):
try:
res = os.system("g++ -o gecode_version data/gecode_version.cc")
......@@ -59,8 +59,12 @@
else:
ext_modules = [ Extension('rql_solve',
['gecode_solver.cpp'],
libraries=['gecodeint', 'gecodekernel', 'gecodesearch',],
extra_compile_args=['-DGE_VERSION=%s' % GECODE_VERSION],
extra_link_args=['-static-libgcc'],
libraries=['GecodeInt-3-3-1-r-x86',
'GecodeKernel-3-3-1-r-x86',
'GecodeSearch-3-3-1-r-x86',
'GecodeSupport-3-3-1-r-x86',
],
extra_compile_args=['/DGE_VERSION=%s' % GECODE_VERSION, '/EHsc'],
#extra_link_args=['-static-libgcc'],
)
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment