37 Commits

Author SHA1 Message Date
dbr
f3e7958eb8 Use flag_if_supported instead of cpp_link_stdlib 2023-01-02 12:07:28 +10:30
dbr
e5d3490ce5 Explicitly link c++11 stdlib
May help with macOS builds
2023-01-02 11:49:57 +10:30
dbr
2980dc01b5 Set CIMGUI_FREETYPE define 2023-01-01 17:34:31 +10:30
dbr
8a6d321b36 Booleano 2021-11-10 20:48:22 +11:00
dbr
e1ac6ac204 Fix unused 'use' 2021-11-02 16:02:11 +11:00
dbr
bb19f938e2 fmt 2021-11-02 15:03:19 +11:00
dbr
e565d3dbfe Restore $DEP_IMGUI_THIRD_PARTY 2021-11-02 14:35:27 +11:00
dbr
4a03702908 Use CARGO_FEATURE_x instead of #[cfg(...)]
Avoids unnecessary rebuilds of build script.

Also a few somewhat unrelated tidy-ups
2021-11-02 14:24:32 +11:00
dbr
a350e8dcd8 fmt 2021-10-27 23:26:46 +11:00
dbr
08b778524d Changes to build system to accomodate docking 2021-10-27 19:10:37 +11:00
dbr
4882a1f29d Fix enabling of freetype feature 2021-09-09 12:12:43 +10:00
dbr
7808164911 Fix clippy 2021-09-09 12:12:43 +10:00
dbr
c4fbfdd43e fmt 2021-09-09 12:12:43 +10:00
dbr
a36fb757fd Use #[cfg(feature=...)] instead of env-var 2021-09-09 12:12:43 +10:00
dbr
fca87575fd Add freetype feature
Uses the upstream "imgui_freetype" to "Build font atlases using FreeType instead of stb_truetype (which is the default font rasterizer)"

Closes #359
2021-09-09 12:12:43 +10:00
Thom Chiovoloni
083139e4e6 Enable -DIMGUI_USE_WCHAR32 for imgui-sys 2021-04-06 00:34:57 -07:00
Thom Chiovoloni
84e041d740 cargo clippy 2020-12-06 02:24:59 -08:00
Thom Chiovoloni
79a61ca46d cargo fmt 2020-12-06 02:24:59 -08:00
Thom Chiovoloni
5bf5c54447 Switch to SCU build (aka 'Single File' or 'Unity build') for imgui/cimgui code 2020-12-06 02:24:59 -08:00
Aaron Loucks
c0ba921a0d Run cargo fmt 2020-06-27 13:09:53 -04:00
Aaron Loucks
06033f7f63 Export include path and native defines 2020-06-27 00:56:47 -04:00
Joonas Javanainen
6ee5a2867b
Generate bindings for 1.76
cimgui has changed a lot, and the default bindings include a lot of
internal stuff that we (probably) don't want. Therefore we stop checking
out cimgui as a submodule and just use it as a tool instead.
2020-06-05 16:08:40 +03:00
Jasper Bekkers
d90fe8171e
WebAssembly FFI shells (#322)
* Allow imgui-rs to generate wasm-ffi bindings

* Missing wasm_bindings.rs file

* Update wasm bindings

* Take wasm import name from environment variable

* Remove debug message

* Formatting
2020-05-18 20:54:30 +02:00
Philip Degarmo
b2d5da3a6a Build fix for msvc.. use flag_if_supported instead of flag 2019-08-28 08:08:10 -07:00
Philip Degarmo
9f914fc12d Disable return-type-c-linkage warning 2019-08-27 21:44:00 -07:00
Lukas Wirth
44593da120 define CIMGUI_NO_EXPORT when building cimgui 2019-07-08 18:36:08 +02:00
Joonas Javanainen
21cc1af4ce
Disable platform-specific default functions 2019-06-27 23:26:04 +03:00
Joonas Javanainen
607a0c7df4
Use target-specific dependencies for mandatory system libs 2019-06-27 23:09:01 +03:00
Joonas Javanainen
abeaa9ce6a
Attempt to link CoreFoundation on mac OS 2019-06-27 23:05:44 +03:00
Joonas Javanainen
74ff73d06d
Verify that cimgui/imgui files are accessible
This provides a nicer error if somebody is trying to run the examples
without having submodules fetched
2019-03-10 16:30:56 +02:00
Joonas Javanainen
91a961e06a
Use more 2018 edition idioms 2018-12-31 12:16:28 +02:00
Joonas Javanainen
b1c7a03415
Use cimgui 1.65.2 2018-10-12 19:38:39 +03:00
Joonas Javanainen
7a30cb1037
Switch to the cc crate 2017-10-03 21:19:28 +03:00
thelearnerofcode
a918abf366 Changed 'gcc::Config::new()' to 'gcc::Build::new()' in imgui-sys/build.rs. 2017-10-01 13:47:58 -04:00
Joonas Javanainen
792f95979c
Add ImGuiListClipper functions to imgui-sys 2017-06-17 16:36:17 +03:00
Joonas Javanainen
14c04ddda6 Move cimgui under imgui-sys 2015-08-31 21:23:01 +03:00
Joonas Javanainen
545c80f309 Split ffi module into imgui-sys 2015-08-23 09:56:13 +03:00