Commit Graph

3958 Commits

Author SHA1 Message Date
Pietro Gagliardi 70fe716d06 Removed bit about PIC in libraries; meson builds shared libraries as PIC always (and by default in the future, should the need to not have a PIC shared library arise). Executables will be a bit harder due to meson versioning. 2019-03-27 21:02:50 -04:00
Pietro Gagliardi 922dca4f1e Resolved \$ORIGIN question; thanks to someone in freenode #cmake. 2019-03-27 10:19:40 -04:00
Pietro Gagliardi 65b97b6836 Pruned unnecessary stuff from _wip/examples_drawtext_CMakeLists.txt. Not sure what's going to happen to these examples, but we're going to have to keep this particular file around until that's decided. 2019-03-27 01:11:01 -04:00
Pietro Gagliardi e1d6f35ef0 And settled examples/CMakeLists.txt. 2019-03-27 01:09:54 -04:00
Pietro Gagliardi 99f2b8f5ad And settled test/CMakeLists.txt; nothing there that needed to be moved. 2019-03-27 01:07:03 -04:00
Pietro Gagliardi f6ef61cdee And settled common/CMakeLists.txt (it also had nothing that needed to be moved). 2019-03-27 01:05:57 -04:00
Pietro Gagliardi 8b37a98170 Settled unix/CMakeLists.txt (was already complete in unix/meson.build) and darwin/CMakeLists.txt (just had one other thing needing to be moved). 2019-03-27 01:02:50 -04:00
Pietro Gagliardi 6a5fedf3f4 Settled windows/CMakeLists.txt. 2019-03-27 00:59:32 -04:00
Pietro Gagliardi f65caac1ce More CMakeLists.txt cleanup. What's left in the top-level CMakeLists.txt is gonna take a while to put back properly... 2019-03-27 00:56:43 -04:00
Pietro Gagliardi beba7470f4 Started cleaning out the CMakeLists.txt. meson automatically includes -fomit-frame-pointer for the address sanitizer, so no extra work needed. 2019-03-27 00:46:34 -04:00
Pietro Gagliardi b3232cc50c Cleaned up the comment at the top of meson.build, removing stale information and converting remaining loose ends into explicit TODOs. 2019-03-26 22:10:48 -04:00
Pietro Gagliardi 77f3b41940 Removed a stale TODO and moved notes about Windows flags into its own file because these probably won't be handled any time soon... 2019-03-26 22:06:20 -04:00
Pietro Gagliardi c940b85b84 Removed TODOs about finding the best wya to do things, as either there is none or the way I was doing it was already the right way (as with -mmacosx-version-min, judging from the repo code). 2019-03-26 22:03:39 -04:00
Pietro Gagliardi fec83e72bf Clean up add_project_arguments()/add_project_link_arguments() invocations. 2019-03-26 21:53:00 -04:00
Pietro Gagliardi 0d9cfa0f68 Resolved some TODOs/removed some stale TODOs. The one about libui_is_debug was confirmed by freenode elibrokeit as the pacman package manager uses it. 2019-03-25 23:12:28 -04:00
Pietro Gagliardi 0b87ee9f93 More TODOs. 2019-03-25 20:52:49 -04:00
Pietro Gagliardi 9527bb73ca Remove /nologo options from meson.build files; according to jpakkane, this is already provided by meson. 2019-03-25 20:17:42 -04:00
Pietro Gagliardi 1b9250e41e Removed include_directories hackery, as suggested by various people in freenode #mesonbuild. 2019-03-25 20:07:22 -04:00
Pietro Gagliardi 87f2be6849 Rewrote one expression to reduce the number of variables. 2019-03-25 10:46:41 -04:00
Pietro Gagliardi c449ab7da9 Fixed the name of the Windows DLL in meson.build. 2019-03-25 10:29:18 -04:00
Pietro Gagliardi 3457082b1b Set up examples meson.build. 2019-03-24 17:26:15 -04:00
Pietro Gagliardi 467a9102ec Fixed static builds on all platforms. So close to getting all this set up! 2019-03-24 14:11:02 -04:00
Pietro Gagliardi c1dfc0ab5d And got the Windows build working. Woo! 2019-03-24 12:57:25 -04:00
Pietro Gagliardi 2be9a4f3a3 Added the initial Windows meson.build. Windows Meson is having problems running, so we'll have to test this later. 2019-03-23 22:28:17 -04:00
Pietro Gagliardi 5e557d61b3 Set the minimum required meson version and moved the libui-specific OS X variables into darwin.build like we did with unix.build. 2019-03-23 21:50:54 -04:00
Pietro Gagliardi dff8ec0f22 Set up the Unix meson.build. That seems to work too. 2019-03-23 21:06:19 -04:00
Pietro Gagliardi cdd997b6f6 Added tester build file and made sure everything works. It works! 2019-03-23 18:12:33 -04:00
Pietro Gagliardi 1deacb55aa And massaged things into a buildable state. Woo. NOW things are starting to get annoying, but at least it's not so much *voodoo* anymore? 2019-03-23 16:18:13 -04:00
Pietro Gagliardi 253ce9a3cc Decided to just use add_project_(link_)arguments() for now, and set up the macOS build for testing. 2019-03-23 15:42:42 -04:00
Pietro Gagliardi 035139a1e9 Set up the macOS dependencies; I found it by accident :V Also removed the independent temporary dependency variables. 2019-03-22 22:46:53 -04:00
Pietro Gagliardi a440b174f7 Use host_machine instead of target_machine. Confusingly, host_machine is not the build host, but rather the target machine that the binaries will run on. build_machine is the build host. It probably made sense to the person in the 1980s who came up with this, but meh. 2019-03-22 22:04:07 -04:00
Pietro Gagliardi 7063ed6e32 Take some suggestions from the meson IRC channel: don't set unnecessary variables before project(); don't disallow plain builds since the options that meson doesn't apply aren't any of the ones I care about. 2019-03-22 22:00:19 -04:00
Pietro Gagliardi 1a9b0881bc Clean up meson.build slightly and add a section to the top to describe what I want to do so I can ask people. 2019-03-21 23:21:30 -04:00
Pietro Gagliardi 355b5d05d3 Filled meson.build a bit more, so I can ask questions about it. 2019-03-21 11:23:30 -04:00
Pietro Gagliardi f8543fc641 Started a top-level meson.build file. This might actually work... maybe. 2019-03-17 21:26:52 -04:00
Pietro Gagliardi 751ce562bb Renamed the doc folder to _doc so as to make room for newer, more final documentation. 2019-03-17 19:29:58 -04:00
Pietro Gagliardi 65a0c5958e Delete OLD_uitable.h; forgot to do it sooner. 2019-03-17 19:27:59 -04:00
Pietro Gagliardi 39d4542de3
Merge pull request #455 from torkleyy/patch-1
Update Rust bindings
2019-02-10 08:54:34 -05:00
Thomas Schaller 853d97aecb Update Rust bindings
All the other bindings are either abandoned
or forks of rust-native/libui-rs
2019-02-10 11:59:43 +01:00
Pietro Gagliardi e753ae9b57 More notes. 2019-02-09 21:38:10 -05:00
Pietro Gagliardi 7ce5070eeb
Merge pull request #454 from NoraCodes/readme-rust-link-fix
Point to the correct canonical location for Rust
2019-02-08 09:03:08 -05:00
Leonora Tindall e8db7f9bf9
Point to the correct canonical location for Rust 2019-01-31 20:57:57 -06:00
Pietro Gagliardi d305440fa0 Merge branch 'windows-namespace-and-hresult-cleanup'
Branch is abandoned, but notes files were changed, so keep those.
2019-01-05 18:57:37 -05:00
Pietro Gagliardi f1d9e36a0e Abandon the current work on windows-namespace-and-hresult-cleanup. I'll take a different approach. 2019-01-05 18:56:04 -05:00
Pietro Gagliardi a03754512f Merge branch 'master' into windows-namespace-and-hresult-cleanup 2019-01-05 18:46:25 -05:00
Pietro Gagliardi 04891a99ab Remove the autolayout --no-ff merge dummy file. 2019-01-05 17:40:59 -05:00
Pietro Gagliardi dabf2e6b93 Merge branch 'autolayout'
PROPERLY this time.
2019-01-05 17:40:33 -05:00
Pietro Gagliardi b95dd8fab5 Add a dummy file to ensure that branch autolayout can be --no-ff merged with master. 2019-01-05 17:35:41 -05:00
Pietro Gagliardi c65865d5c2 Merge branch 'master' into autolayout
For some reason the merge of this ages ago was forgotten. We're gonna make a dummy commit and properly --no-ff this.
2019-01-05 17:34:08 -05:00
Pietro Gagliardi acc0e3e5ea Merge branch 'master' of github.com:andlabs/libui 2018-12-30 20:18:26 -05:00