2017-12-15 22:57:26 +08:00
|
|
|
|
## 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
|
|
|
|
|
|
2018-02-10 16:52:18 +08:00
|
|
|
|
## How to build core&gui libary for iOS/Mac and Linux(x64 & raspberry pi)?
|
2017-12-15 22:57:26 +08:00
|
|
|
|
- `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
|
2017-12-15 23:04:27 +08:00
|
|
|
|
|
|
|
|
|
`sudo apt-get install g++-arm-linux-gnueabi gcc-arm-linux-gnueabi`
|
2017-12-15 22:57:26 +08:00
|
|
|
|
|
|
|
|
|
- `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?
|
2018-01-29 18:49:29 +08:00
|
|
|
|
### Install cross compiler:
|
|
|
|
|
`sudo apt-get install gcc-arm-linux-androideabi`
|
|
|
|
|
|
2017-12-15 22:57:26 +08:00
|
|
|
|
- `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
|