shwild provides a platform-independent library for pattern matching.
shwild is a simple, platform-independent library that implements shell-compatible wildcard pattern matching. It is implemented in C/C++, expressing a C API with a C++ wrapper.
Makefiles for all the main supported compilers are included in the subdirectories of the build directory. For example, the makefile for Borland C/C++ v5.6 is in build/vc6. Since Borland is only supported on Windows, there is a single makefile called makefile.
For compilers that are supported on more than one platform, there are several makefiles located in the build sub-directory.
For example, for GNU C/C++ v3.4 (in /build/gcc34) both makefile.unix and makefile.win32 are provided. Most make tools require that you explicitly specify the makefile name (using -f) to use such makefiles, e.g.
$ make -f makefile.unix.
This will build the shwild library, and the C test programs. It will also attempt to build the C++ test programs. Since the C++ mapping relies on the STLSoft libraries, the makefile will look for the environment variable STLSOFT: it specifies -I%STLSOFT%/include (Windows) / -I$STLSOFT/include (UNIX) to the compiler.
· STLSoft 1.9.30 or later
What's New in This Release:
· Various minor fixes were made to the internal handling of namespaces to maximize compatibility with a number of new (and old) C++ compilers.