1 Star 0 Fork 1.2K

wjz051 / GuiLite

forked from idea4good / GuiLite 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
HowToBuild.md 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
idea4good 提交于 2018-02-10 16:52 . !5 update HowToBuild.md

How to build core&gui libary for Windows?

depdency: Windows 10, visul stdio 2015/2017

  • Open "GuiLite.sln" by Visual studio 2017
  • Click Build Solution
  • Output here: \GuiLite\Debug(Release)\core.lib gui.lib

How to build core&gui libary for iOS/Mac and Linux(x64 & raspberry pi)?

  • cd GuiLite
  • cmake .
  • make
  • Output here: /GuiLite/libcore.a libgui.a

How to build core&gui libary for ARM Linux?

Install cross compiler:

For example: arm-linux-gnueabi-gcc

sudo apt-get install g++-arm-linux-gnueabi gcc-arm-linux-gnueabi

  • cd GuiLite
  • cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-gnueabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-gnueabi-g++" .
  • make
  • Output here: /GuiLite/libcore.a libgui.a

How to build core&gui libary for Android?

Install cross compiler:

sudo apt-get install gcc-arm-linux-androideabi

  • cd GuiLite
  • cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-androideabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-androideabi-g++" .
  • make
  • Output here: /GuiLite/libcore.a libgui.a
C++
1
https://gitee.com/wjz051/GuiLite.git
git@gitee.com:wjz051/GuiLite.git
wjz051
GuiLite
GuiLite
master

搜索帮助