CMakeLists.txt 1.06 KB
Newer Older
1 2 3
enable_testing()
project(libkdegamesprivate)

4 5 6
if(BUILD_TESTING)
    add_subdirectory(tests)
endif()
7

8 9 10
# NOTE: The libkdegamesprivate target is compiled in the parent directory,
# because CMake can't cope with exported libraries in two different
# directories.
11 12 13 14

########### install files ###############

install(FILES
Laurent Montel's avatar
Laurent Montel committed
15
    ${CMAKE_CURRENT_BINARY_DIR}/../libkdegamesprivate_export.h
16 17 18 19 20 21 22 23
    kchatbase.h
    kchatbaseitemdelegate.h
    kchatbasemodel.h
    kgamecanvas.h
    kgamedifficulty.h
    kgamesvgdocument.h
    kgametheme.h
    kgamethemeselector.h
24
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KF5KDEGames/libkdegamesprivate COMPONENT Devel)
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

install(FILES
    kgame/kgamechat.h
    kgame/kgameerror.h
    kgame/kgame.h
    kgame/kgameio.h
    kgame/kgamemessage.h
    kgame/kgamenetwork.h
    kgame/kgameproperty.h
    kgame/kgamepropertyhandler.h
    kgame/kgamesequence.h
    kgame/kgameversion.h
    kgame/kmessageclient.h
    kgame/kmessageio.h
    kgame/kmessageserver.h
    kgame/kplayer.h
41
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KF5KDEGames/libkdegamesprivate/kgame COMPONENT Devel)