]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/wxpresets/presets/wx_presets.py
define TARGET_CPU (as a variable) also for formats using MSVS_PLATFORM; this allows...
[wxWidgets.git] / build / bakefiles / wxpresets / presets / wx_presets.py
1
2 # We use 'COMPILER_PREFIX' option in places where bakefile doesn't like it, so
3 # we must register a substitution function for it that provides additional
4 # knowledge about the option (in this case that it does not contain dir
5 # separators and so utils.nativePaths() doesn't have to do anything with it):
6
7 from utils import addSubstituteCallback
8
9 def __noopSubst(name, func, caller):
10 return '$(%s)' % name
11 addSubstituteCallback('COMPILER_PREFIX', __noopSubst)