Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

CMakeLists.txt 1.9 KB

You have to be logged in to leave a comment. Sign In
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
  1. #
  2. # $Id$
  3. #
  4. # Copyright (c) 1991-2016 by P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
  5. # See LICENSE.TXT file for copying and redistribution conditions.
  6. #
  7. # This program is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU Lesser General Public License as published by
  9. # the Free Software Foundation; version 3 or any later version.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU Lesser General Public License for more details.
  15. #
  16. # Contact info: gmt.soest.hawaii.edu
  17. #-------------------------------------------------------------------------------
  18. #
  19. # share/conf/CMakeLists.txt
  20. #
  21. # Generate system defaults file
  22. set (GMT_CONF_TEMPLATE "System-wide")
  23. if (UNITS EQUAL "US")
  24. set (GMT_PS_CHAR_ENCODING "Standard+")
  25. set (GMT_PROJ_LENGTH_UNIT "inch")
  26. set (GMT_PS_MEDIA "letter")
  27. set (GMT_WEEK_START "Sunday")
  28. else (UNITS EQUAL "US")
  29. set (GMT_PS_CHAR_ENCODING "ISOLatin1+")
  30. set (GMT_PROJ_LENGTH_UNIT "cm")
  31. set (GMT_PS_MEDIA "a4")
  32. set (GMT_WEEK_START "Monday")
  33. endif (UNITS EQUAL "US")
  34. configure_file (gmt.conf.in gmt.conf)
  35. set (GMT_CONF_TEMPLATE "Template US")
  36. set (GMT_PS_CHAR_ENCODING "Standard+")
  37. set (GMT_PROJ_LENGTH_UNIT "inch")
  38. set (GMT_PS_MEDIA "letter")
  39. set (GMT_WEEK_START "Sunday")
  40. configure_file (gmt.conf.in gmt_US.conf)
  41. set (GMT_CONF_TEMPLATE "Template SI")
  42. set (GMT_PS_CHAR_ENCODING "ISOLatin1+")
  43. set (GMT_PROJ_LENGTH_UNIT "cm")
  44. set (GMT_PS_MEDIA "a4")
  45. set (GMT_WEEK_START "Monday")
  46. configure_file (gmt.conf.in gmt_SI.conf)
  47. set (GMT_CONFIG_FILES
  48. ${CMAKE_CURRENT_BINARY_DIR}/gmt.conf
  49. ${CMAKE_CURRENT_BINARY_DIR}/gmt_US.conf
  50. ${CMAKE_CURRENT_BINARY_DIR}/gmt_SI.conf
  51. )
  52. install (FILES ${GMT_CONFIG_FILES}
  53. DESTINATION ${GMT_DATADIR}/conf
  54. COMPONENT Runtime)
  55. # vim: textwidth=78 noexpandtab tabstop=2 softtabstop=2 shiftwidth=2
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...