Merge pull request #944 from NeroBurner/no_generated_files_in_source_dir

Create Version.h in binary dir instead of src dir
This commit is contained in:
JF 2022-01-26 21:33:57 +01:00 committed by GitHub
commit a354650a9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -612,6 +612,7 @@ list(APPEND RECOVERYLOADER_SOURCE_FILES
set(INCLUDE_FILES
${CMAKE_CURRENT_BINARY_DIR}/src/Version.h
BootloaderVersion.h
logging/Logger.h
logging/NrfLogger.h
@ -710,6 +711,7 @@ set(INCLUDE_FILES
)
include_directories(
${CMAKE_BINARY_DIR}/src # include generated files like Version.h
.
../
libs/