C-Programming/Zinsrechner/CMakeLists.txt

7 lines
252 B
CMake
Raw Normal View History

2023-04-19 10:53:07 +00:00
cmake_minimum_required(VERSION 3.20)
project(InterestCalculator)
# get all .c files recursesively from ./src
file(GLOB_RECURSE Sources RELATIVE ${CMAKE_SOURCE_DIR} "src/*.c")
# cramble all source into one binary
add_executable(InterestCalc ${Sources})