def generate(env): """Add Builders and construction variables for ar to an Environment.""" SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') env[ 'SHLINKCOM' ] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER'] = None env['LINK'] = "linkloc" env['LINKFLAGS'] = SCons.Util.CLVar('') env[ 'LINKCOM' ] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX'] = '-libpath ' env['LIBDIRSUFFIX'] = '' env['LIBLINKPREFIX'] = '-lib ' env['LIBLINKSUFFIX'] = '$LIBSUFFIX' # Set-up ms tools paths for default version merge_default_version(env) addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" as.generate(env) env['AS'] = '386asm' env['ASFLAGS'] = '' env['ASCOM'] = '$AS $ASFLAGS $SOURCES -o $TARGET' env['ASPPCOM'] = '$CC $ASFLAGS $CPPFLAGS $SOURCES -o $TARGET' addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" assemb.generate(env) env['AS'] = '386asm' env['ASFLAGS'] = SCons.Util.CLVar('') env['ASCOM'] = '$AS $ASFLAGS $SOURCES -o $TARGET' env['ASPPCOM'] = '$CC $ASFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS $SOURCES -o $TARGET' addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" as_module.generate(env) env["AS"] = "386asm" env["ASFLAGS"] = SCons.Util.CLVar("") env["ASPPFLAGS"] = "$ASFLAGS" env["ASCOM"] = "$AS $ASFLAGS $SOURCES -o $TARGET" env["ASPPCOM"] = "$CC $ASPPFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS $SOURCES -o $TARGET" addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER'] = None env['LINK'] = "linkloc" env['LINKFLAGS'] = SCons.Util.CLVar('') env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX'] = '-libpath ' env['LIBDIRSUFFIX'] = '' env['LIBLINKPREFIX'] = '-lib ' env['LIBLINKSUFFIX'] = '$LIBSUFFIX' # Set-up ms tools paths for default version merge_default_version(env) addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" env['BUILDERS']['SharedLibrary'] = SCons.Defaults.SharedLibrary env['BUILDERS']['Program'] = SCons.Defaults.Program env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = '$LINKFLAGS' env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER'] = None env['LINK'] = "linkloc" env['LINKFLAGS'] = '' env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX'] = '-libpath ' env['LIBDIRSUFFIX'] = '' env['LIBLINKPREFIX'] = '-lib ' env['LIBLINKSUFFIX'] = '$LIBSUFFIX' include_path, lib_path, exe_path = get_msdev_paths() env['ENV']['LIB'] = lib_path env['ENV']['PATH'] = exe_path addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER']= None env['LINK'] = "linkloc" env['LINKFLAGS'] = SCons.Util.CLVar('') env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX']='-libpath ' env['LIBDIRSUFFIX']='' env['LIBLINKPREFIX']='-lib ' env['LIBLINKSUFFIX']='$LIBSUFFIX' include_path, lib_path, exe_path = get_msvc_paths() env['ENV']['LIB'] = lib_path env['ENV']['PATH'] = exe_path addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" env['BUILDERS']['SharedLibrary'] = SCons.Defaults.SharedLibrary env['BUILDERS']['Program'] = SCons.Defaults.Program env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = '$LINKFLAGS' env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER']= None env['LINK'] = "linkloc" env['LINKFLAGS'] = '' env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX']='-libpath ' env['LIBDIRSUFFIX']='' env['LIBLINKPREFIX']='-lib ' env['LIBLINKSUFFIX']='$LIBSUFFIX' include_path, lib_path, exe_path = get_msdev_paths() env['ENV']['LIB'] = lib_path env['ENV']['PATH'] = exe_path addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env['SUBST_CMD_FILE'] = LinklocGenerator env['SHLINK'] = '$LINK' env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') env['SHLINKCOM'] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -dll $TARGET $SOURCES")}' env['SHLIBEMITTER'] = None env['LINK'] = "linkloc" env['LINKFLAGS'] = SCons.Util.CLVar('') env['LINKCOM'] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -exe $TARGET $SOURCES")}' env['LIBDIRPREFIX'] = '-libpath ' env['LIBDIRSUFFIX'] = '' env['LIBLINKPREFIX'] = '-lib ' env['LIBLINKSUFFIX'] = '$LIBSUFFIX' include_path, lib_path, exe_path = get_msvc_paths() env['ENV']['LIB'] = lib_path env['ENV']['PATH'] = exe_path addPharLapPaths(env)
def generate(env): """Add Builders and construction variables for ar to an Environment.""" SCons.Tool.createSharedLibBuilder(env) SCons.Tool.createProgBuilder(env) env["SUBST_CMD_FILE"] = LinklocGenerator env["SHLINK"] = "$LINK" env["SHLINKFLAGS"] = SCons.Util.CLVar("$LINKFLAGS") env["SHLINKCOM"] = '${SUBST_CMD_FILE("$SHLINK $SHLINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -dll $TARGET $SOURCES")}' env["SHLIBEMITTER"] = None env["LINK"] = "linkloc" env["LINKFLAGS"] = SCons.Util.CLVar("") env["LINKCOM"] = '${SUBST_CMD_FILE("$LINK $LINKFLAGS $( $_LIBDIRFLAGS $) $_LIBFLAGS -exe $TARGET $SOURCES")}' env["LIBDIRPREFIX"] = "-libpath " env["LIBDIRSUFFIX"] = "" env["LIBLINKPREFIX"] = "-lib " env["LIBLINKSUFFIX"] = "$LIBSUFFIX" msvs_version = env.get("MSVS_VERSION") include_path, lib_path, exe_path = get_msvc_paths(env, version=msvs_version) env["ENV"]["LIB"] = lib_path env.PrependENVPath("PATH", exe_path) addPharLapPaths(env)