Compilation
Compiling the FCTX test cases is done using CMake to configure your build environment.
Building your Own Test Suite
To build your own test suite: Its just a header, include into your test file, and run the compiler. See the example on the Front Page.
Building the Test Suites used by FCTX
To build the FCTX tests themselves: use CMake. On Linux or similar systems you can do the following (from the root source directory),
mkdir build cd build cmake ../
At this point you should have a Makefile in your "build" directory. Type "make help" for a list of targets.
On a Win32 Machine it depends what you want to ultimately work with. The following example illustrates creating a Visual Studio 9 solution.
mkdir msw cd msw cmake -G"Visual Studio 9 2008" ..\
At this point you should have a FCT.sln file within your msw sub-directory. If you wanted to generate a different project, type:
cmake --help
to get list of generators.
For example, if you wanted to use MinGW, you could do something like,
mkdir mingw cmake -G"MinGW Makefiles" ..\
and now you will have a Makefile configured to compile with MinGW.
