Move files into src folder.

This commit is contained in:
kelson8 2024-11-04 14:47:49 -05:00
parent d7d101a2bd
commit 6d7cb3760b
Signed by: kelson8
GPG Key ID: 3D738D9DD7239E13
8 changed files with 11 additions and 4 deletions

View File

@ -2,11 +2,18 @@ cmake_minimum_required(VERSION 3.5.0)
project(Test_Project VERSION 0.1.0 LANGUAGES C) project(Test_Project VERSION 0.1.0 LANGUAGES C)
# Add more c files in here # Add more c files in here
# add_executable(Test_Project
# main.c
# hello.c
# math_functions.c
# struct_test.c
# )
add_executable(Test_Project add_executable(Test_Project
main.c src/main.c
hello.c src/hello.c
math_functions.c src/math_functions.c
struct_test.c src/struct_test.c
) )
# https://discourse.cmake.org/t/how-to-properly-include-header-files/4762 # https://discourse.cmake.org/t/how-to-properly-include-header-files/4762

View File