INNER CODE UNIT · Python
compiler_options
CrypToolProject/CrypTool-2 · LibSource/mpir/msvc/_msvc_project.py:114
def compiler_options(plat, proj_type, is_debug, is_avx2, outf):
f1 = r''' <ClCompile>
<AdditionalIncludeDirectories>..\..\..\</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{0:s}%(PreprocessorDefinitions)</PreprocessorDefinitions>
'''
f2 = r''' <EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
'''
f3 = r''' </ClCompile>
'''
if proj_type == Project_Type.APP:
s1 = 'DEBUG;WIN32;_CONSOLE;'
if proj_type == Project_Type.DLL:
s1 = 'DEBUG;WIN32;HAVE_CONFIG_H;MSC_BUILD_DLL;'
elif proj_type == Project_Type.LIB:
s1 = 'DEBUG;WIN32;_LIB;HAVE_CONFIG_H;'
else:
pass