build: add demo CMakeList.txt
This commit is contained in:
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal file
@ -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)
|
Reference in New Issue
Block a user