To use CMake to build the project, create a directory where the component will be built, and from that directory run the following commands. (Each component will need a different directory.)
- cmake <path to component>
- cmake --build . --target install [The period is required, --target install specifies that it will build and install to the default location.]
Alternate Build Instructions
Official distributions for this project are built using Apache Ant and Apache Ivy. To build this way, make sure any dependencies are available in a configured Ivy repository, and execute ant dist in the root of the project (this is the default ant target). To publish the build to your local ivy repository (and make it available for other builds to depend on), execute ant publish.
If you plan to make a complete distribution including source, you will also need to use the dist-src and publish-src targets. Typically, these would be executed prior to the binary build (dist and publish targets), since they require a clean directory. In addition, the patterns for Ivy's local repository and cache must include the platform/architecture in order to avoid conflicts between the source and binary Ivy files (as well as between binary builds of multiple platforms). The following is an example of an ivysettings.xml file that adds an optional platform to the patterns for resolvers and the cache: