Nuke is a C++ library that borrows from dotnet design. It is primarily focused on ease of use rather than performance.
It is not completed yet. We have a lot of work to do.
This framework is under C++ 20 standard
Using Google GTest
framework for the Nuke framework Testing
- Confirm already installed the vs 2022 with clang support and linux C++ support
- Confirm WSL feature has been opened in windows 10 , if NOT, please open WSL for linux Clang debug environment.
- Download Debian (recommended) (NOTE: Ubuntu 22.04 LTS perhaps has issue on gdb version, when start debuging, cannot insert to the breakpoint, Ubuntu 20.04.4 LTS has the compiler version issue, do not support Span) from Microsoft Store
- Install SSH client and server both WSL Ubuntu && Windows
- Windows
- Open Powershell as ADMIN
# Install SSH
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# Configure ssh
Start-Service sshd
# OPTIONAL but recommended:
Set-Service -Name sshd -StartupType 'Automatic'
# Confirm the Firewall rule is configured. It should be created automatically by setup.
Get-NetFirewallRule -Name *ssh*
# There should be a firewall rule named "OpenSSH-Server-In-TCP", which should be enabled
# If the firewall does not exist, create one
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
- Ubuntu
- Install openssh
sudo apt install openssh-client
sudo apt install openssh-server
- Start ssh service
ssh-keygen -A
sudo /etc/init.d/ssh start
- Edit ssh configuration
vi /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
- Restart ssh service
ssh-keygen -A
service ssh restart
- Install Cmake through
apt install cmake
- Install Ninja as build system,
apt update -y
andapt install -y ninja-build
- Install Clang as the compiler
apt install clang
- Install GTest
apt install libgtest-dev
- Install gdb, rsync, and zip for remote debugging
apt install gdb, rsync, and zip