Skip to content
C Shell C++ Roff CMake M4 Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake Include ALOS_preproc in cmake build Aug 14, 2016
gmtsar fixed a bug in p2p_S1_TOPS_Frame.csh Oct 24, 2019
preproc change number of patches for CSK_RAW Oct 4, 2019
snaphu updating snaphu to v2.0.1, by Curtis Chen Sep 5, 2019
.gitignore
BASICSGIT.TXT testing setting global usr name Aug 6, 2019
CMakeLists.txt Include ALOS_preproc in cmake build Aug 14, 2016
GNUmakefile Replace GMT5SAR with GMTSAR in comments and text Aug 15, 2017
LICENSE.TXT Added new branch 5.2 Mar 4, 2016
Makefile Replace GMT5SAR with GMTSAR in comments and text Aug 15, 2017
README.CMake Add svn properties Aug 13, 2016
README.txt Replace GMT5SAR with GMTSAR in comments and text Aug 15, 2017
ax_blas.m4 Added new branch 5.2 Mar 4, 2016
ax_lapack.m4 Added new branch 5.2 Mar 4, 2016
ax_lib_hdf5.m4 Added new branch 5.2 Mar 4, 2016
config.guess Added new branch 5.2 Mar 4, 2016
config.mk.in Allow bindir and prefix etc Aug 18, 2017
config.sub Added new branch 5.2 Mar 4, 2016
configure.ac
install-sh Added new branch 5.2 Mar 4, 2016

README.CMake

Information for building GMTSAR with CMake

Quick start:

Checkout GMTSAR from its subversion repository:

$ svn co svn://gmtserver.soest.hawaii.edu/GMTSAR/trunk gmtsar-dev
$ cd gmtsar-dev
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make -j
$ make -j install

Invoking CMake:

CMake supports out-of-source builds and puts generated files in a completely separate directory, so that the source tree is unchanged. Trying to run CMake in the source tree will result in an error. CMake will first check for the minimal required version and then search for required and optional libraries (GMT, TIFF, LAPACK) in the default locations. The configuration step will fail if dependencies are not met.

Updating:

Assuming you did not delete the build directory and that your current working directory is the build directory this is just as simple as

$ cd ..
$ svn up
$ cd -
$ make -jx install

CMake will detect any changes to the source files and will automatically reconfigure. If you deleted all files inside the build directory you have to run cmake again manually.

You can’t perform that action at this time.