-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
42 lines (33 loc) · 1.14 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required(VERSION 3.10)
# Project Information
project(ContainerizationService VERSION 1.0 DESCRIPTION "A containerization service like Docker" LANGUAGES CXX)
# Set the C++ Standard
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# Include Directories
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/src # Include the source directory
${CMAKE_CURRENT_SOURCE_DIR}/include # Include additional headers
)
# TODO: Add Build Targets
# add_executable(containerization_service
# src/main.cpp # Main entry point
# src/containers/container.cpp # Additional source files
# src/parsers/parser.cpp
# src/executors/executor.cpp
# )
# Add executable target
add_executable(start src/main.cpp) # temporary
# Link Libraries (if any)
# Example: Link with an external library (Boost)
# find_package(Boost REQUIRED)
# target_link_libraries(containerization_service Boost::Boost)
# Custom Definitions (if needed)
# add_definitions(-DCUSTOM_DEFINE)
# Additional Build Options
# Example: Enable compiler warnings
add_compile_options(
-Wall # Enable all warnings
-Wextra # Enable extra warnings
)