I wonder if there is any possible way to compile a proyect Cocos2DX under Windows for Visual Studio 2015 with CMake. I tried with the last version, but I find a lot of mistakes. For example:
2> CCApplication-win32.obj: LNK2001: external symbol _GetFileVersionInfoSizeW @ 8 Unsolved
2> CCApplication-win32.obj: LNK2001: external symbol _GetFileVersionInfoW @ 16 Unsolved
2> CCApplication-win32.obj: LNK2001: external symbol _VerQueryValueW @ 16 Unsolved
I have seen that this is because not linkea properly with the Windows library ‘Version.lib’ for example.
I have also seen that in the case of MacOS with CMake have to go by some hacks as add the iconv library, or include for glfw3.
There any way or anyone has been able to compile for three platforms (Windows, Linux, Mac) using CMake?
It is very difficult to work in different operation systems, each with its project.
Maybe it’s something that does not matter, if so I will try myself strive to fix it and send a pull-request.
Thank you very much!