Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intel/fastuidraw
https://github.com/intel/fastuidraw
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/intel/fastuidraw
- Owner: intel
- License: mpl-2.0
- Archived: true
- Created: 2016-02-22T21:59:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T00:11:49.000Z (about 2 years ago)
- Last Synced: 2024-08-09T00:28:13.524Z (5 months ago)
- Language: C++
- Size: 417 MB
- Stars: 608
- Watchers: 38
- Forks: 58
- Open Issues: 10
-
Metadata Files:
- Readme: README.emscripten
- License: COPYING
Awesome Lists containing this project
- awesome-computer-graphics-resources - FastUIDraw
- AwesomeCppGameDev - fastuidraw
README
FastUIDraw has support for Emscripten, however using it requires some work.
Firstly, to build FastUIDraw for Emscripten, use the makefile Makefile.emscripten
instead of the default makefile, Makefile; Makefile.emscripten builds uses the
same Rules.mk file as the defualt build system to gather up the needed source files
to do the build.To use FastUIDraw in one's own Emscripten project, one needs to do the following:
- add the flags FASTUIDRAW_EMSCRIPTEN_LIBS found in Makefile.emscripten
- add where the headers of fastuidraw are located (for example when building the demos, -Iinc is added)
- for debug build, also add the flags FASTUIDRAW_EMSCRIPTEN_DEBUG_FLAGS
- for debug build, add libFastUIDraw-emscripten-debug.bc to ones list of objects to link
- for release build, also add the flags FASTUIDRAW_EMSCRIPTEN_RELEASE_FLAGS
- for release build, add libFastUIDraw-emscripten-release.bc to ones list of objects to link