FreeYourSoul / FSeam

Cpp header only library to manage compile time mock class generated via Python script
MIT License
86 stars 8 forks source link

Windows support? #10

Open Guekka opened 4 years ago

Guekka commented 4 years ago

I'm not sure this can be considered as a feature request, hence the non-use of the template.

So, I've tried following the install instructions but obviously, it doesn't work on Windows. When trying to build with CMake, it fails to locate Catch2, which is not surprising since Catch2 is not "installed" on my computer. So, is it possible to use FSeam on Windows? Thanks.

FreeYourSoul commented 4 years ago

Hello, FSeam has been developed and tested for and on Linux (not tested on Windows), a portage on Windows is clearly in the backlog. I should certainly add this information in the main README. Any help for making FSeam portable on Windows would be welcome.

Guekka commented 4 years ago

Sorry for the late answer. I understand that Windows support is not a priority, thanks anyway. I'll maybe have a look, but I highly doubt I have the required abilities to add Windows support.

mjvankampen commented 4 years ago

17 should allow compilation on Windows with mingw (did not try visual studio). As for Catch just make sure that FindCatch2 is in your cmake module path. This way it should be possible to use this. A nicer option is Conan, which I can work on a bit if #17 is ok. I would like your permission for this in #19.

FreeYourSoul commented 4 years ago

Permission granted, thank you for the contribution.

FreeYourSoul commented 4 years ago

To validate this issue, it would be required to add the support of windows on travis