The purpose of Gateware is to create lightweight, multi-platform libraries that handle functionality common to video games. At the moment this includes keyboard and mouse input libraries and file logging libraries. The intent is for current and future students to be able to utilize these libraries to aid them in the creation of their final projects. The current deployments for the libraries are the Windows, Mac, and Linux platforms.
Friday, June 9, 2017
CMake, Windows and a whole bunch of Text files.
This week, I've been working on porting all the scripts and files from the test project into the actual project. The walls we've run into are, believe or not, just linking errors and property settings. These things are easy to change but hard to notice prior to the error. Now, the biggest wall/hurdle that had to be overcome was the inability for a single project created with CMake to target multiple platform types on visual studios such as x86 and x64 platform. The solution we used to make this work is simply the generation of two different projects at build time. One would be an amd64 project and the other will be an i386 project. As of right now, from all the research and forums I've read, there is no way that a CMake project could have both them either now or in the near future. With this knowledge, I will continue to use this method for the other two platforms which are Linux and Mac but the problem remains as if this method would work on either platform. This upcoming week, we shall take up the Mac platform so expect my blog next weekend to be an overlook on that progress. As of right now, CMake is currently producing a working project for Windows where both x86 and x64 Visual Studio projects are being created with their outputs of libraries are directed.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment