From ddae8207e3277bcc29dfbede86a48c7abc664c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Thu, 10 Oct 2024 12:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=AE=9E=E9=AA=8C=E4=BA=8C?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homework2/CMakeLists.txt | 6 ++++++ homework2/main.cpp | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 homework2/CMakeLists.txt create mode 100644 homework2/main.cpp diff --git a/homework2/CMakeLists.txt b/homework2/CMakeLists.txt new file mode 100644 index 0000000..d4d38c6 --- /dev/null +++ b/homework2/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.29) +project(homework2) + +set(CMAKE_CXX_STANDARD 20) + +add_executable(homework2 main.cpp) diff --git a/homework2/main.cpp b/homework2/main.cpp new file mode 100644 index 0000000..bc8f460 --- /dev/null +++ b/homework2/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "Hello, World!" << std::endl; + return 0; +}