summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutoUicInterface
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-05-15 09:05:58 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-05-26 13:27:17 (GMT)
commitdbda590628868e37956838c1d93d54050ab3e7c1 (patch)
tree636949e74c8f8e398c34a6931cad4a7578aeafe9 /Tests/QtAutoUicInterface
parent0965002e57f7461d290792252b289fda9247d530 (diff)
downloadCMake-dbda590628868e37956838c1d93d54050ab3e7c1.zip
CMake-dbda590628868e37956838c1d93d54050ab3e7c1.tar.gz
CMake-dbda590628868e37956838c1d93d54050ab3e7c1.tar.bz2
Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
Closes #14760 Closes #14313
Diffstat (limited to 'Tests/QtAutoUicInterface')
-rw-r--r--Tests/QtAutoUicInterface/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/QtAutoUicInterface/CMakeLists.txt b/Tests/QtAutoUicInterface/CMakeLists.txt
index 70175fb..f57c6e7 100644
--- a/Tests/QtAutoUicInterface/CMakeLists.txt
+++ b/Tests/QtAutoUicInterface/CMakeLists.txt
@@ -64,6 +64,6 @@ target_link_libraries(MyWidget KI18n ${QT_GUI_TARGET})
add_executable(QtAutoUicInterface main.cpp)
target_compile_definitions(QtAutoUicInterface
PRIVATE
- UI_LIBWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/LibWidget_autogen/include/ui_libwidget.h"
- UI_MYWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/MyWidget_autogen/include/ui_mywidget.h"
+ UI_LIBWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/LibWidget_autogen/include_${CMAKE_BUILD_TYPE}/ui_libwidget.h"
+ UI_MYWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/MyWidget_autogen/include_${CMAKE_BUILD_TYPE}/ui_mywidget.h"
)