Begin working on freetype bindings, again.
This commit is contained in:
parent
ebb2ee7fee
commit
ae0c9e742c
@ -33,6 +33,7 @@ WORKDIR /root
|
||||
lzma-dev \
|
||||
mingw-w64 \
|
||||
nuget \
|
||||
ninja-build \
|
||||
patch \
|
||||
python3 \
|
||||
xz-utils \
|
||||
@ -44,7 +45,7 @@ WORKDIR /root
|
||||
|
||||
# Setup interactive shell.
|
||||
# Setup sudo. Remove password prompt for group "wheel".
|
||||
# RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/quik_sudo_conf
|
||||
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/quik_sudo_conf
|
||||
|
||||
# Create a default user and switch.
|
||||
RUN adduser --comment "" --disabled-password quik
|
||||
|
10
Quik.FreeType/Quik.Freetype.csproj
Normal file
10
Quik.FreeType/Quik.Freetype.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>disable</Nullable>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
3
Quik.FreeType/build_native.sh
Executable file
3
Quik.FreeType/build_native.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd $(dirname "$0")
|
||||
../sh/quik_build_native.sh .
|
5
lib/README.md
Normal file
5
lib/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
Quik/lib
|
||||
========
|
||||
This is where the git submodules of 3rd party native dependencies are supposed
|
||||
to end up at. Also note `lib/quik` is where all common headers go for building
|
||||
these libraries and their distributions.
|
@ -32,11 +32,12 @@ for ARCH in $ARCHS; do
|
||||
mkdir -p $PREFIX $BUILD
|
||||
# Configure CMAKE.
|
||||
cmake -B $BUILD -S . \
|
||||
-G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN
|
||||
|
||||
# Build and install.
|
||||
make -C $BUILD all
|
||||
make -C $BUILD install
|
||||
ninja -C $BUILD all
|
||||
ninja -C $BUILD install
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user