fix(build): made sure main.c is not included in the building of the library
This commit is contained in:
parent
f5d55b2655
commit
58fe77860a
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ set(CMAKE_C_STANDARD 11)
|
|||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/Include)
|
||||
file(GLOB_RECURSE SRC_FILES "${PROJECT_SOURCE_DIR}/Src/*.c")
|
||||
file(GLOB_RECURSE SRC_FILES "${PROJECT_SOURCE_DIR}/Src/Hallocy/*.c")
|
||||
|
||||
add_library(Hallocy STATIC ${SRC_FILES})
|
||||
add_executable(HallocyApp ${PROJECT_SOURCE_DIR}/Src/Main.c)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue