Skip to content

Commit

Permalink
Must install executables before running cpack (#985)
Browse files Browse the repository at this point in the history
Since gmt_make_release does not buld or install the supplements we must run make install before building a package.
  • Loading branch information
PaulWessel authored Jun 19, 2019
1 parent 835f020 commit d841a20
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,14 @@ cmake --build . --target gmt_release_tar # create tarballs (in tar.gz and tar.x

Currently, packaging with CPack works on macOS (Bundle, TGZ, TBZ2),
Windows (ZIP, NSIS), and UNIX (TGZ, TBZ2). On Windows you need to install
[NSIS](http://nsis.sourceforge.net/). After building GMT and the documentation run
either one of these:
[NSIS](http://nsis.sourceforge.net/). After building GMT and the documentation
build and place the executables, including the supplements, with

...
cmake --build . --target install
...

and then create the package with either one of these:

```
cmake --build . --target package
Expand Down

0 comments on commit d841a20

Please sign in to comment.