Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [PATCH] auto-generate apr.dsp and libapr.dsp files: msg#00149

apache.apr.devel

Subject: Re: [PATCH] auto-generate apr.dsp and libapr.dsp files

Branko Čibej wrote:
Garrett Rooney wrote:

+def win32ify_paths(paths):
+ rpaths = []

+ for p in paths:
+ segs = re.split('/', p)
+ rp = '.\\' + string.join(segs, '\\')
+ rpaths.append(rp)
+
+ return rpaths

Hmmm....

def win32ify_paths(paths):
return map(lambda x: '.\\'+string.replace(x, '/', '\\'), paths)

Howzat? :-)

Hey, I never said I was good at python ;-)

+
+
+def do_windows(parser):
+ subdirs = []
+
+ for subdir in string.split(parser.get('options', 'platform_dirs')):
+ path = '%s/%s' % (subdir, 'win32')

Why not

path = os.path.join(subdir, 'win32')?

You do the win32ification later on anyway.

Yeah, that would make more sense...

On the whole, it looks good. I'll give it a spin tomorrow. We can add the file groups later on (they're not necessary, but they do make it easier for the user).

Cool.

Regarding the "lesser" dsps: I fully expect them to be generated later on, because we'll want to be able to create VS.NET .vcproj files, too.

Oh, I agree, they should be generated as well, but one step at a time. I figured it was easier to build things out for the libs first, since that's all that's really needed for it to start to be useful, then move on to the rest of the build.

-garrett



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation