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 2.0 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
63
64
65
66
67
68
  1. #
  2. # $Id$
  3. #
  4. # Copyright (c) 1991-2015 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. include (GmtHelperMacros)
  19. # Install license files
  20. if (NOT LICENSE_RESTRICTED STREQUAL GPL)
  21. install (FILES
  22. ${COPYING_LGPL}
  23. DESTINATION ${GMT_DOCDIR}/copying
  24. COMPONENT Runtime)
  25. endif (NOT LICENSE_RESTRICTED STREQUAL GPL)
  26. install (FILES
  27. ${GMT_SOURCE_DIR}/LICENSE.TXT
  28. ${COPYING_GPL}
  29. ${GMT_EXTRA_LICENSE_FILES}
  30. DESTINATION ${GMT_DOCDIR}/copying
  31. COMPONENT Runtime)
  32. # reST documentation
  33. add_subdirectory (rst)
  34. set (RST_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/rst/_source)
  35. add_subdirectory (fig)
  36. # Add tests and make verbatim copies from scripts
  37. add_subdirectory (scripts)
  38. add_subdirectory (examples)
  39. if (EXISTS ${GMT_INSTALL_EXTERNAL_DOC})
  40. # Install documentation files from external location
  41. install (DIRECTORY ${GMT_INSTALL_EXTERNAL_DOC}/
  42. DESTINATION ${GMT_DOCDIR}
  43. COMPONENT Documentation
  44. USE_SOURCE_PERMISSIONS)
  45. endif (EXISTS ${GMT_INSTALL_EXTERNAL_DOC})
  46. if (NOT WIN32)
  47. # Do not install .bat files
  48. set (_exclude_bat "*.bat")
  49. endif (NOT WIN32)
  50. # Install target for examples
  51. install (DIRECTORY examples
  52. DESTINATION ${GMT_DOCDIR}
  53. COMPONENT Documentation
  54. USE_SOURCE_PERMISSIONS
  55. PATTERN "${_exclude_bat}" EXCLUDE
  56. PATTERN ".svn" EXCLUDE
  57. PATTERN "CMakeLists.txt" EXCLUDE
  58. REGEX "[.](cmake|in|ps)$" EXCLUDE)
  59. # 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...