From 888f33c235f2d74fc35e742affac9341a79a9de2 Mon Sep 17 00:00:00 2001 From: Wankupi <2893353848@qq.com> Date: Tue, 23 Jul 2024 20:07:52 +0800 Subject: [PATCH] build: add demo CMakeList.txt --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ca28b6d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.20) +project(simulator) + +file(GLOB_RECURSE sources "src/*.cpp") + +set(CMAKE_CXX_STANDARD 20) + +include_directories(include) + +add_executable(simulator ${sources}) + +add_executable(demo demo/alu.cpp)