refactor(cmake): move generated files in build directory (#1726)
This commit is contained in:
parent
cff13214ff
commit
57b8fcc7cd
@ -35,8 +35,9 @@ endif()
|
|||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
${CMAKE_CURRENT_LIST_DIR}/settings.hpp.cmake
|
${CMAKE_CURRENT_LIST_DIR}/settings.hpp.cmake
|
||||||
${CMAKE_CURRENT_LIST_DIR}/settings.hpp
|
${CMAKE_BINARY_DIR}/generated-sources/settings.hpp
|
||||||
ESCAPE_QUOTES @ONLY)
|
ESCAPE_QUOTES @ONLY)
|
||||||
|
|
||||||
|
list(APPEND dirs ${CMAKE_BINARY_DIR}/generated-sources/)
|
||||||
set(APP_VERSION ${APP_VERSION} PARENT_SCOPE)
|
set(APP_VERSION ${APP_VERSION} PARENT_SCOPE)
|
||||||
set(dirs ${dirs} PARENT_SCOPE)
|
set(dirs ${dirs} PARENT_SCOPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user