CMakeLists.txt

Sat, 19 May 2012 03:41:52 +0000

author
cemkalyoncu
date
Sat, 19 May 2012 03:41:52 +0000
changeset 199
e6acf22bd64f
child 208
42fe39be0f72
permissions
-rw-r--r--

* Merged with 3.1 branch

199
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
1 cmake_minimum_required(VERSION 2.8)
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
2
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
3 PROJECT(GGE)
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
4
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
5 ADD_DEFINITIONS(-DLINUX -fPIC -ggdb)
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
6
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
7 SET(Utils
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
8 Utils/Random.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
9 Utils/SGuid.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
10 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
11
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
12 SET(Engine
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
13 Engine/Image.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
14 Engine/Sound.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
15 Engine/Pointer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
16 Engine/OS.Linux.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
17 Engine/Graphic2D.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
18 Engine/GGEMain.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
19 Engine/Graphics.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
20 Engine/Input.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
21 Engine/VideoClip.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
22 Engine/Animation.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
23 Engine/CustomLayer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
24 Engine/Wave.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
25 Engine/Layer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
26 Engine/Font.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
27 Engine/AudioClip.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
28 Engine/GraphicLayers.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
29 Engine/OS.Win32.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
30 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
31
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
32 SET(Resource
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
33 Resource/Image.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
34 Resource/Sound.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
35 Resource/Text.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
36 Resource/Pointer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
37 Resource/Main.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
38 Resource/Base.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
39 Resource/Animation.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
40 Resource/File.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
41 Resource/BitmapFont.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
42 Resource/LinkNode.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
43 Resource/DataArray.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
44 Resource/FontTheme.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
45 Resource/Folder.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
46 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
47
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
48 SET(Widgets
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
49 Widgets/Checkbox/CheckboxBlueprint.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
50 Widgets/Checkbox/CheckboxBase.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
51 Widgets/Dialogs/TextInput.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
52 Widgets/Dialogs/Query.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
53 Widgets/Dialogs/Message.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
54 Widgets/Main.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
55 Widgets/Basic/BorderData.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
56 Widgets/Basic/Rectangle.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
57 Widgets/Basic/Line.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
58 Widgets/Basic/ResizableObjectResource.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
59 Widgets/Basic/Placeholder.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
60 Widgets/Panel/PanelBase.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
61 Widgets/Panel/PanelBlueprint.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
62 Widgets/WidgetRegistry.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
63 Widgets/Base/Widget.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
64 Widgets/Base/Organizer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
65 Widgets/Tabpanel.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
66 Widgets/Listbox/ListboxBlueprint.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
67 Widgets/Slider/SliderBlueprint.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
68 Widgets/Textbox/TextboxBlueprint.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
69 Widgets/Textbox/TextboxBase.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
70 Widgets/Combobox/ComboboxBlueprint.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
71 Widgets/Organizers/LinearOrganizer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
72 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
73
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
74 SET(Effects
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
75 Effects/Tinting.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
76 Effects/CountingText.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
77 Effects/Flip.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
78 Effects/LayerMover.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
79 Effects/LayerResizer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
80 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
81
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
82 SET(Encoding
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
83 Encoding/LZMA.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
84 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
85
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
86 SET(Network
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
87 Network/HTTP.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
88 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
89
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
90 SET(EXT_LZMA
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
91 External/LZMA/LzFind.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
92 External/LZMA/LzmaDec.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
93 External/LZMA/LzmaEnc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
94 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
95
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
96 SET(EXT_PNG
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
97 External/PNG/pngpread.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
98 External/PNG/pngwutil.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
99 External/PNG/pngwtran.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
100 External/PNG/pngset.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
101 External/PNG/pngrio.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
102 External/PNG/pngmem.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
103 External/PNG/png.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
104 External/PNG/pngget.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
105 External/PNG/pngrutil.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
106 External/PNG/pngtest.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
107 External/PNG/pngtrans.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
108 External/PNG/pngerror.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
109 External/PNG/pngwio.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
110 External/PNG/pngwrite.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
111 External/PNG/pngrtran.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
112 External/PNG/pngread.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
113 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
114
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
115 SET(EXT_ZLib
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
116 External/zlib/compress.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
117 External/zlib/gzlib.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
118 External/zlib/uncompr.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
119 External/zlib/gzclose.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
120 External/zlib/deflate.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
121 External/zlib/gzread.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
122 External/zlib/inflate.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
123 External/zlib/crc32.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
124 External/zlib/trees.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
125 External/zlib/inftrees.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
126 External/zlib/inffast.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
127 External/zlib/adler32.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
128 External/zlib/gzwrite.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
129 External/zlib/zutil.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
130 External/zlib/infback.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
131 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
132
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
133 SET(EXT_JPEG
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
134 External/JPEG/src/jdinput.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
135 External/JPEG/src/jdhuff.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
136 External/JPEG/src/jdmainct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
137 External/JPEG/src/jfdctint.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
138 External/JPEG/src/jdmarker.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
139 External/JPEG/src/jchuff.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
140 External/JPEG/src/jidctint.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
141 External/JPEG/src/jdtrans.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
142 External/JPEG/src/jccoefct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
143 External/JPEG/src/jdcoefct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
144 External/JPEG/src/jcmainct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
145 External/JPEG/src/jccolor.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
146 External/JPEG/src/jctrans.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
147 External/JPEG/src/jfdctflt.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
148 External/JPEG/src/jcomapi.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
149 External/JPEG/src/jdapistd.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
150 External/JPEG/src/jcprepct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
151 External/JPEG/src/jidctflt.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
152 External/JPEG/src/jquant2.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
153 External/JPEG/src/jcmaster.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
154 External/JPEG/src/jidctred.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
155 External/JPEG/src/jidctfst.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
156 External/JPEG/src/jerror.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
157 External/JPEG/src/jcinit.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
158 External/JPEG/src/jdapimin.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
159 External/JPEG/src/jdmerge.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
160 External/JPEG/src/jmemansi.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
161 External/JPEG/src/jddctmgr.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
162 External/JPEG/src/jcmarker.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
163 External/JPEG/src/jcdctmgr.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
164 External/JPEG/src/jdatadst.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
165 External/JPEG/src/jcphuff.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
166 External/JPEG/src/jmemmgr.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
167 External/JPEG/src/jdmaster.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
168 External/JPEG/src/jcapistd.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
169 External/JPEG/src/jdphuff.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
170 External/JPEG/src/jquant1.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
171 External/JPEG/src/jutils.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
172 External/JPEG/src/jcparam.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
173 External/JPEG/src/jdatasrc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
174 External/JPEG/src/jdcolor.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
175 External/JPEG/src/jfdctfst.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
176 External/JPEG/src/jcapimin.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
177 External/JPEG/src/jdpostct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
178 External/JPEG/src/jdsample.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
179 External/JPEG/src/jcsample.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
180 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
181
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
182 SET(EXT_OGG
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
183 External/ogg/src/framing.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
184 External/ogg/src/bitwise.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
185 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
186
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
187 SET(EXT_Vorbis
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
188 External/vorbis/src/floor0.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
189 External/vorbis/src/psy.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
190 External/vorbis/src/analysis.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
191 External/vorbis/src/sharedbook.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
192 External/vorbis/src/lpc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
193 External/vorbis/src/bitrate.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
194 External/vorbis/src/mdct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
195 External/vorbis/src/registry.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
196 External/vorbis/src/codebook.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
197 External/vorbis/src/vorbisfile.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
198 External/vorbis/src/lsp.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
199 External/vorbis/src/synthesis.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
200 External/vorbis/src/envelope.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
201 External/vorbis/src/mapping0.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
202 External/vorbis/src/block.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
203 External/vorbis/src/window.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
204 External/vorbis/src/res0.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
205 External/vorbis/src/lookup.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
206 External/vorbis/src/info.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
207 External/vorbis/src/vorbisenc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
208 External/vorbis/src/floor1.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
209 External/vorbis/src/smallft.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
210 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
211
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
212 SET(EXT_Theora
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
213 External/theora/src/dequant.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
214 External/theora/src/huffenc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
215 External/theora/src/x86/mmxfrag.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
216 External/theora/src/x86/mmxidct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
217 External/theora/src/x86/sse2fdct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
218 External/theora/src/x86/x86enc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
219 External/theora/src/x86/mmxstate.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
220 External/theora/src/x86/mmxfdct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
221 External/theora/src/x86/x86state.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
222 External/theora/src/x86/mmxencfrag.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
223 External/theora/src/decinfo.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
224 External/theora/src/decode.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
225 External/theora/src/fdct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
226 External/theora/src/mathops.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
227 External/theora/src/encfrag.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
228 External/theora/src/encinfo.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
229 External/theora/src/state.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
230 External/theora/src/analyze.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
231 External/theora/src/idct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
232 External/theora/src/apiwrapper.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
233 External/theora/src/quant.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
234 External/theora/src/cpu.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
235 External/theora/src/enquant.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
236 External/theora/src/rate.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
237 External/theora/src/encode.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
238 External/theora/src/mcenc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
239 External/theora/src/encapiwrapper.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
240 External/theora/src/tokenize.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
241 External/theora/src/info.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
242 External/theora/src/fragment.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
243 External/theora/src/bitpack.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
244 External/theora/src/x86_vc/mmxfrag.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
245 External/theora/src/x86_vc/mmxidct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
246 External/theora/src/x86_vc/x86enc.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
247 External/theora/src/x86_vc/mmxstate.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
248 External/theora/src/x86_vc/mmxfdct.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
249 External/theora/src/x86_vc/x86state.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
250 External/theora/src/x86_vc/mmxencfrag.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
251 External/theora/src/decapiwrapper.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
252 External/theora/src/internal.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
253 External/theora/src/huffdec.c
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
254 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
255
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
256 SET(EXT_Xml
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
257 External/XmlParser/tinyxml.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
258 External/XmlParser/tinyxmlerror.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
259 External/XmlParser/tinyxmlparser.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
260 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
261
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
262 SET(EXT_TheoraPlayback
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
263 External/TheoraPlayback/src/TheoraVideoManager.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
264 External/TheoraPlayback/src/TheoraWorkerThread.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
265 External/TheoraPlayback/src/TheoraUtil.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
266 External/TheoraPlayback/src/TheoraDataSource.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
267 External/TheoraPlayback/src/TheoraAudioInterface.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
268 External/TheoraPlayback/src/TheoraVideoClip.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
269 External/TheoraPlayback/src/TheoraVideoFrame.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
270 External/TheoraPlayback/src/TheoraTimer.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
271 External/TheoraPlayback/src/TheoraAsync.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
272 External/TheoraPlayback/src/TheoraException.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
273 External/TheoraPlayback/src/TheoraFrameQueue.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
274 External/TheoraPlaybackOpenAL/src/OpenAL_AudioInterface.cpp
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
275 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
276
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
277 SET(Externals
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
278 ${EXT_PNG}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
279 ${EXT_ZLib}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
280 ${EXT_JPEG}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
281 ${EXT_LZMA}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
282 ${EXT_Xml}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
283 ${EXT_OGG}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
284 ${EXT_Vorbis}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
285 ${EXT_Theora}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
286 ${EXT_TheoraPlayback}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
287 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
288
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
289 SET(StandardFlags "-std=c++0x -Wall -Wno-reorder -Wno-unknown-pragmas -Wno-switch -Wno-unused-function")
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
290 SET(ExternalCxxFlags "-fpermissive")
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
291
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
292 FOREACH(_file ${Utils} ${Engine} ${Resource} ${Widgets} ${Effects} ${Encoding} ${Network})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
293 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES COMPILE_FLAGS ${StandardFlags})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
294 ENDFOREACH()
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
295
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
296 FOREACH(_file ${EXT_Xml} ${EXT_TheoraPlayback})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
297 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES COMPILE_FLAGS ${ExternalCxxFlags})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
298 ENDFOREACH()
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
299
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
300 FOREACH(_file ${EXT_LZMA})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
301 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES COMPILE_FLAGS "-D_7ZIP_ST")
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
302 ENDFOREACH()
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
303
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
304
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
305 SET(sources
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
306 ${Utils}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
307 ${Engine}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
308 ${Resource}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
309 ${Widgets}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
310 ${Effects}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
311 ${Encoding}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
312 ${Network}
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
313 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
314
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
315 SET(libraries
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
316 GL
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
317 openal
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
318 X11
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
319 pthread
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
320 rt
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
321 ldap
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
322 lber
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
323 )
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
324 ADD_LIBRARY(GGE STATIC ${sources} ${Externals})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
325
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
326 FOREACH(_lib ${libraries})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
327 FIND_LIBRARY(_libn ${_lib})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
328 ADD_LIBRARY(${_lib} UNKNOWN IMPORTED)
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
329 SET_TARGET_PROPERTIES(${_lib} PROPERTIES IMPORTED_LOCATION ${_libn})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
330 TARGET_LINK_LIBRARIES(GGE ${_lib})
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
331 UNSET(_libn CACHE)
e6acf22bd64f * Merged with 3.1 branch
cemkalyoncu
parents:
diff changeset
332 ENDFOREACH()

mercurial