2015-07-26 14:23:17 +03:00
|
|
|
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9503 )
|
|
|
|
set(kdevplatformproject_LIB_SRCS
|
|
|
|
projectutils.cpp
|
|
|
|
projectmodel.cpp
|
|
|
|
projectconfigskeleton.cpp
|
|
|
|
importprojectjob.cpp
|
|
|
|
builderjob.cpp
|
|
|
|
projectbuildsetmodel.cpp
|
|
|
|
projectitemlineedit.cpp
|
|
|
|
helper.cpp
|
|
|
|
projectproxymodel.cpp
|
|
|
|
abstractfilemanagerplugin.cpp
|
|
|
|
filemanagerlistjob.cpp
|
|
|
|
projectfiltermanager.cpp
|
|
|
|
interfaces/iprojectbuilder.cpp
|
|
|
|
interfaces/iprojectfilemanager.cpp
|
|
|
|
interfaces/ibuildsystemmanager.cpp
|
|
|
|
interfaces/iprojectfilter.cpp
|
|
|
|
interfaces/iprojectfilterprovider.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2015-09-02 02:13:50 +03:00
|
|
|
add_library(kdevplatformproject SHARED ${kdevplatformproject_LIB_SRCS})
|
2015-07-26 14:23:17 +03:00
|
|
|
target_link_libraries(kdevplatformproject LINK_PUBLIC
|
|
|
|
kdevplatforminterfaces
|
|
|
|
)
|
|
|
|
target_link_libraries(kdevplatformproject LINK_PRIVATE
|
|
|
|
kdevplatforminterfaces
|
|
|
|
kdevplatformutil
|
|
|
|
kdevplatformlanguage
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
)
|
|
|
|
set_target_properties(kdevplatformproject PROPERTIES VERSION ${KDEVPLATFORM_LIB_VERSION} SOVERSION ${KDEVPLATFORM_LIB_SOVERSION})
|
|
|
|
install(TARGETS kdevplatformproject EXPORT KDevPlatformTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
|
|
|
2015-09-02 02:13:50 +03:00
|
|
|
if(ENABLE_TESTING)
|
|
|
|
add_subdirectory(tests)
|
|
|
|
endif()
|
2015-07-26 14:23:17 +03:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
interfaces/iprojectbuilder.h
|
|
|
|
interfaces/iprojectfilemanager.h
|
|
|
|
interfaces/ibuildsystemmanager.h
|
|
|
|
interfaces/iprojectfilter.h
|
|
|
|
interfaces/iprojectfilterprovider.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/project/interfaces COMPONENT Devel
|
|
|
|
)
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
projectutils.h
|
|
|
|
importprojectjob.h
|
|
|
|
projectconfigskeleton.h
|
|
|
|
projectmodel.h
|
|
|
|
projectkcmodule.h
|
|
|
|
projectexport.h
|
|
|
|
projectitemlineedit.h
|
|
|
|
projectbuildsetmodel.h
|
|
|
|
builderjob.h
|
|
|
|
helper.h
|
|
|
|
abstractfilemanagerplugin.h
|
|
|
|
projectfiltermanager.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/project COMPONENT Devel
|
|
|
|
)
|