Merge pull request #407 from CoolProp/VB.net

Add Vb.net support using VS2012
This commit is contained in:
Ian Bell
2015-01-15 08:06:16 +01:00
9 changed files with 338 additions and 12 deletions

View File

@@ -932,13 +932,17 @@ c['builders'].append(
#Common boring 64-bit modules for windows, linux and OSX
### OSX
for platform in ['OSX', 'linux', 'windows']:
for wrapper in ['Java','Csharp','Octave','PHP','64BIT_SHARED_LIBRARY','STATIC_LIBRARY','MATHEMATICA']:
for wrapper in ['Java','Csharp','Octave','PHP','64BIT_SHARED_LIBRARY','STATIC_LIBRARY','MATHEMATICA','VBDOTNET']:
if wrapper == 'PHP' and platform != 'linux': continue # only build PHP on linux
if wrapper == 'VBDOTNET' and !platform.startswith('windows'): continue # only build VB.net on windows
ctest_args, cmake_args, build_args = [], [], []
if platform.startswith('windows'):
ctest_args = ['-C', 'Release']
if wrapper == 'Octave':
cmake_args = ['-G', '"MinGW Makefiles"']
elif wrapper == 'VBDOTNET':
cmake_args = ['-G', '"Visual Studio 11 2012 Win64"']
build_args = ['--config','Release']
else:
cmake_args = ['-G', '"Visual Studio 10 2010 Win64"']
build_args = ['--config','Release']