22 lines
434 B
CMake
22 lines
434 B
CMake
cmake_minimum_required(VERSION 3.13.4)
|
|
project(BendCalc)
|
|
|
|
# Set C++ standard
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|
|
|
# Include directories
|
|
include_directories(include)
|
|
|
|
# Source files
|
|
set(SOURCES
|
|
src/main.cpp
|
|
# Add other source files here
|
|
)
|
|
|
|
# Create executable
|
|
add_executable(bend_calc ${SOURCES})
|
|
|
|
# Add subdirectories for modules
|
|
add_subdirectory(tests)
|
|
add_subdirectory(docs) |