aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 9694ac22e79570efa6c14817a37b4954e55611a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 3.10)

# Set the project name and language
project(blc CXX)

# Set the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Add the include directory
include_directories(${PROJECT_SOURCE_DIR}/include)

# Gather all source files from the src directory
file(GLOB SOURCES "src/**/*.cpp", "src/*.cpp")
message(STATUS "Sources: ${SOURCES}")

# Define the executable
add_executable(blc ${SOURCES})