This attempts to improve Windows support for libthai in the following ways:
Make the code buildable on Visual Studio. Notably make use of DllMain() using DLL_PROCESS_DETACH to make up for the GCC/CLang-only __attribute((destructor)).
Do not hardcode the location of thbrk.tri on native Windows (non-Cygwin) builds. This at least partially fixes issue #7.
Add a set of NMake Makefiles that can be used on Visual Studio 2008 and later to build libthai as a DLL with its pkg-config file, with support to build thbrk.tri and to build and run the test programs.
Hi,
This attempts to improve Windows support for libthai in the following ways:
Make the code buildable on Visual Studio. Notably make use of DllMain() using DLL_PROCESS_DETACH to make up for the GCC/CLang-only __attribute((destructor)).
Do not hardcode the location of thbrk.tri on native Windows (non-Cygwin) builds. This at least partially fixes issue #7.
Add a set of NMake Makefiles that can be used on Visual Studio 2008 and later to build libthai as a DLL with its pkg-config file, with support to build thbrk.tri and to build and run the test programs.
With blessings, thank you!