mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
A C++ Mini Engine. Based on SDL2.
doc | ||
include | ||
src | ||
tests | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
makefile_c4gen.cpp | ||
README_en_US.md | ||
README.md | ||
setup_toolcenter.sh |
MiniEngine
A C++ Mini Engine. Based on SDL2.
C++编写的SDL2引擎.
编译说明
Windows: 推荐使用VS2017. 将项目克隆后加入解决方案, 注意删除makefile_c4gen.cpp
以及test
文件夹.
Linux: 请使用Codeblocks 17.12(推荐)载入所有文件.接下来Codeblocks会完成其余的工作.需要手动删除makefile_c4gen.cpp
并排除test
文件夹.
C4droid: 编译并运行makefile_c4gen.cpp
,将生成一份makefile. 修改编译目标为SDL2 Application. 修改程序名称为program_name(也可以修改makefile为其他名称)
Windows,Linux需要以下依赖库:
SDL2 (SDL2.lib, SDL2main.lib, SDL2test.lib)
SDL2 Image (SDL2_image.lib)
SDL2 Mixer (SDL2_mixer.lib)
SDL2 TTF (SDL2_ttf.lib)
C4droid需要保证已经安装以下应用:
C4droid本体
GCC Plugin For C4droid
SDL2 Plugin For C4droid
Linux Codeblocks PPA 参见: Code::Blocks Release Builds