BendCalc/CMakeLists.txt

41 lines
871 B
CMake
Raw Normal View History

2023-11-25 14:37:27 -08:00
cmake_minimum_required(VERSION 3.13.4)
project(BendCalc
VERSION 1.0.0
DESCRIPTION "An application for "
HOMEPAGE_URL "https://gitea.eventhorizonstudio.io/gbowne1/BendCalc"
LANGUAGES CXX)
include(CTest)
enable_testing()
2023-11-25 14:37:27 -08:00
# Set C++ standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_BUILD_TYPE Debug)
2024-02-08 14:14:23 -08:00
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_compile_options(-g -Wall -Wextra -Werror -pedantic)
2024-02-08 14:14:23 -08:00
set(CMAKE_CXX_COMPILER /usr/bin/g++)
2023-11-25 14:37:27 -08:00
# Source files
set(SOURCES
src/main.cpp
2024-02-08 14:14:23 -08:00
src/Tonnage.cpp
src/Setback.cpp
src/Serializer.cpp
src/Kfactor.cpp
src/Deserializer.cpp
src/DataSave.cpp
src/DataLoad.cpp
src/BendDeduction.cpp
src/FormingTool.cpp
2024-07-26 21:42:13 -07:00
src/BendAllowance.cpp
2023-11-25 14:37:27 -08:00
)
# Create executable
add_executable(bendcalc ${SOURCES})
# Include directories
target_include_directories(bendcalc PUBLIC include)