feat: initial commit, setup build

This commit is contained in:
parker
2025-06-18 14:55:17 +01:00
commit 4257dc65eb
4 changed files with 19 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
build

6
CMakeLists.txt Normal file
View File

@@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(node)
add_executable(test
src/main.cpp
)

6
build.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
mkdir -p build
cd build
cmake -G Ninja ..
ninja

6
src/main.cpp Normal file
View File

@@ -0,0 +1,6 @@
#include <iostream>
int main()
{
std::cout << "hello world\n";
}