Begin working on freetype bindings, again.
This commit is contained in:
parent
ebb2ee7fee
commit
ae0c9e742c
@ -33,6 +33,7 @@ WORKDIR /root
|
|||||||
lzma-dev \
|
lzma-dev \
|
||||||
mingw-w64 \
|
mingw-w64 \
|
||||||
nuget \
|
nuget \
|
||||||
|
ninja-build \
|
||||||
patch \
|
patch \
|
||||||
python3 \
|
python3 \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
@ -44,7 +45,7 @@ WORKDIR /root
|
|||||||
|
|
||||||
# Setup interactive shell.
|
# Setup interactive shell.
|
||||||
# Setup sudo. Remove password prompt for group "wheel".
|
# 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.
|
# Create a default user and switch.
|
||||||
RUN adduser --comment "" --disabled-password quik
|
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
|
mkdir -p $PREFIX $BUILD
|
||||||
# Configure CMAKE.
|
# Configure CMAKE.
|
||||||
cmake -B $BUILD -S . \
|
cmake -B $BUILD -S . \
|
||||||
|
-G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||||
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN
|
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN
|
||||||
|
|
||||||
# Build and install.
|
# Build and install.
|
||||||
make -C $BUILD all
|
ninja -C $BUILD all
|
||||||
make -C $BUILD install
|
ninja -C $BUILD install
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user