2 project(kjsembed-kjscmd)
6 ${CMAKE_SOURCE_DIR}/kjsembed
7 ${KDE4_KDECORE_INCLUDES}
12 ########### next target ###############
14 set(kjscmd_SRCS kjscmd.cpp )
17 qt4_add_resources(kjscmd_SRCS kjscmd.qrc )
19 if (NOT DEFINED QT_ONLY)
21 set(KJSEMBEDLIBNAME kjsembed)
22 set(KJSCMDNAME kjscmd)
23 else (NOT DEFINED QT_ONLY)
24 set(KJSCMDNAME qjscmd)
25 if (NOT QTONLY_WEBKIT)
27 set(KJSEMBEDLIBNAME qkjsembed)
28 else (NOT QTONLY_WEBKIT)
29 set(KJSLIBNAME ${WEBKIT_KJS_LIBRARY})
30 set(KJSEMBEDLIBNAME qwkjsembed)
31 endif (NOT QTONLY_WEBKIT)
32 endif (NOT DEFINED QT_ONLY)
35 kde4_add_executable(${KJSCMDNAME} ${kjscmd_SRCS})
37 target_link_libraries(${KJSCMDNAME} ${KDE4_KDEUI_LIBS} ${KDE4_KDECORE_LIBS} ${KJSEMBEDLIBNAME} kjs )
39 install(TARGETS ${KJSCMDNAME} ${INSTALL_TARGETS_DEFAULT_ARGS} )
41 ########### install files ###############