2015-07-26 14:23:17 +03:00
|
|
|
include_directories(${KDevPlatform_SOURCE_DIR}/shell ${QJSON_INCLUDE_DIR})
|
|
|
|
|
|
|
|
set(kdevplatformjsontests_LIB_SRCS
|
|
|
|
delayedoutput.cpp
|
|
|
|
declarationvalidator.cpp
|
|
|
|
testsuite.cpp
|
|
|
|
)
|
|
|
|
|
2015-09-02 02:13:50 +03:00
|
|
|
add_library(kdevplatformjsontests SHARED ${kdevplatformjsontests_LIB_SRCS})
|
2015-07-26 14:23:17 +03:00
|
|
|
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
|
|
|
|
)
|