C++ Meson Library Project
This commit is contained in:
7
.devcontainer/.bashrc
Normal file
7
.devcontainer/.bashrc
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;91m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
umask 022
|
||||
export LS_OPTIONS='--color=auto'
|
||||
eval "`dircolors`"
|
||||
alias ls='ls $LS_OPTIONS'
|
||||
9
.devcontainer/Dockerfile
Normal file
9
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM debian:buster
|
||||
|
||||
RUN apt update && apt install -y build-essential crossbuild-essential-amd64 crossbuild-essential-armhf mingw-w64 \
|
||||
python3 python3-pip python3-setuptools python3-wheel ninja-build \
|
||||
wget cmake xxd valgrind gcovr lcov git cppcheck gdb \
|
||||
&& pip3 install meson
|
||||
|
||||
COPY meson /usr/local/share/meson
|
||||
COPY .bashrc /root/.bashrc
|
||||
18
.devcontainer/devcontainer.json
Normal file
18
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "C++",
|
||||
"dockerFile": "Dockerfile",
|
||||
|
||||
"runArgs": [
|
||||
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
|
||||
],
|
||||
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
|
||||
"extensions": [
|
||||
"ms-vscode.cpptools",
|
||||
"yzhang.markdown-all-in-one",
|
||||
"asabil.meson"
|
||||
]
|
||||
}
|
||||
11
.devcontainer/meson/cross/arm-linux-gnueabihf
Normal file
11
.devcontainer/meson/cross/arm-linux-gnueabihf
Normal file
@@ -0,0 +1,11 @@
|
||||
[binaries]
|
||||
c = 'arm-linux-gnueabihf-gcc'
|
||||
cpp = 'arm-linux-gnueabihf-g++'
|
||||
ar = 'arm-linux-gnueabihf-ar'
|
||||
strip = 'arm-linux-gnueabihf-strip'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'arm'
|
||||
cpu = 'armv7'
|
||||
endian = 'little'
|
||||
12
.devcontainer/meson/cross/x86_64
Normal file
12
.devcontainer/meson/cross/x86_64
Normal file
@@ -0,0 +1,12 @@
|
||||
[binaries]
|
||||
c = 'x86_64-linux-gnu-gcc'
|
||||
cpp = 'x86_64-linux-gnu-g++'
|
||||
ar = 'x86_64-linux-gnu-ar'
|
||||
strip = 'x86_64-linux-gnu-strip'
|
||||
pkgconfig = 'x86_64-linux-gnu-pkg-config'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
11
.devcontainer/meson/cross/x86_64-alpine-linux-musl
Normal file
11
.devcontainer/meson/cross/x86_64-alpine-linux-musl
Normal file
@@ -0,0 +1,11 @@
|
||||
[binaries]
|
||||
c = '/usr/bin/x86_64-alpine-linux-musl-gcc'
|
||||
cpp = '/usr/bin/x86_64-alpine-linux-musl-g++'
|
||||
ar = '/usr/bin/x86_64-alpine-linux-musl-gcc-ar'
|
||||
strip = '/usr/bin/x86_64-alpine-linux-musl-strip'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
12
.devcontainer/meson/cross/x86_64-linux-gnu
Normal file
12
.devcontainer/meson/cross/x86_64-linux-gnu
Normal file
@@ -0,0 +1,12 @@
|
||||
[binaries]
|
||||
c = 'x86_64-linux-gnu-gcc'
|
||||
cpp = 'x86_64-linux-gnu-g++'
|
||||
ar = 'x86_64-linux-gnu-ar'
|
||||
strip = 'x86_64-linux-gnu-strip'
|
||||
pkgconfig = 'x86_64-linux-gnu-pkg-config'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
13
.devcontainer/meson/cross/x86_64-w64-mingw32
Normal file
13
.devcontainer/meson/cross/x86_64-w64-mingw32
Normal file
@@ -0,0 +1,13 @@
|
||||
[binaries]
|
||||
c = 'x86_64-w64-mingw32-gcc'
|
||||
cpp = 'x86_64-w64-mingw32-g++'
|
||||
ar = 'x86_64-w64-mingw32-ar'
|
||||
strip = 'x86_64-w64-mingw32-strip'
|
||||
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
|
||||
windres = 'x86_64-w64-mingw32-windres'
|
||||
|
||||
[host_machine]
|
||||
system = 'windows'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
Reference in New Issue
Block a user