Package wafadmin :: Package Tools :: Module msvc
[hide private]
[frames] | no frames]

Module msvc

source code

Functions [hide private]
 
msvc_linker(task)
Special linker for MSVC with support for embedding manifests into DLL's and executables compiled by Visual Studio 2005 or probably later.
source code
 
find_lt_names_msvc(self, libname, is_static=False)
Win32/MSVC specific code to glean out information from libtool la files.
source code
 
libname_msvc(self, libname, is_static=False) source code
 
apply_msvc_obj_vars(self) source code
 
apply_link_msvc(self) source code
 
init_msvc(self)
all methods (msvc and non-msvc) are to be executed, but we remove the ones we do not want
source code
 
find_msvc(conf) source code
 
msvc_common_flags(conf) source code
 
set_options(opt) source code
Variables [hide private]
  g_msvc_systemlibs = ...
  static_link_str = '${STLIBLINK} ${LINK_SRC_F}${SRC} ${LINK_TGT...
  rc_str = '${RC} ${RCFLAGS} /fo ${TGT} ${SRC}'
  detect = ...
Function Details [hide private]

msvc_linker(task)

source code 

Special linker for MSVC with support for embedding manifests into DLL's and executables compiled by Visual Studio 2005 or probably later. Without the manifest file, the binaries are unusable. See: http://msdn2.microsoft.com/en-us/library/ms235542(VS.80).aspx Problems with this tool: it is always called whether MSVC creates manifests or not.

find_lt_names_msvc(self, libname, is_static=False)

source code 

Win32/MSVC specific code to glean out information from libtool la files. this function is not attached to the task_gen class

apply_msvc_obj_vars(self)

source code 
Decorators:
  • @taskgen
  • @feature('cc', 'cxx')
  • @after('apply_obj_vars_cc')
  • @after('apply_obj_vars_cxx')

apply_link_msvc(self)

source code 
Decorators:
  • @taskgen
  • @feature('cc', 'cxx')
  • @after('apply_core')
  • @before('apply_obj_vars_cc')
  • @before('apply_obj_vars_cxx')

init_msvc(self)

source code 

all methods (msvc and non-msvc) are to be executed, but we remove the ones we do not want

Decorators:
  • @taskgen
  • @feature('cc', 'cxx')
  • @before('apply_core')

find_msvc(conf)

source code 
Decorators:
  • @conftest

msvc_common_flags(conf)

source code 
Decorators:
  • @conftest

Variables Details [hide private]

g_msvc_systemlibs

Value:
"""
aclui activeds ad1 adptif adsiid advapi32 asycfilt authz bhsupp bits b\
ufferoverflowu cabinet
cap certadm certidl ciuuid clusapi comctl32 comdlg32 comsupp comsuppd \
comsuppw comsuppwd comsvcs
credui crypt32 cryptnet cryptui d3d8thk daouuid dbgeng dbghelp dciman3\
2 ddao35 ddao35d
ddao35u ddao35ud delayimp dhcpcsvc dhcpsapi dlcapi dnsapi dsprop dsuie\
...

static_link_str

Value:
'${STLIBLINK} ${LINK_SRC_F}${SRC} ${LINK_TGT_F}${TGT}'

detect

Value:
'''
find_msvc
msvc_common_flags
cc_load_tools
cxx_load_tools
cc_add_flags
cxx_add_flags
'''