You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
601 B
16 lines
601 B
mv .\subprojects\packagecache .
|
|
rm -recurse -force .\subprojects\,.\builddir\
|
|
mkdir subprojects
|
|
mv .\packagecache .\subprojects\
|
|
mkdir builddir
|
|
cp wraps\*.wrap subprojects\
|
|
|
|
# clang doesn't actually work on Windows, it almost works but Catch2 fails to link against librt, look at https://mesonbuild.com/Builtin-options.html#compiler-options also there's a bug for it https://github.com/brechtsanders/winlibs_mingw/issues/127
|
|
# -fsafe-buffer-usage-suggestions
|
|
|
|
# $env:CC="clang"
|
|
# $env:CXX="clang++"
|
|
# $env:CC_LD="lld"
|
|
# $env:CXX_LD="lld"
|
|
|
|
meson setup --default-library=static --prefer-static builddir
|
|
|