forked from qt-creator/qt-creator
CMake: merge binary directories of sub projects
...into top level. Exceptions are applied explicitly. Change-Id: I59c54967dffc0bef2e8cc05c73763fcf18c12517 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -27,6 +27,9 @@ add_feature_info("Build tests" ${WITH_TESTS} "")
|
||||
option(WITH_DEBUG_CMAKE "Enabled CMake project debugging functionality (e.g. source file disk checking)" OFF)
|
||||
option(BUILD_WITH_PCH "Build with precompiled headers" ON)
|
||||
|
||||
# merge binary directories of sub projects into top level
|
||||
set(QTC_MERGE_BINARY_DIR ON)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
# Set up Qt stuff:
|
||||
|
@@ -1,5 +1,6 @@
|
||||
add_qtc_executable(cplusplus-keywordgen
|
||||
DEPENDS CPlusPlus Utils
|
||||
SOURCES cplusplus-keywordgen.cpp
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
@@ -4,4 +4,5 @@ add_qtc_executable(tst_manual_widgets_crumblepath
|
||||
tst_manual_widgets_crumblepath.cpp
|
||||
../common/themeselector.cpp ../common/themeselector.h
|
||||
../common/themes.qrc
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
@@ -4,4 +4,5 @@ add_qtc_executable(tst_manual_widgets_infolabel
|
||||
tst_manual_widgets_infolabel.cpp
|
||||
../common/themeselector.cpp ../common/themeselector.h
|
||||
../common/themes.qrc
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
@@ -4,4 +4,5 @@ add_qtc_executable(tst_manual_widgets_manhattanstyle
|
||||
tst_manual_widgets_manhattanstyle.cpp
|
||||
../common/themeselector.cpp ../common/themeselector.h
|
||||
../common/themes.qrc
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
@@ -5,4 +5,5 @@ add_qtc_executable(echo
|
||||
echoclangcodemodelserver.cpp echoclangcodemodelserver.h
|
||||
echoserverprocessmain.cpp
|
||||
SKIP_INSTALL
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
Reference in New Issue
Block a user