diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-01-17 20:25:16 (GMT) |
|---|---|---|
| committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-01-17 20:26:40 (GMT) |
| commit | 688dc2fed7b207bdf80b5f4af5a5df8faad9f2ec (patch) | |
| tree | 06bc5e2c76f30c9b57dd6a2f3ce950f8d708c69e /src | |
| parent | 26ae828e393d28390c5ea718bec9d4c1a96435ac (diff) | |
Create Version.h in binary dir instead of src dir
Don't use source directory for generated files. Use the binary (build)
directory instead.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 062d8a5..aec6ce0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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/ |
