mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-12-26 22:25:50 +08:00
!16 separate surface from c_wnd, merge core, gui into GuiLite
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
## How to build core&gui libary for Windows?
|
||||
## How to build GuiLite libary for Windows?
|
||||
Prerequisite: 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
|
||||
- Output here: \GuiLite\Debug(Release)\GuiLite.lib
|
||||
|
||||
## How to build core&gui libary for iOS/Mac and Linux(x64 & raspberry pi)?
|
||||
## How to build GuiLite libary for iOS/Mac and Linux(amd64) & raspberry pi?
|
||||
- `cd GuiLite`
|
||||
- `cmake .`
|
||||
- `make`
|
||||
- Output here: /GuiLite/libcore.a libgui.a
|
||||
- Output here: /GuiLite/libGuiLite.a
|
||||
|
||||
## How to build core&gui libary for ARM Linux?
|
||||
## How to build GuiLite libary for ARM Linux?
|
||||
### Prerequisite: Install cross compiler:
|
||||
- For ARM32: `sudo apt-get install g++-arm-linux-gnueabi gcc-arm-linux-gnueabi`
|
||||
- For ARM64: `sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu`
|
||||
@@ -19,16 +19,16 @@ Prerequisite: Windows 10, visul stdio 2015/2017
|
||||
- For ARM32: `cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-gnueabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-gnueabi-g++" .`
|
||||
- For ARM64: `cmake -D CMAKE_C_COMPILER="/usr/bin/aarch64-linux-gnu-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/aarch64-linux-gnu-g++" .`
|
||||
- `make`
|
||||
- Output here: /GuiLite/libcore.a libgui.a
|
||||
- Output here: /GuiLite/libGuiLite.a
|
||||
|
||||
## How to build core&gui libary for Android?
|
||||
## How to build GuiLite libary for Android?
|
||||
### Prerequisite: Install cross compiler:
|
||||
`sudo apt-get install gcc-arm-linux-androideabi`
|
||||
### Build
|
||||
- `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
|
||||
- Output here: /GuiLite/libGuiLite.a
|
||||
|
||||
## How to build GuiLite libary for any MCU?
|
||||
### Prerequisite: Install Keil uvsion 5.6 or above.
|
||||
@@ -36,4 +36,5 @@ Prerequisite: Windows 10, visul stdio 2015/2017
|
||||
- Open `GuiLite.uvprojx` with Keil uvsion.
|
||||
- Implement function(e.g, thread_sleep) in `core\src\adapter\api_unknow.cpp` to meet your need.
|
||||
- Choose your Device type(Default: STM32F103ZE) from option for target.
|
||||
- Build GuiLite.
|
||||
- Build GuiLite.
|
||||
- Output here: /GuiLite/Objects/GuiLite.lib
|
||||
|
||||
Reference in New Issue
Block a user