Giter Club home page Giter Club logo

cwm4's Introduction

cwm4 git submodule

This repository is a git submodule containing autoconf macros and helper scripts to support building a project that uses git submodules and autotools or cmake.

Checking out a project that uses the cwm4 submodule.

Please read README_usage.

Adding the cwm4 submodule to a project.

To add this submodule to a project, execute the following in the root of the project:

git submodule add https://github.com/CarloWood/cwm4.git

This should clone cwm4 into the subdirectory cwm4, or if you already cloned it there, it should add it.

Next run:

cp cwm4/templates/autogen.sh .
./autogen.sh

and follow the instructions (if any). [autotools only:] If fixing of configure.ac was necessary, run ./autogen.sh again until all issues are fixed.

Finally add autogen.sh to your project:

git add autogen.sh

And commit your changes.

To add support for another submodule, add a file called 'configure.m4' to the root of that submodule -- a template for that file can be found in cwm4/templates/configure.m4. A more complex example can be found in the repository ai-xml-testsuite which uses this as configure.m4 file of the submodule ai-xml.

Cloning this project.

If you make your own clone of cwm4, make sure to set the environment variables GIT_COMMITTER_EMAIL and GIT_COMMITTER_NAME (and likely you also want to set GIT_AUTHOR_EMAIL and GIT_AUTHOR_NAME) and edit cwm4/templates/autogen.sh to use the md5 hash of your GIT_COMMITTER_EMAIL.

echo "$GIT_COMMITTER_EMAIL" | md5sum

cwm4's People

Contributors

carlowood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.