summaryrefslogtreecommitdiffstats
path: root/build/msvc/gen.py
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2019-07-08 18:54:14 +0200
committerWillem Jan Palenstijn <wjp@usecode.org>2019-07-08 23:25:53 +0200
commitc84b7f8ae6542de8bd23018e2badeafaddf4d28d (patch)
treeb724536a4c35f2ce307e66aee5a013354d979d39 /build/msvc/gen.py
parent52456fe847252b764b07051323892fa8ce7df298 (diff)
downloadastra-c84b7f8ae6542de8bd23018e2badeafaddf4d28d.tar.gz
astra-c84b7f8ae6542de8bd23018e2badeafaddf4d28d.tar.bz2
astra-c84b7f8ae6542de8bd23018e2badeafaddf4d28d.tar.xz
astra-c84b7f8ae6542de8bd23018e2badeafaddf4d28d.zip
Build updates for Win10 + VS2017 + CUDA9 + Matlab R2018b
Diffstat (limited to 'build/msvc/gen.py')
-rw-r--r--build/msvc/gen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/msvc/gen.py b/build/msvc/gen.py
index ee5651f..5da9003 100644
--- a/build/msvc/gen.py
+++ b/build/msvc/gen.py
@@ -777,6 +777,7 @@ def write_mex_project11_14(P, version):
if c.cuda:
d+="ASTRA_CUDA;"
d+="__SSE2__;"
+ d+="MATLAB_MEXCMD_RELEASE=700;"
# d+="DLL_EXPORTS;_CRT_SECURE_NO_WARNINGS;"
d+='%(PreprocessorDefinitions)</PreprocessorDefinitions>'
print(d, file=F)