80 Commits

Author SHA1 Message Date
Stone Tickle
58e3eaa938 rewrote formatter 2024-04-15 16:24:28 -04:00
Stone Tickle
edeaaadcda
remove comment 2024-02-02 15:07:34 -05:00
Vincent Torri
af132cb0b6 format meson.build 2024-02-02 09:49:47 -05:00
Vincent Torri
9d16636042 Windows: add str_endswithi() for compiler_cl_args_output()
also added references in meson to check if it is
compatible with meson
2024-02-02 09:49:47 -05:00
Stone Tickle
0f5debeaf7
remove vla usage and add a warning 2023-12-12 20:58:26 -05:00
Tokunori Ikegami
a33da06822
change git rev-parse @ option to use HEAD option instead
Since older version git on CentOS 7 does not suport the @ option.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
2023-11-11 20:31:08 -05:00
Stone Tickle
6b396a3efb
bump meson compat version 2023-10-03 13:44:48 -04:00
Stone Tickle
4bd286496d
bump meson compat 2023-04-10 07:17:00 -04:00
Stone Tickle
1aeda599b1
version 0.2.0 2023-04-07 10:07:15 -04:00
Stone Tickle
e487583a23
remove emscripten specific link args
Just allow these to be set via options when needed.
2023-03-17 22:49:47 -04:00
Stone Tickle
84dce14f00
support emscripten 2023-03-17 10:29:36 -04:00
Stone Tickle
34b6735c02
add meson compat version to website 2023-01-15 09:30:43 -05:00
Stone Tickle
7356660b5b
fix building on macos 2023-01-12 21:37:04 -05:00
Stone Tickle
460d142359
format long arrays 2023-01-11 12:01:44 -05:00
Vincent Torri
56236eb801
fix msys2 detection 2023-01-11 12:01:43 -05:00
Vincent Torri
96b30d083a
fix cygwin detection 2023-01-11 12:01:43 -05:00
Stone Tickle
c4a5e7d3d6
Windows port of muon 2023-01-11 12:01:41 -05:00
Stone Tickle
e67083d2e5
filter project tests without python
This will allow us to safely run project tests even when python isn't
installed.
2022-11-16 12:27:58 -05:00
Stone Tickle
4298aa2011
make muon reuse compliant
https://reuse.software
2022-10-25 10:54:31 -04:00
Stone Tickle
ab9156038a
version 0.1.0 2022-10-11 07:17:57 -04:00
Stone Tickle
fdf8dcd8b0
update tracy integration to use tracy as subproj 2022-09-06 20:56:04 -04:00
Stone Tickle
5fdfb04181
add tracy integration and instrumentation 2022-09-06 13:36:10 -04:00
Stone Tickle
b3303d30d1
remove all dependencies from tools/embedder.c
Remove the need to build the libplatform.a.
2022-09-05 06:50:39 -05:00
Stone Tickle
245bc2bc0a
update license string 2022-07-10 08:44:14 -05:00
Stone Tickle
d3cde733ed
don't check if compiler supports -D 2022-07-02 09:47:41 -05:00
Stone Tickle
2ec5d076a7
fail pkgconf init without path in static build
When building muon statically, it gets the PKG_CONFIG_PATH of the system
on which it is built.  Unfortunately, PKG_CONFIG_PATH is different on
many different linux distributions.  This means that using static muon
on other distros has a high chance of failing to find dependencies, with
a non-obvious reason.

Improve the situation by refusing to intialize libpkgconf if there is no
PKG_CONFIG_PATH in the environment.
2022-06-28 08:18:13 -05:00
Stone Tickle
09ab3408ae
remove redundant compiler warning flags 2022-06-28 07:46:22 -05:00
Stone Tickle
8360cb73a5
remove cyclic dependency libmuon <-> libplatform
- remove libmuon
- put all "util" functions into libplatform
2022-06-25 14:44:54 -05:00
Stone Tickle
a6baca251a
clean up meson.build 2022-05-31 18:08:28 -05:00
Stone Tickle
220119d938
use feed: true for scdoc targets
This requires a bump to the minimum meson required version, but this
shouldn't be a problem since muon can bootstrap itself.
2022-03-23 19:19:23 -05:00
Stone Tickle
95016d8e5b
change the meaning of the static option 2022-03-02 19:15:21 -06:00
Stone Tickle
0f8f2a09be
fix build outside of vcs 2022-02-15 16:05:26 -06:00
Stone Tickle
4d49f487ba
add check kw to run_command 2022-01-11 20:42:36 -06:00
Stone Tickle
e21cb9aac3
add a man page 2021-12-20 20:24:21 -06:00
Stone Tickle
84a87ffe82
run muon fmt on all meson files 2021-12-10 19:40:00 -06:00
Stone Tickle
c2bec76ce8
change c standard to c99 2021-11-16 14:56:05 -06:00
Stone Tickle
8b316d510c
fix typo when setting default_library 2021-11-16 12:12:51 -06:00
Stone Tickle
229942dbeb
explicitly set default_library=static 2021-11-12 13:48:45 -06:00
Stone Tickle
3b2dc71025
add a mechanism to embed scripts in the executable 2021-11-05 19:22:17 -05:00
Eli Schwartz
f6cfb3a724
bump minimum version of meson.build language API
meson.py implements compatibility checks for this, and logs the
following warning when building muon:

WARNING: Project specifies a minimum meson_version '>=0.48.0' but uses features which were added in newer versions:
 * 0.49.0: {'/ with string arguments'}
 * 0.50.0: {'File argument for extract_objects'}
 * 0.53.0: {'summary'}
2021-11-04 20:24:39 -05:00
Stone Tickle
0cdaf0643a
implement preliminary support for installations 2021-08-24 21:25:47 -05:00
Stone Tickle
01753545a0
build: make static dependencies optional 2021-07-20 12:49:26 +09:00
Stone Tickle
0309602f4f
set default build type to debugoptimized 2021-07-14 12:34:49 +09:00
Stone Tickle
c8be2f99d0
remove message 2021-06-22 08:17:55 +09:00
Stone Tickle
76f1ac8eb5
improve optional dependency handling 2021-06-17 21:21:00 +09:00
Stone Tickle
f9ea8af9a5
add a basic test 2021-06-12 10:56:22 +09:00
Stone Tickle
505c7975a0
use libpkgconf instead of shelling out 2021-06-11 10:53:37 +09:00
Stone Tickle
e9cc135c3e
rename boson -> muon 2021-06-07 16:32:24 +09:00
Stone Tickle
f0f97cd63e
include version information in binary 2021-06-02 19:56:06 +09:00
Stone Tickle
b7f1f98a9a
implement subdir() 2021-06-02 08:17:19 +09:00