2017-09-18 14:11:04 +08:00
|
|
|
BUILDDIR = '#build/debug'
|
2017-09-17 01:03:17 +08:00
|
|
|
DISTDIR = '#dist'
|
|
|
|
CXX = 'cl'
|
|
|
|
CC = 'cl'
|
|
|
|
CXXFLAGS = ['/nologo', '/Od', '/Z7', '/fp:fast', '/D', 'WIN32', '/D', 'WIN64', '/W3', '/EHsc', '/GS-', '/GL', '/MD', '/D', 'MTS_DEBUG', '/D', 'SINGLE_PRECISION', '/D', 'SPECTRUM_SAMPLES=3', '/D', 'MTS_SSE', '/D', 'MTS_HAS_COHERENT_RT', '/D', '_CONSOLE', '/D', 'DEBUG', '/D', 'OPENEXR_DLL', '/openmp']
|
|
|
|
SHCXXFLAGS = CXXFLAGS
|
|
|
|
TARGET_ARCH = 'x86_64'
|
|
|
|
MSVC_VERSION = '15.0'
|
|
|
|
LINKFLAGS = ['/nologo', '/SUBSYSTEM:CONSOLE', '/DEBUG', '/MACHINE:X64', '/FIXED:NO', '/OPT:REF', '/OPT:ICF', '/LTCG', '/NODEFAULTLIB:LIBCMT', '/MANIFEST']
|
|
|
|
BASEINCLUDE = ['#include', '#dependencies/include']
|
2017-09-18 14:11:04 +08:00
|
|
|
BASELIB = ['msvcrt', 'ws2_32', 'Half', 'zlib']
|
2017-09-17 01:03:17 +08:00
|
|
|
BASELIBDIR = ['#dependencies/lib']
|
|
|
|
OEXRINCLUDE = ['#dependencies/include/openexr']
|
|
|
|
OEXRLIB = ['IlmImf', 'IlmThread', 'Iex', 'zlib']
|
|
|
|
BOOSTLIB = ['boost_system-vc141-mt-1_64', 'boost_filesystem-vc141-mt-1_64', 'boost_thread-vc141-mt-1_64']
|
|
|
|
# COLLADAINCLUDE = ['#dependencies/include/collada-dom', '#dependencies/include/collada-dom/1.4']
|
|
|
|
# COLLADALIB = ['libcollada14dom24']
|
|
|
|
XERCESLIB = ['xerces-c_3']
|
|
|
|
PNGLIB = ['libpng16']
|
|
|
|
JPEGLIB = ['jpeg']
|
|
|
|
GLLIB = ['opengl32', 'glu32', 'glew32mx', 'gdi32', 'user32']
|
|
|
|
GLFLAGS = ['/D', 'GLEW_MX']
|
|
|
|
SHLIBPREFIX = 'lib'
|
|
|
|
SHLIBSUFFIX = '.dll'
|
|
|
|
LIBSUFFIX = '.lib'
|
|
|
|
PROGSUFFIX = '.exe'
|
|
|
|
PYTHON27LIB = ['boost_python27-vc141-mt-1_64', 'python27']
|
|
|
|
PYTHON27INCLUDE = ['#dependencies/include/python27']
|
|
|
|
PYTHON35LIB = ['boost_python35-vc141-mt-1_64', 'python35']
|
|
|
|
PYTHON35INCLUDE = ['#dependencies/include/python35']
|
|
|
|
PYTHON36LIB = ['boost_python36-vc141-mt-1_64', 'python36']
|
|
|
|
PYTHON36INCLUDE = ['#dependencies/include/python36']
|
2017-09-18 14:11:04 +08:00
|
|
|
QTINCLUDE = ['#dependencies/include']
|
2017-09-17 01:03:17 +08:00
|
|
|
QTDIR = '#dependencies'
|
|
|
|
FFTWLIB = ['libfftw3-3']
|