summaryrefslogtreecommitdiffstats
path: root/build/msvc
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-05-29 13:15:47 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-05-29 13:15:47 +0200
commit9f86a4c3f20ac8785f80288ec4cdefe79ed67e68 (patch)
treede8153fb6481096f21bc0056d552571662df0071 /build/msvc
parent0f314f9fb219157ed3988ee08e0a8132301105ff (diff)
parent7a4cfe2e5fe384691f0516020b2fcd48b35a7f63 (diff)
downloadastra-9f86a4c3f20ac8785f80288ec4cdefe79ed67e68.tar.gz
astra-9f86a4c3f20ac8785f80288ec4cdefe79ed67e68.tar.bz2
astra-9f86a4c3f20ac8785f80288ec4cdefe79ed67e68.tar.xz
astra-9f86a4c3f20ac8785f80288ec4cdefe79ed67e68.zip
Merge branch 'master'
Diffstat (limited to 'build/msvc')
-rw-r--r--build/msvc/gen.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/msvc/gen.py b/build/msvc/gen.py
index 9f5e367..aeca3b0 100644
--- a/build/msvc/gen.py
+++ b/build/msvc/gen.py
@@ -946,10 +946,11 @@ def write_main_project09():
print('\t\t\t\tRuntime="3"', file=F) # MDD
else:
print('\t\t\t\tRuntime="2"', file=F) # MD
+ print('\t\t\t\tExtraCppOptions="-Iinclude -Ilib/include"', file=F)
if c.cuda:
- print('\t\t\t\tDefines="-DASTRA_CUDA -DDLL_EXPORTS"', file=F)
+ print('\t\t\t\tDefines="ASTRA_CUDA;DLL_EXPORTS"', file=F)
else: # This 'else' doesn't make much sense
- print('\t\t\t\tDefines="-DDLL_EXPORTS"', file=F)
+ print('\t\t\t\tDefines="DLL_EXPORTS"', file=F)
# TODO!!!
print('\t\t\t/>', file=F)
print('\t\t</Configuration>', file=F)