From 57b8fcc7cdbc67a2f26d3f4912d2a34475b7c37b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BOULMIER?= Date: Thu, 4 Apr 2019 16:53:54 -0400 Subject: [PATCH] refactor(cmake): move generated files in build directory (#1726) --- include/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index 58211c86..7a1feeeb 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -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)