|
|
|
|
|
by _gabe_
1401 days ago
|
|
This is all that it took me to port a fairly sizeable code base to Linux[0]. This commit allowed me to run the app with the only problem being some font issues that I needed to fix by modifying how I used a library. The total: > Showing 26 changed files with 255 additions and 90 deletions. If you architect your code well, porting between different systems shouldn't take anymore than a few hours ;) Edit: I just looked through the diff and remembered that the bulk of these changes was fixing warnings that surfaced from using a different compiler. The actual code that I changed necessary to get this running on Linux was in File.cpp and consisted of 124 lines of code. Going the other way (from Linux to windows) would have been just as simple, I just would have added the code in the __WIN32__ macro block instead of the code in the __linux__ macro block. [0]: https://github.com/codingminecraft/StreamMinecraftClone/comm... |
|