kde-extraapps/kdevplatform/tests/json/CMakeLists.txt

37 lines
958 B
Text
Raw Normal View History

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})
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
)