~mzanetti/+junk/unity-mir-merged

« back to all changes in this revision

Viewing changes to tests/auto/modules/Unity/Application/CMakeLists.txt

  • Committer: Michael Zanetti
  • Date: 2014-02-20 11:11:52 UTC
  • mfrom: (158.2.22 unity-mir)
  • Revision ID: michael.zanetti@canonical.com-20140220111152-aaxu2ojwz1y5ca0z
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
add_subdirectory(fakeApp)
2
2
 
3
3
include_directories(
4
 
    ../../../../../src/modules/Unity/Application
5
 
    ../../../../../src/unity-mir
 
4
    ${CMAKE_SOURCE_DIR}/src/modules/Unity/Application
 
5
    ${CMAKE_SOURCE_DIR}/src/unity-mir
 
6
 
6
7
    ${MIRSERVER_INCLUDE_DIRS}
7
 
    ${UPSTART_APP_LAUNCH_INCLUDE_DIRS}
8
 
    )
9
 
 
10
 
add_executable(unity-mir-test-app
11
 
    main.cpp
12
 
    ../../../../../src/modules/Unity/Application/application_manager.cpp
13
 
    ../../../../../src/modules/Unity/Application/application.cpp
14
 
    ../../../../../src/modules/Unity/Application/desktopfilereader.cpp
15
 
    ../../../../../src/modules/Unity/Application/dbuswindowstack.cpp
16
 
    ../../../../../src/modules/Unity/Application/taskcontroller.cpp
17
 
    # We need to pull in some external header files
18
 
    /usr/include/unity/shell/application/ApplicationManagerInterface.h
19
 
    /usr/include/unity/shell/application/ApplicationInfoInterface.h
20
 
    )
 
8
    ${UPSTART_APP_LAUNCH_INCLUDE_DIRS})
 
9
 
 
10
add_executable(
 
11
    unity-mir-test-app
 
12
    main.cpp)
 
13
 
21
14
qt5_use_modules(unity-mir-test-app Test DBus Gui)
22
 
install(TARGETS unity-mir-test-app RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
23
 
target_link_libraries(unity-mir-test-app
 
15
 
 
16
target_link_libraries(
 
17
    unity-mir-test-app
 
18
 
24
19
    unity-mir
 
20
    unityapplicationplugin
 
21
 
25
22
    ${MIRSERVER_LIBRARIES}
26
 
    ${UPSTART_APP_LAUNCH_LIBRARIES}
27
 
    )
28
 
install(TARGETS unity-mir-test-app RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
 
23
    ${UPSTART_APP_LAUNCH_LIBRARIES})
 
24
 
 
25
install(
 
26
    TARGETS unity-mir-test-app
 
27
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})