fabian-jung/tsmp

Enable Windows build

Opened this issue · 1 comments

Enable Windows build

I tried building under windows. There are two major pain points. The first one is, that there is no precompiled release for libclang-cpp. This means it's necessary to build LLVM and libclang(-cpp) manually. Both projects can be compiled more or less straight forward and take ~0:30h to 2:00h each.

Second pain point is the extraction of the default include paths (mostly standard library headers). For GCC and Clang this is done via a custom command (tsmpConfig.cmake:33) and the use of the unix sed. This command needs to be rewritten for clang without the use of sed and a complete work around for msvc.

My experience with building under windows and access to a windows developer machine is very limited. Help would be really appreciated.