GiellaLT

GiellaLT provides an infrastructure for rule-based language technology aimed at minority and indigenous languages, and streamlines building anything from keyboards to speech technology. Read more about Why. See also How to get started, and our Privacy document.

View GiellaLT on GitHub

Page Content

Remaking make using GNU autotools?

[http://sources.redhat.com/automake/automake.html]

Remake principles:

My observations & conclusions so far:

Implications:

After some discussion, with pointers to alternatives and to discussions on the about problems with the autotools set, we settled on CMake as our first attempt at creating a more sane build infrastructure.

Download: http://cmake.org/cmake/resources/software.html

An example of a CMake dependency + build instruction:

PROJECT(Document)
IF(LATEX_COMPILE)
  ADD_CUSTOM_COMMAND(
    OUTPUT    ${Document_BINARY_DIR}/TDocument.dvi
    DEPENDS   ${Document_BINARY_DIR}/TDocument.tex
    COMMAND   ${LATEX_COMPILE}
    ARGS      ${Document_SOURCE_DIR}/TDocument.tex
    )
ENDIF(LATEX_COMPILE)


IF(DVIPDF_COMPILE)
  ADD_CUSTOM_COMMAND(
    OUTPUT    ${Document_BINARY_DIR}/TDocument.pdf
    DEPENDS   ${Document_BINARY_DIR}/TDocument.dvi
    COMMAND   ${DVIPDF_COMPILE}
    ARGS      ${Document_SOURCE_DIR}/TDocument.dvi
    )
ENDIF(DVIPDF_COMPILE)

So, we could try to do something concrete, e.g. build some part of sme using cmake.

Sitemap