Commit Graph

39 Commits

Author SHA1 Message Date
Michael Tesch
34e884b375 dont need EVAL_CTORS when using llvm wasm backend 2019-12-18 17:44:35 +01:00
Michael Tesch
a8d64fcc91 cleanup for llvm emscripten, cleanup resources 2019-12-18 15:14:46 +01:00
Michael Tesch
b950317192
Hb skin (#15)
* HB documentation, fixed an nsvg bug

* fix emscripten demo builds

* fix func sig for win/glfw TBDebutOut()
2019-11-22 17:36:17 +01:00
Michael Tesch
82a123fd7d minor fixes 2019-11-15 15:48:05 +01:00
Michael Tesch
c23159df2b
Hb cmake2 (#11)
* remove TBSystem::GetRoot.  fix glew header

* make runtime debug info an indepedent setting

* windows build on travis

* fix IOS and macos high-dpi

* fix win+sdl2 combo

* try to auto detect what can be make-all'd
2019-11-14 16:59:54 +01:00
michael tesch
486445ce60 stuff for msvc 2019-11-13 21:22:10 +01:00
michael tesch
e4d66f9454 get Demo working on iOS 2019-11-13 21:04:29 +01:00
michael tesch
b48b164672 cleanup signed build for iOS & macOS 2019-11-13 19:37:17 +01:00
Michael Tesch
00933a86e9
Hb cmake cleanup (#10)
* cleanup build system, modernize cmake

* build glfw and sdl2, w/ or w/o freetype

* fix android demo build

* win32 with CPack has PACKAGE target now

* added GLEW for windows

* bump to SDL2.0.10. fixes for building as subdir

* constexpr is always available these days.

* cleanup getwd() warning. add rpm to ubuntu packages

* dont use add_compile_definitions() for cmake, too new

* add rpm package to travis

* gh release packages

* build demo target on windows

* see if defines not working on winsodw
2019-11-12 15:45:00 +01:00
Michael Tesch
63608b34c6 packaging for hb 2019-11-07 18:23:47 +01:00
Michael Tesch
affca5bc42 more build type cleanup 2019-11-07 15:53:26 +01:00
Michael Tesch
5ff2f27581 rework glfw and sdl2 libraries, add glfw emscripten build option 2019-11-07 15:35:46 +01:00
michael tesch
965fc73a87 build sdl2 properly as a subdirectory 2019-11-07 13:19:29 +01:00
Michael Tesch
508a865cee build sdl/wasm demo for gh-pages 2019-01-31 21:18:07 +01:00
Michael Tesch
ab219147b1 cleanup cmake build & dependency situation 2019-01-30 16:43:32 +01:00
Michael Tesch
071ff2ca8e test build flags, more deflate, let editfield display formatted float
- add some sanitation flags to test builds
- OnDeflate correctly detects default vs. empty fields
- added 'format' field to TBEditField and TBTextField that
  lets (or will let) the float format for a text field be specified
- OnDeflate for TBTextFi8eld and TBEditField
2019-01-29 10:45:20 +01:00
Michael Tesch
06116752c3 fixed emscripten demo 2019-01-25 11:03:26 +01:00
Michael Tesch
ee308dcfb3 emscripben builds 2019-01-24 23:12:45 +01:00
Michael Tesch
c704aa4cd8 build for emscripen 2019-01-24 22:14:44 +01:00
Michael Tesch
cf616a8898 unfinished change of how to deal ith dependencies 2019-01-24 19:18:56 +01:00
Michael Tesch
b647ebfe5b glfw demo working again 2019-01-24 17:58:54 +01:00
Michael Tesch
558d86d4e1 abstracting backend more 2019-01-24 12:36:21 +01:00
Michael Tesch
c050dd78f7 handle control-q as quit in demo, comments 2019-01-24 11:19:18 +01:00
Michael Tesch
809190d1e8 added config option for constexpr support and cleanup cmakefile spaces 2016-06-14 17:29:57 +02:00
michael tesch
2abaf66743 remove debugging stmts, fixed rsync for resources 2016-06-04 17:36:26 +02:00
michael tesch
7e7d23034c working gl3 render 2016-06-04 16:39:38 +02:00
michael tesch
c4b3301baa start try to add gles2/gl3 render 2016-06-04 04:51:46 +02:00
michael tesch
658b80b69e Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-03 18:08:48 +02:00
michael tesch
1606beb3ff fixed glfw build 2016-06-03 18:07:46 +02:00
Michael Tesch
fa07e3ec1b compiles, doesnt draw 2016-06-03 18:07:23 +02:00
michael tesch
85ebe8b584 start of sdl2 demo app port 2016-06-03 12:12:05 +02:00
Walter Pearce
e6e9bd6af9 Initial implementation of "modern" CMake system.
- the option of configuring tb_config.h via the Cmake options, optionally setting some
- Fixed TB overriding target paths and made it optional for demo. Building in source dir is bad.
- Provides proper install targets
2016-01-10 22:24:30 -08:00
Emil Segerås
5f4e5fd002 cmake cleanup
Moved glfw include from the top CMakeLists.txt to
the demo project, since it's the "user" project that
specify the dependence and knows where it is.
2014-08-16 14:32:33 +02:00
Emil Segerås
cdd14c70c9 Removed special compiler flags for linking all object files.
Should not be needed anymore.
2014-08-04 15:04:50 +02:00
Emil Segerås
67d82a43a2 cmake compilefix for macosx 2014-07-28 15:58:00 +02:00
Emil Segerås
7c9ef0cc5b cmake compilation fixes 2014-07-28 14:26:18 +02:00
Emil Segerås
67119ca815 cmake update: compiler settings for msvc. 2014-07-28 13:45:06 +02:00
Emil Segerås
6d5322f40b cmake update: Use WinMain on windows. 2014-07-26 13:34:22 +02:00
Emil Segerås
afa14e70cc Added cmake build files. Work in progress. 2014-07-26 11:18:41 +02:00