Skip to content

compiling_Makefile

Bruno Levy edited this page Jul 20, 2022 · 2 revisions

Geogram compilation - generating a Makefile

Some users may want to compile the geogram library as simply as possible, without CMake, with a plain old Makefile. For instance, users who develop extensions of the R language under Windows with the open-source MingW compiler.

Prerequisites

The default configuration is meant to be used with:

  • cygwin
  • MingW

Quick compilation guide

$ git clone https://github.com/BrunoLevy/geogram.git
$ cd geogram
$ tools/MakeMake.sh
$ cd build/simple_make
$ make

By default, this creates a static library (libgeogram_static.a) and compiles an example program (vorpalite_static.exe).

One can edit the Makefile to change the compiler name and compiling options.

Additional information

To get latest version of submodules:

   git submodule update --recursive --remote
Clone this wiki locally