~3v1n0/unity/shield-notify-grabs

« back to all changes in this revision

Viewing changes to launcher/CMakeLists.txt

  • Committer: Gord Allott
  • Date: 2012-05-07 22:28:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2352.
  • Revision ID: gord.allott@canonical.com-20120507222817-0ffnpkrod3j9xpwj
shortcuts and unityshell working woo

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
     ${CACHED_UNITY_DEPS_CFLAGS}
7
7
     ${CACHED_UNITY_DEPS_CFLAGS_OTHER}
8
8
     ${MAINTAINER_CFLAGS}
 
9
     "-fPIC"
9
10
     "-DGETTEXT_PACKAGE=\"unity\""
10
11
     "-I${CMAKE_CURRENT_BINARY_DIR}"
11
12
     )
 
13
 
 
14
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
 
15
  set (CFLAGS ${CFLAGS} "-fPIC")
 
16
endif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
 
17
 
12
18
add_definitions (${CFLAGS})
13
19
 
14
20
set (LIBS ${CACHED_UNITY_DEPS_LIBRARIES} "-lunity-core-${UNITY_API_VERSION} -lm -lGL -lGLU")
74
80
      SwitcherModel.cpp
75
81
      SwitcherView.cpp
76
82
      LayoutSystem.cpp
77
 
      UnityWindowView.cpp
78
 
      UnityWindowStyle.cpp
79
83
    )
80
84
 
81
85
add_library (switcher-lib STATIC ${SWITCHER_SOURCES})
89
93
target_link_libraries (launcher launcher-lib unity-shared)
90
94
 
91
95
add_executable (switcher StandaloneSwitcher.cpp)
92
 
add_dependencies (switcher switcher-lib)
93
 
target_link_libraries (switcher switcher-lib unity-shared)
 
96
add_dependencies (switcher switcher-lib launcher-lib)
 
97
target_link_libraries (switcher switcher-lib launcher-lib unity-shared)