Line data Source code
1 : /****************************************************************************** 2 : * Project: GDAL Core 3 : * Purpose: Test including all public C headers from a .c file 4 : * Author: Even Rouault, <even dot rouault at spatialys dot com> 5 : * 6 : ****************************************************************************** 7 : * Copyright (c) 2017, Even Rouault <even dot rouault at spatialys dot com> 8 : * 9 : * Permission is hereby granted, free of charge, to any person obtaining a 10 : * copy of this software and associated documentation files (the "Software"), 11 : * to deal in the Software without restriction, including without limitation 12 : * the rights to use, copy, modify, merge, publish, distribute, sublicense, 13 : * and/or sell copies of the Software, and to permit persons to whom the 14 : * Software is furnished to do so, subject to the following conditions: 15 : * 16 : * The above copyright notice and this permission notice shall be included 17 : * in all copies or substantial portions of the Software. 18 : * 19 : * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 20 : * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 : * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 22 : * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 : * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 24 : * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 25 : * DEALINGS IN THE SOFTWARE. 26 : ****************************************************************************/ 27 : 28 : // PLEASE DO NOT RENAME THIS FILE AS .cpp !!!!! 29 : // since the purpose is to check that the public headers can be included from 30 : // C 31 : 32 : #include "cpl_atomic_ops.h" 33 : #include "cpl_conv.h" 34 : #include "cpl_csv.h" 35 : #include "cpl_error.h" 36 : #include "cpl_hash_set.h" 37 : #include "cpl_list.h" 38 : #include "cpl_minixml.h" 39 : #include "cpl_port.h" 40 : #include "cpl_progress.h" 41 : #include "cpl_quad_tree.h" 42 : #include "cpl_vsi.h" 43 : #include "gdal_alg.h" 44 : #include "gdal_version.h" 45 : #include "gdal.h" 46 : #include "gdal_utils.h" 47 : #include "ogr_api.h" 48 : #include "ogr_core.h" 49 : #include "ogr_srs_api.h" 50 : 51 1 : int main() 52 : { 53 1 : return 0; 54 : }