CFLite old
This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you. For a "quick and dirty" way to just start *using* CFLite on windows (without having to compile it), click here.
On Windows XP or Windows Vista:
- Install Cygwin
- Download CFLite 476.13. Ooops! Not available? Try: CFLite 476.10
- install it where??
- Download include.zip (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)
- install it where??
- you'll need stdint.h if you're using Microsoft Visual Studio, it doesn't come with the compiler but is part of the C99 standard. I suggest placing this file in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add it on a separate include path if you want to keep your compiler header folder pristine. More details about this file are on Wikipedia. Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?
- Download CFTest source files. This is the test harness sample project.
* You can ignore the XCode project
* create a new project in your windows dev environment and add the two .cpp files.
* the "console.txt" is the example output that it should look like in your console
* you may need to tweak the relative path for "test.xml" to load properly. Please document any necessary changes to the source code.