Re: MSVS option to "Exclude From Build" supported?
Jaren Johnston <[email protected]> Mon, 11 May 2009 13:27:30 -0400
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <7067752E611EE94B8CA5E37466F171343A90D22100@VMBX102.ihostexchange.net> |
Thanks for the quick reply and the reference -- I hadn't noticed all those examples under tests/. That's a great resource that I hadn't seen mentioned before. My bakefile works great now!
For anyone reading this who's also new to bakefile, this test works well for me for Win32, WinCE & Linux:
<!-- Files needed for WinCE -->
<set var="CE_SOURCES"></set>
<set var="CE_SOURCES">
<if cond="PLATFORM_WIN32=='1' and MSVS_PLATFORM=='pocketpc2003'">
TimeCE.cpp
</if>
</set>
Without the preceding "PLATFORM_WIN32=='1'" test bakefile will give an error on non Win32 platforms for MSVS_PLATFORM being undefined.
Just as an aside (not bakefile related): My dev/tweak cycle before was something like: modify bakefile, re-bake, click "ok" in the IDE to reload the modified project files. It looks like VS2005 doesn't exactly do a clean reload. My bakefile that's working now (and likely several of my "failed" attempts last week) first showed up as not working at first. A fresh restart of VS solved it.
Regards,
Jaren
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com