Easiest way to build a cross-platform application

前端 未结 7 865
悲哀的现实
悲哀的现实 2021-02-12 23:28

I have read a few articles in the cross-platform tag. However, as I\'m starting a fresh application (mostly a terminal/console app), I\'m wondering about the easiest way to make

7条回答
  •  孤街浪徒
    2021-02-13 00:09

    If you're making a console app, you should be able to use the same source for all three platforms if you stick to the functions defined in the POSIX libraries. Setting up your build environment is the most complicated part, especially if you want to be able to build for multiple platforms out of the same source tree.

提交回复
热议问题