From 73f381341981bf268637a6947d27ec12b1732cde Mon Sep 17 00:00:00 2001 From: graapka99558 Date: Sun, 2 Nov 2025 20:17:50 +0100 Subject: [PATCH] mein erstes Programm --- CMakeLists.txt | 1 + hello_world.c | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 hello_world.c diff --git a/CMakeLists.txt b/CMakeLists.txt index bf517d4..ee24a0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ set(INCLUDE_DIRS ) add_executable(${EXECUTABLE_NAME} ${SRC_FILES}) +include_directories(${INCLUDE_DIRS}) target_include_directories(${EXECUTABLE_NAME} PRIVATE ${INCLUDE_DIRS}) target_link_libraries(${EXECUTABLE_NAME} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/${OS_NAME}/libgamematrix.a diff --git a/hello_world.c b/hello_world.c new file mode 100644 index 0000000..f8de7a1 --- /dev/null +++ b/hello_world.c @@ -0,0 +1,8 @@ +#include + +int main() +{ + std::cout << "Hello world." << std::endl; + + return 0; +} \ No newline at end of file