diff options
Diffstat (limited to 'src/tools')
4 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/clangpchmanagerbackend/CMakeLists.txt b/src/tools/clangpchmanagerbackend/CMakeLists.txt index cdbc111bab..dc42a23c34 100644 --- a/src/tools/clangpchmanagerbackend/CMakeLists.txt +++ b/src/tools/clangpchmanagerbackend/CMakeLists.txt @@ -1,6 +1,7 @@ add_subdirectory(source) add_qtc_executable(clangpchmanagerbackend + CONDITION TARGET ClangPchManager DEPENDS clangrefactoringbackend_lib clangpchmanagerbackend_lib Sqlite ClangSupport diff --git a/src/tools/clangpchmanagerbackend/source/CMakeLists.txt b/src/tools/clangpchmanagerbackend/source/CMakeLists.txt index d7276895ce..63f0a11acf 100644 --- a/src/tools/clangpchmanagerbackend/source/CMakeLists.txt +++ b/src/tools/clangpchmanagerbackend/source/CMakeLists.txt @@ -1,4 +1,5 @@ add_qtc_library(clangpchmanagerbackend_lib STATIC + CONDITION TARGET clangrefactoringbackend_lib DEPENDS clangrefactoringbackend_lib PUBLIC_DEPENDS libclang Qt5::Widgets # FIXME: change the way to get the gui pch to linkto DEFINES diff --git a/src/tools/clangrefactoringbackend/CMakeLists.txt b/src/tools/clangrefactoringbackend/CMakeLists.txt index fdf1011cba..c368923d8f 100644 --- a/src/tools/clangrefactoringbackend/CMakeLists.txt +++ b/src/tools/clangrefactoringbackend/CMakeLists.txt @@ -1,6 +1,7 @@ add_subdirectory(source) add_qtc_executable(clangrefactoringbackend + CONDITION TARGET ClangRefactoring DEPENDS clangrefactoringbackend_lib Sqlite ClangSupport SOURCES diff --git a/src/tools/clangrefactoringbackend/source/CMakeLists.txt b/src/tools/clangrefactoringbackend/source/CMakeLists.txt index 0398ebf473..b7f266bd84 100644 --- a/src/tools/clangrefactoringbackend/source/CMakeLists.txt +++ b/src/tools/clangrefactoringbackend/source/CMakeLists.txt @@ -1,4 +1,5 @@ add_qtc_library(clangrefactoringbackend_lib STATIC + CONDITION WITH_TESTS OR TARGET ClangRefactoring OR TARGET ClangPchManager PUBLIC_DEPENDS Threads::Threads ${CLANG_TOOLING_LIBS} |