Merge pull request #4 from Sani7/bugfix/cmake-compiles-inc-folder
Remove the Core/inc folder from the CMake file list
This commit is contained in:
@@ -53,7 +53,9 @@ include_directories(LWIP/App LWIP/Target Core/Inc Middlewares/Third_Party/LwIP/s
|
||||
|
||||
add_definitions(-DDEBUG -DUSE_HAL_DRIVER -DSTM32F746xx)
|
||||
|
||||
file(GLOB_RECURSE SOURCES "Core/*.*" "LWIP/*.*" "Middlewares/*.*" "Drivers/*.*")
|
||||
#file(GLOB_RECURSE SOURCES "Core/*.*" "LWIP/*.*" "Middlewares/*.*" "Drivers/*.*")
|
||||
file(GLOB_RECURSE SOURCES "Core/Src/*.*" "Core/Startup/*.*" "LWIP/*.*" "Middlewares/*.*" "Drivers/*.*")
|
||||
|
||||
|
||||
set(LINKER_SCRIPT ${CMAKE_SOURCE_DIR}/STM32F746NGHX_FLASH.ld)
|
||||
|
||||
|
||||
@@ -52,7 +52,9 @@ include_directories(${includes})
|
||||
|
||||
add_definitions(${defines})
|
||||
|
||||
file(GLOB_RECURSE SOURCES ${sources})
|
||||
#file(GLOB_RECURSE SOURCES ${sources})
|
||||
file(GLOB_RECURSE SOURCES "Core/Src/*.*" "Core/Startup/*.*" "LWIP/*.*" "Middlewares/*.*" "Drivers/*.*")
|
||||
|
||||
|
||||
set(LINKER_SCRIPT $${CMAKE_SOURCE_DIR}/${linkerScript})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user