Move files into src folder.
This commit is contained in:
parent
d7d101a2bd
commit
6d7cb3760b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user