Initial project structure
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
commit
e06858dcf5
5 changed files with 16 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
build/
|
||||||
|
cmake-build-debug/
|
||||||
|
.idea/
|
3
CMakeLists.txt
Normal file
3
CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
cmake_minimum_required(VERSION 3.22)
|
||||||
|
project(CPP)
|
||||||
|
add_subdirectory(hello_world)
|
3
hello_world/CMakeLists.txt
Normal file
3
hello_world/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
project(helloworld)
|
||||||
|
set(SOURCES main.cpp)
|
||||||
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
BIN
hello_world/main
Executable file
BIN
hello_world/main
Executable file
Binary file not shown.
7
hello_world/main.cpp
Normal file
7
hello_world/main.cpp
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
std::cout << "Hello, World!" << std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue