~3v1n0/unity/overlay-border-scale

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#
9
9
set (PROJECT_NAME "unity")
10
10
set (UNITY_MAJOR 5)
11
 
set (UNITY_MINOR 0)
 
11
set (UNITY_MINOR 4)
12
12
set (UNITY_MICRO 0)
13
13
set (UNITY_VERSION "${UNITY_MAJOR}.${UNITY_MINOR}.${UNITY_MICRO}")
14
14
set (UNITY_API_VERSION "5.0")
17
17
set (CMAKE_CXX_FLAGS_DEBUG "-g3")
18
18
set (CMAKE_CXX_FLAGS_RELEASE "")
19
19
 
 
20
if (BUILD_GLES)
 
21
        SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNUX_OPENGLES_20 -DUSE_GLES")
 
22
endif (BUILD_GLES)
20
23
 
21
24
#
22
25
# Niceties
119
122
#
120
123
# Compiz Plugins
121
124
#
122
 
set (UNITY_PLUGIN_DEPS "compiz;nux-2.0 >= 2.0.0;libbamf3;dee-1.0;gio-2.0;gio-unix-2.0;dbusmenu-glib-0.4;x11;libstartup-notification-1.0;gthread-2.0;indicator3-0.4;atk;unity-misc >= 0.4.0;gconf-2.0;libutouch-geis;gtk+-3.0 >= 3.1;sigc++-2.0;json-glib-1.0;libnotify;gnome-desktop-3.0;gdu")
 
125
set (UNITY_PLUGIN_DEPS "compiz;nux-2.0>=2.0.0;libbamf3;dee-1.0;gio-2.0;gio-unix-2.0;dbusmenu-glib-0.4;x11;libstartup-notification-1.0;gthread-2.0;indicator3-0.4;atk;unity-misc>=0.4.0;gconf-2.0;libutouch-geis;gtk+-3.0>=3.1;sigc++-2.0;json-glib-1.0;libnotify;gnome-desktop-3.0;gdu")
123
126
 
124
127
add_subdirectory(plugins/unityshell)
125
128
add_subdirectory(plugins/gtkloader)
129
132
 
130
133
# subdirs
131
134
add_subdirectory(doc)
 
135
 
 
136
# Check for google test and build it locally
 
137
set(
 
138
  GTEST_ROOT_DIR
 
139
  "/usr/src/gtest" # Default value, adjustable by user with e.g., ccmake
 
140
  CACHE
 
141
  PATH
 
142
  "Path to Google test srcs"
 
143
)
 
144
 
 
145
find_path(GTEST_INCLUDE_DIR gtest/gtest.h)
 
146
if (GTEST_INCLUDE_DIR)
 
147
  #FIXME - hardcoded is bad!
 
148
  add_subdirectory(
 
149
    ${GTEST_ROOT_DIR}
 
150
    gtest
 
151
  )
 
152
endif(GTEST_INCLUDE_DIR)
 
153
 
132
154
add_subdirectory(services)
133
155
add_subdirectory(tests)
134
156
add_subdirectory(tools)
136
158
add_subdirectory(guides)
137
159
add_subdirectory(standalone-clients EXCLUDE_FROM_ALL)
138
160
 
 
161
 
139
162
#
140
163
# GSettings Schema
141
164
#