refactor(cmake): move generated files in build directory (#1726)

This commit is contained in:
Jérôme BOULMIER 2019-04-04 16:53:54 -04:00 committed by Patrick Ziegler
parent cff13214ff
commit 57b8fcc7cd
1 changed files with 2 additions and 1 deletions

View File

@ -35,8 +35,9 @@ endif()
configure_file(
${CMAKE_CURRENT_LIST_DIR}/settings.hpp.cmake
${CMAKE_CURRENT_LIST_DIR}/settings.hpp
${CMAKE_BINARY_DIR}/generated-sources/settings.hpp
ESCAPE_QUOTES @ONLY)
list(APPEND dirs ${CMAKE_BINARY_DIR}/generated-sources/)
set(APP_VERSION ${APP_VERSION} PARENT_SCOPE)
set(dirs ${dirs} PARENT_SCOPE)