Commit f72bf739 authored by Kevin Funk's avatar Kevin Funk
Browse files

Link against kdevmakefileresolver

Instead of compiling its sources twice
parent 4be8c6ba
......@@ -90,11 +90,9 @@ target_link_libraries( kdevcmakecommon
generate_export_header(kdevcmakecommon EXPORT_FILE_NAME cmakecommonexport.h)
ki18n_wrap_ui( cmakemanager_SRCS ${cmakemanager_UI} )
add_library(kdevcmakemanager MODULE ${cmakemanager_SRCS} ${cmakesettings_SRCS}
../custommake/makefileresolver/makefileresolver.cpp
../custommake/makefileresolver/helper.cpp)
add_library(kdevcmakemanager MODULE ${cmakemanager_SRCS} ${cmakesettings_SRCS})
target_link_libraries( kdevcmakemanager KF5::KIOWidgets KDev::Util
KDev::Interfaces kdevcmakecommon
KDev::Interfaces kdevcmakecommon kdevmakefileresolver
KDev::Project KDev::Language KDev::Shell
KDev::OutputView KF5::TextEditor KF5::KDELibs4Support Qt5::Concurrent)
......
set(test_custommake_SRCS
test_custommake.cpp
../makefileresolver.cpp
../helper.cpp
)
ecm_add_test(${test_custommake_SRCS}
TEST_NAME test_custommake
LINK_LIBRARIES
Qt5::Test
KDev::Tests
KDev::Project
kdevmakefileresolver
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment