Changes between Version 3 and Version 4 of CMake
- Timestamp:
- Oct 22, 2011, 6:47:05 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMake
v3 v4 18 18 * GDAL is formed of core implementation and large number of configurable modules (drivers). 19 19 * GDAL depends on large number of third-party software libraries. 20 * There is 1:1 dependency between GDAL driver and third-party library. Many drivers share common dependencies like zlib or libjpeglibraries.21 * I suggest to divide configuration into three steps (see SOCIapproach):20 * There is 1:1 dependency between GDAL driver and third-party library. Many drivers share common dependencies like ''zlib'' or ''libjpeg'' libraries. 21 * I suggest to divide configuration into three steps (see ''SOCI'' approach): 22 22 1. Basic configuration which determines architecture, system, building toolset, etc. 23 23 2. Look for all third-party libraries used by GDAL, required and optional. … … 26 26 * If any of GDAL features or drivers are explicitly switched off, then it does not affect lookup in step '''2.''' but only decisions in step '''3.''' Means, lookup of corresponding dependencies is performed. 27 27 * This way we don't care about solving the whole graph dependencies. 28 * For example, if user switches off JPEGdriver, We don't want to have to check: are there any other drivers enabled that depend on ''libjpeg''? Shall we turn off ''libjpeg'' lookup?28 * For example, if user switches off ''JPEG'' driver, We don't want to have to check: are there any other drivers enabled that depend on ''libjpeg''? Shall we turn off ''libjpeg'' lookup? 29 29 * Disabling a driver is decision that solely affects step '''3.''' but does not affect any part of step '''2.''' 30 30 * But, configuration choices by user which switch off/on dependencies lookup in step '''2.''' will do affect checks performed in step '''3.''' automatically. 31 * For example, if user switches off ''libjpeg'', then all features and drivers depending on JPEGsupport will be switched off automatically in step '''3.'''31 * For example, if user switches off ''libjpeg'', then all features and drivers depending on ''JPEG'' support will be switched off automatically in step '''3.''' 32 32