basic run

This commit is contained in:
talksik
2024-02-27 12:06:38 -08:00
parent af607a7b15
commit 733a0fbcc4
5 changed files with 33 additions and 0 deletions
+2
View File
@@ -30,3 +30,5 @@
*.exe *.exe
*.out *.out
*.app *.app
build/
+7
View File
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.0)
set(CMAKE_CXX_STANDARD 17)
project(doEverything LANGUAGES CXX)
add_executable(doEverything src/main.cpp)
+4
View File
@@ -0,0 +1,4 @@
.PHONY: all
all:
./run.sh
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
mkdir -p build
cd build
cmake ..
make
./doEverything
+9
View File
@@ -0,0 +1,9 @@
#include <iostream>
int main (int argc, char *argv[]) {
std::cout << "Hello World!" << std::endl;
return 0;
}