File: CMakeLists.txt

package info (click to toggle)
cigi-ccl 3.3.3a+svn818-10
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 7,332 kB
  • sloc: cpp: 62,566; makefile: 541; ruby: 400; ansic: 313; sh: 68
file content (509 lines) | stat: -rw-r--r-- 16,124 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
cmake_minimum_required(VERSION 2.8)

PROJECT(ccl)
SET(VERSION 3.3.3)

#============================================================================
# Please note:
#
# This should be considered an experimental build system for the CCL.
#
# Linux:
# When make installing with Linux it generates what you would typically expect
# in the install prefix.  If you want debugging symbols with your library
# you should set CMAKE_BUILD_TYPE to Debug or RelWithDebInfo before building.
#
# Windows:
# After building the Release and Debug configurations in Visual Studio and
# running the INSTALL target for both it will generate the following
# libraries:
#
# ${CMAKE_INSTALL_PREFIX}/lib:
#
# libcigicl.lib        => DLL release version
# libcigicl_debug.lib  => DLL debugged version
# libcigicl_static.lib       => Statically linked release version
# libcigicl_static_debug.lib => Statically linked debugged version
#
# ${CMAKE_INSTALL_PREFIX}/bin will include the DLLs you need at runtime if
# you're linking against the shared build of the library.
#
#============================================================================

CMAKE_MINIMUM_REQUIRED(VERSION 2.4.7)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS 1)
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
IF(MSVC OR MINGW)
    SET(CMAKE_DEBUG_POSTFIX "_debug")
ENDIF()

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin 
    CACHE PATH "The location where binaries go" FORCE)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib
    CACHE PATH "The location where libraries go" FORCE)
# Starting with CMake 2.6.0 this will effectively have any DLL files
# generated by CMake be placed in the specified directory.
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}) 
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}) 
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}) 

IF(CMAKE_COMPILER_IS_GNUCXX)
    CONFIGURE_FILE(cigicl.pc.in_cmake cigicl.pc)
ENDIF()

#==========================================================
# Tests
#==========================================================

INCLUDE(TestBigEndian)
TEST_BIG_ENDIAN(BIG_ENDIAN)

#==========================================================
# Global Preprocessor Definitions
#==========================================================

IF(BIG_ENDIAN)
    ADD_DEFINITIONS(-DCIGI_BIG_ENDIAN)
ELSE()
    ADD_DEFINITIONS(-DCIGI_LITTLE_ENDIAN)
ENDIF()

IF(CMAKE_COMPILER_IS_GNUCXX)
    ADD_DEFINITIONS(-Wall -fmessage-length=0)
ENDIF()

IF(MSVC80)
    ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
ENDIF()

#==========================================================
# Define CIGI Class Library Source/Header files.
#==========================================================

SET(CCL_PUBLIC_HDRS
  include/CigiAerosolRespV3.h
  include/CigiAllPackets.h
  include/CigiAnimationStopV3.h
  include/CigiAnimationTable.h
  include/CigiArtPartCtrlV1.h
  include/CigiArtPartCtrlV2.h
  include/CigiArtPartCtrlV3.h
  include/CigiAtmosCtrl.h
  include/CigiBaseAerosolResp.h
  include/CigiBaseAnimationStop.h
  include/CigiBaseArtPartCtrl.h
  include/CigiBaseCircleSymbolData.h
  include/CigiBaseCollDetSegDef.h
  include/CigiBaseCollDetSegResp.h
  include/CigiBaseCollDetVolDef.h
  include/CigiBaseCollDetVolResp.h
  include/CigiBaseCompCtrl.h
  include/CigiBaseConfClampEntityCtrl.h
  include/CigiBaseEarthModelDef.h
  include/CigiBaseEntityCtrl.h
  include/CigiBaseEnvCondReq.h
  include/CigiBaseEnvCtrl.h
  include/CigiBaseEnvRgnCtrl.h
  include/CigiBaseEventNotification.h
  include/CigiBaseEventProcessor.h
  include/CigiBaseHatHotReq.h
  include/CigiBaseHatHotResp.h
  include/CigiBaseIGCtrl.h
  include/CigiBaseIGMsg.h
  include/CigiBaseLosResp.h
  include/CigiBaseLosSegReq.h
  include/CigiBaseLosVectReq.h
  include/CigiBaseMaritimeSurfaceCtrl.h
  include/CigiBaseMaritimeSurfaceResp.h
  include/CigiBaseMotionTrackCtrl.h
  include/CigiBasePacket.h
  include/CigiBasePositionReq.h
  include/CigiBasePositionResp.h
  include/CigiBaseRateCtrl.h
  include/CigiBaseSOF.h
  include/CigiBaseSensorCtrl.h
  include/CigiBaseSensorResp.h
  include/CigiBaseShortArtPartCtrl.h
  include/CigiBaseShortSymbolCtrl.h
  include/CigiBaseSignalProcessing.h
  include/CigiBaseSpecEffDef.h
  include/CigiBaseSymbolCircleDef.h
  include/CigiBaseSymbolClone.h
  include/CigiBaseSymbolCtrl.h
  include/CigiBaseSymbolLineDef.h
  include/CigiBaseSymbolSurfaceDef.h
  include/CigiBaseSymbolTextDef.h
  include/CigiBaseTerrestrialSurfaceCtrl.h
  include/CigiBaseTerrestrialSurfaceResp.h
  include/CigiBaseTrajectoryDef.h
  include/CigiBaseVariableSizePckt.h
  include/CigiBaseVertexSymbolData.h
  include/CigiBaseViewCtrl.h
  include/CigiBaseViewDef.h
  include/CigiBaseWaveCtrl.h
  include/CigiBaseWeatherCondResp.h
  include/CigiBaseWeatherCtrl.h
  include/CigiCelestialCtrl.h
  include/CigiCircleSymbolDataV3_3.h
  include/CigiCnvtInfoType.h
  include/CigiCollDetSegDefV1.h
  include/CigiCollDetSegDefV2.h
  include/CigiCollDetSegDefV3.h
  include/CigiCollDetSegRespV1.h
  include/CigiCollDetSegRespV2.h
  include/CigiCollDetSegRespV3.h
  include/CigiCollDetVolDefV2.h
  include/CigiCollDetVolDefV3.h
  include/CigiCollDetVolRespV2.h
  include/CigiCollDetVolRespV3.h
  include/CigiCompCtrlV1.h
  include/CigiCompCtrlV2.h
  include/CigiCompCtrlV3.h
  include/CigiCompCtrlV3_3.h
  include/CigiConfClampEntityCtrlV3.h
  include/CigiDefaultPacket.h
  include/CigiEarthModelDefV3.h
  include/CigiEntityCtrlV1.h
  include/CigiEntityCtrlV2.h
  include/CigiEntityCtrlV3.h
  include/CigiEntityCtrlV3_3.h
  include/CigiEnvCondReqV3.h
  include/CigiEnvCtrlV1.h
  include/CigiEnvCtrlV2.h
  include/CigiEnvRgnCtrlV3.h
  include/CigiErrorCodes.h
  include/CigiEventNotificationV3.h
  include/CigiException.h
  include/CigiExceptions.h
  include/CigiHatHotReqV3.h
  include/CigiHatHotReqV3_2.h
  include/CigiHatHotRespV3.h
  include/CigiHatHotRespV3_2.h
  include/CigiHatHotXRespV3.h
  include/CigiHatHotXRespV3_2.h
  include/CigiHatReqV1.h
  include/CigiHatReqV2.h
  include/CigiHatRespV1.h
  include/CigiHatRespV2.h
  include/CigiHoldEnvCtrl.h
  include/CigiHostSession.h
  include/CigiHotReqV2.h
  include/CigiHotRespV2.h
  include/CigiIGCtrlV1.h
  include/CigiIGCtrlV2.h
  include/CigiIGCtrlV3.h
  include/CigiIGCtrlV3_2.h
  include/CigiIGCtrlV3_3.h
  include/CigiIGMsgV2.h
  include/CigiIGMsgV3.h
  include/CigiIGSession.h
  include/CigiIO.h
  include/CigiIncomingMsg.h
  include/CigiLosRespV1.h
  include/CigiLosRespV2.h
  include/CigiLosRespV3.h
  include/CigiLosRespV3_2.h
  include/CigiLosSegReqV1.h
  include/CigiLosSegReqV2.h
  include/CigiLosSegReqV3.h
  include/CigiLosSegReqV3_2.h
  include/CigiLosVectReqV1.h
  include/CigiLosVectReqV2.h
  include/CigiLosVectReqV3.h
  include/CigiLosVectReqV3_2.h
  include/CigiLosXRespV3.h
  include/CigiLosXRespV3_2.h
  include/CigiMaritimeSurfaceCtrlV3.h
  include/CigiMaritimeSurfaceRespV3.h
  include/CigiMessage.h
  include/CigiMessageBuffer.h
  include/CigiMotionTrackCtrlV3.h
  include/CigiOutgoingMsg.h
  include/CigiPositionReqV3.h
  include/CigiPositionRespV3.h
  include/CigiProcessType.h
  include/CigiRateCtrlV1.h
  include/CigiRateCtrlV2.h
  include/CigiRateCtrlV3.h
  include/CigiRateCtrlV3_2.h
  include/CigiSOFV1.h
  include/CigiSOFV2.h
  include/CigiSOFV3.h
  include/CigiSOFV3_2.h
  include/CigiSensorCtrlV1.h
  include/CigiSensorCtrlV2.h
  include/CigiSensorCtrlV3.h
  include/CigiSensorRespV1.h
  include/CigiSensorRespV2.h
  include/CigiSensorRespV3.h
  include/CigiSensorXRespV3.h
  include/CigiSession.h
  include/CigiShortArtPartCtrlV3.h
  include/CigiShortCompCtrlV3.h
  include/CigiShortCompCtrlV3_3.h
  include/CigiShortSymbolCtrlV3_3.h
  include/CigiSignalType.h
  include/CigiSpecEffDefV1.h
  include/CigiSpecEffDefV2.h
  include/CigiSwapping.h
  include/CigiSymbolCircleDefV3_3.h
  include/CigiSymbolCloneV3_3.h
  include/CigiSymbolCtrlV3_3.h
  include/CigiSymbolLineDefV3_3.h
  include/CigiSymbolSurfaceDefV3_3.h
  include/CigiSymbolTextDefV3_3.h
  include/CigiTerrestrialSurfaceCtrlV3.h
  include/CigiTerrestrialSurfaceRespV3.h
  include/CigiTrajectoryDefV1.h
  include/CigiTrajectoryDefV2.h
  include/CigiTrajectoryDefV3.h
  include/CigiTypes.h
  include/CigiTypes_Default.h
  include/CigiTypes_MSVS_Win32.h
  include/CigiVersionID.h
  include/CigiVertexSymbolDataV3_3.h
  include/CigiViewCtrlV1.h
  include/CigiViewCtrlV2.h
  include/CigiViewCtrlV3.h
  include/CigiViewDefV1.h
  include/CigiViewDefV2.h
  include/CigiViewDefV3.h
  include/CigiWaveCtrlV3.h
  include/CigiWeatherCondRespV3.h
  include/CigiWeatherCtrlV1.h
  include/CigiWeatherCtrlV2.h
  include/CigiWeatherCtrlV3.h
)

SET(CCL_SRCS
  source/CigiAerosolRespV3.cpp
  source/CigiAnimationStopV3.cpp
  source/CigiAnimationTable.cpp
  source/CigiArtPartCtrlV1.cpp
  source/CigiArtPartCtrlV2.cpp
  source/CigiArtPartCtrlV3.cpp
  source/CigiAtmosCtrl.cpp
  source/CigiBaseAerosolResp.cpp
  source/CigiBaseArtPartCtrl.cpp
  source/CigiBaseCircleSymbolData.cpp
  source/CigiBaseCollDetSegResp.cpp
  source/CigiBaseCollDetVolDef.cpp
  source/CigiBaseCollDetVolResp.cpp
  source/CigiBaseConfClampEntityCtrl.cpp
  source/CigiBaseEntityCtrl.cpp
  source/CigiBaseEnvCondReq.cpp
  source/CigiBaseEnvCtrl.cpp
  source/CigiBaseEnvRgnCtrl.cpp
  source/CigiBaseEventNotification.cpp
  source/CigiBaseHatHotReq.cpp
  source/CigiBaseIGCtrl.cpp
  source/CigiBaseLosResp.cpp
  source/CigiBaseLosSegReq.cpp
  source/CigiBaseLosVectReq.cpp
  source/CigiBaseMaritimeSurfaceCtrl.cpp
  source/CigiBaseMaritimeSurfaceResp.cpp
  source/CigiBaseMotionTrackCtrl.cpp
  source/CigiBasePositionReq.cpp
  source/CigiBasePositionResp.cpp
  source/CigiBaseSOF.cpp
  source/CigiBaseSensorCtrl.cpp
  source/CigiBaseSensorResp.cpp
  source/CigiBaseShortArtPartCtrl.cpp
  source/CigiBaseShortSymbolCtrl.cpp
  source/CigiBaseSpecEffDef.cpp
  source/CigiBaseSymbolCircleDef.cpp
  source/CigiBaseSymbolClone.cpp
  source/CigiBaseSymbolCtrl.cpp
  source/CigiBaseSymbolLineDef.cpp
  source/CigiBaseSymbolSurfaceDef.cpp
  source/CigiBaseSymbolTextDef.cpp
  source/CigiBaseTerrestrialSurfaceCtrl.cpp
  source/CigiBaseTrajectoryDef.cpp
  source/CigiBaseViewCtrl.cpp
  source/CigiBaseViewDef.cpp
  source/CigiBaseWaveCtrl.cpp
  source/CigiBaseWeatherCondResp.cpp
  source/CigiBaseWeatherCtrl.cpp
  source/CigiCelestialCtrl.cpp
  source/CigiCircleSymbolDataV3_3.cpp
  source/CigiCollDetSegDefV1.cpp
  source/CigiCollDetSegDefV2.cpp
  source/CigiCollDetSegDefV3.cpp
  source/CigiCollDetSegRespV1.cpp
  source/CigiCollDetSegRespV2.cpp
  source/CigiCollDetSegRespV3.cpp
  source/CigiCollDetVolDefV2.cpp
  source/CigiCollDetVolDefV3.cpp
  source/CigiCollDetVolRespV2.cpp
  source/CigiCollDetVolRespV3.cpp
  source/CigiCompCtrlV1.cpp
  source/CigiCompCtrlV2.cpp
  source/CigiCompCtrlV3.cpp
  source/CigiCompCtrlV3_3.cpp
  source/CigiConfClampEntityCtrlV3.cpp
  source/CigiDefaultPacket.cpp
  source/CigiEarthModelDefV3.cpp
  source/CigiEntityCtrlV1.cpp
  source/CigiEntityCtrlV2.cpp
  source/CigiEntityCtrlV3.cpp
  source/CigiEntityCtrlV3_3.cpp
  source/CigiEnvCondReqV3.cpp
  source/CigiEnvCtrlV1.cpp
  source/CigiEnvCtrlV2.cpp
  source/CigiEnvRgnCtrlV3.cpp
  source/CigiEventNotificationV3.cpp
  source/CigiHatHotReqV3.cpp
  source/CigiHatHotReqV3_2.cpp
  source/CigiHatHotRespV3.cpp
  source/CigiHatHotRespV3_2.cpp
  source/CigiHatHotXRespV3.cpp
  source/CigiHatHotXRespV3_2.cpp
  source/CigiHatReqV1.cpp
  source/CigiHatReqV2.cpp
  source/CigiHatRespV1.cpp
  source/CigiHatRespV2.cpp
  source/CigiHostSession.cpp
  source/CigiHotReqV2.cpp
  source/CigiHotRespV2.cpp
  source/CigiIGCtrlV1.cpp
  source/CigiIGCtrlV2.cpp
  source/CigiIGCtrlV3.cpp
  source/CigiIGCtrlV3_2.cpp
  source/CigiIGCtrlV3_3.cpp
  source/CigiIGMsgV2.cpp
  source/CigiIGMsgV3.cpp
  source/CigiIGSession.cpp
  source/CigiIO.cpp
  source/CigiIncomingMsg.cpp
  source/CigiLosRespV1.cpp
  source/CigiLosRespV2.cpp
  source/CigiLosRespV3.cpp
  source/CigiLosRespV3_2.cpp
  source/CigiLosSegReqV1.cpp
  source/CigiLosSegReqV2.cpp
  source/CigiLosSegReqV3.cpp
  source/CigiLosSegReqV3_2.cpp
  source/CigiLosVectReqV1.cpp
  source/CigiLosVectReqV2.cpp
  source/CigiLosVectReqV3.cpp
  source/CigiLosVectReqV3_2.cpp
  source/CigiLosXRespV3.cpp
  source/CigiLosXRespV3_2.cpp
  source/CigiMaritimeSurfaceCtrlV3.cpp
  source/CigiMaritimeSurfaceRespV3.cpp
  source/CigiMessage.cpp
  source/CigiMotionTrackCtrlV3.cpp
  source/CigiOutgoingMsg.cpp
  source/CigiPositionReqV3.cpp
  source/CigiPositionRespV3.cpp
  source/CigiRateCtrlV1.cpp
  source/CigiRateCtrlV2.cpp
  source/CigiRateCtrlV3.cpp
  source/CigiRateCtrlV3_2.cpp
  source/CigiSOFV1.cpp
  source/CigiSOFV2.cpp
  source/CigiSOFV3.cpp
  source/CigiSOFV3_2.cpp
  source/CigiSensorCtrlV1.cpp
  source/CigiSensorCtrlV2.cpp
  source/CigiSensorCtrlV3.cpp
  source/CigiSensorRespV1.cpp
  source/CigiSensorRespV2.cpp
  source/CigiSensorRespV3.cpp
  source/CigiSensorXRespV3.cpp
  source/CigiSession.cpp
  source/CigiShortArtPartCtrlV3.cpp
  source/CigiShortCompCtrlV3.cpp
  source/CigiShortCompCtrlV3_3.cpp
  source/CigiShortSymbolCtrlV3_3.cpp
  source/CigiSpecEffDefV1.cpp
  source/CigiSpecEffDefV2.cpp
  source/CigiSwapping.cpp
  source/CigiSymbolCircleDefV3_3.cpp
  source/CigiSymbolCloneV3_3.cpp
  source/CigiSymbolCtrlV3_3.cpp
  source/CigiSymbolLineDefV3_3.cpp
  source/CigiSymbolSurfaceDefV3_3.cpp
  source/CigiSymbolTextDefV3_3.cpp
  source/CigiTerrestrialSurfaceCtrlV3.cpp
  source/CigiTerrestrialSurfaceRespV3.cpp
  source/CigiTrajectoryDefV1.cpp
  source/CigiTrajectoryDefV2.cpp
  source/CigiTrajectoryDefV3.cpp
  source/CigiVertexSymbolDataV3_3.cpp
  source/CigiViewCtrlV1.cpp
  source/CigiViewCtrlV2.cpp
  source/CigiViewCtrlV3.cpp
  source/CigiViewDefV1.cpp
  source/CigiViewDefV2.cpp
  source/CigiViewDefV3.cpp
  source/CigiWaveCtrlV3.cpp
  source/CigiWeatherCondRespV3.cpp
  source/CigiWeatherCtrlV1.cpp
  source/CigiWeatherCtrlV2.cpp
  source/CigiWeatherCtrlV3.cpp
)

ADD_SUBDIRECTORY(examples/CigiMiniHost)
ADD_SUBDIRECTORY(examples/CigiDummyIG)

#==========================================================
# Library Targets
#==========================================================

INCLUDE_DIRECTORIES(include)

#
# Compiling the CCL as a shared library
#
ADD_LIBRARY(cigicl-shared SHARED ${CCL_PUBLIC_HDRS} ${CCL_SRCS})

IF(MSVC OR MINGW)
    # Both the CCL_DLL and _CCL_EXPORTS_ defines are needed to export DLLs.
    SET_TARGET_PROPERTIES(cigicl-shared PROPERTIES
        COMPILE_FLAGS -DCCL_DLL
        DEFINE_SYMBOL _CCL_EXPORTS_
        )
ENDIF()

SET_TARGET_PROPERTIES(cigicl-shared PROPERTIES 
    OUTPUT_NAME cigicl
    CLEAN_DIRECT_OUTPUT 1
    VERSION ${VERSION}
    SOVERSION 1
)

#
# Compiling the CCL as a static library
#
IF(MSVC OR MINGW)
    ADD_LIBRARY(cigicl-static STATIC ${CCL_PUBLIC_HDRS} ${CCL_SRCS})
    SET_TARGET_PROPERTIES(cigicl-static PROPERTIES OUTPUT_NAME cigicl_static)
ELSE()
    ADD_LIBRARY(cigicl-static STATIC ${CCL_PUBLIC_HDRS} ${CCL_SRCS})
    SET_TARGET_PROPERTIES(cigicl-static PROPERTIES OUTPUT_NAME cigicl)
ENDIF()
SET_TARGET_PROPERTIES(cigicl-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)

#==========================================================
# Install
#==========================================================

INSTALL(TARGETS cigicl-static cigicl-shared
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}
        ARCHIVE DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE})
INSTALL(FILES ${CCL_PUBLIC_HDRS} DESTINATION include/cigicl)
INSTALL(FILES
    COPYING
    ChangeLog
    license.html
    README
    ReleaseNotes.txt
    DESTINATION share/cigicl)

IF(CMAKE_COMPILER_IS_GNUCXX)
    INSTALL(FILES ${CMAKE_BINARY_DIR}/cigicl.pc DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig)
ENDIF()

ADD_SUBDIRECTORY(scripting)