mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
36 lines
958 B
CMake
36 lines
958 B
CMake
include_directories(${KDevPlatform_SOURCE_DIR}/shell ${QJSON_INCLUDE_DIR})
|
|
|
|
set(kdevplatformjsontests_LIB_SRCS
|
|
delayedoutput.cpp
|
|
declarationvalidator.cpp
|
|
testsuite.cpp
|
|
)
|
|
|
|
add_library(kdevplatformjsontests SHARED ${kdevplatformjsontests_LIB_SRCS})
|
|
target_link_libraries(kdevplatformjsontests
|
|
LINK_PRIVATE
|
|
${QJSON_LIBRARIES}
|
|
LINK_PUBLIC
|
|
${QT_QTCORE_LIBRARY}
|
|
kdevplatformlanguage
|
|
)
|
|
set_target_properties(kdevplatformjsontests PROPERTIES
|
|
VERSION ${KDEVPLATFORM_LIB_VERSION}
|
|
SOVERSION ${KDEVPLATFORM_LIB_SOVERSION}
|
|
)
|
|
|
|
install(TARGETS kdevplatformjsontests EXPORT KDevPlatformTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
|
|
install(FILES
|
|
declarationvalidator.h
|
|
delayedoutput.h
|
|
kdevplatformjsontestsexport.h
|
|
jsontesthelpers.h
|
|
testsuite.h
|
|
testsuite.cpp
|
|
jsondeclarationtests.h
|
|
jsonducontexttests.h
|
|
jsontypetests.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/tests/json/
|
|
COMPONENT Devel
|
|
)
|