first run of very basic executable

This commit is contained in:
Karl-Wilfried Zimmer 2023-12-31 14:30:21 +01:00
parent 7a9c61a588
commit 8697e7bd08
3 changed files with 22 additions and 0 deletions

View File

@ -2,4 +2,6 @@ cmake_minimum_required(VERSION 3.10)
project(Geometry) project(Geometry)
include_directories(${PROJECT_SOURCE_DIR}/include)
add_executable(Geometry main.cpp) add_executable(Geometry main.cpp)

14
include/main.h Normal file
View File

@ -0,0 +1,14 @@
//
// Created by nb on 31.12.23.
//
#ifndef GEOMETRY_MAIN_H
#define GEOMETRY_MAIN_H
#include <iostream>
using namespace std;
int main();
#endif //GEOMETRY_MAIN_H

View File

@ -0,0 +1,6 @@
#include "main.h"
int main(){
cout<<"Hello World";
return 0;
}