aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-01-19 09:37:29 +0000
committerCori Barker <coribarker2@gmail.com>2026-01-19 09:37:29 +0000
commitdb825f3cdebf4b1031347b0d48b9e478cd84a371 (patch)
treef4677372a41dddb17ccc2998c2c93ce64ef8a4aa /CMakeLists.txt
parenta238c69ca4e5c44b0e9c398d70122a17939bc439 (diff)
utility files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..9694ac2
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,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})