Building Apache log4cxx with Apache AntApache Ant with cpptasks from the Ant-Contrib project can be used to build log4cxx with supported compilers and is also used to generate the IDE project files included in the releases. The Apache Maven build which is used to generate the site documentation and release packaging delegates to this build. The Ant build can build APR and APR-Util if source is available. Quick start:
Common ant targets
All build products will be placed in the target subdirectory. Project files should be generated after successfully building the library, however it is possible to generate Microsoft Visual Studio project files on other platforms. The project files will typically be missing references to the Platform SDK libraries. The Maven project modifies the generated project files for release preparation. Generation of Xcode projects from Microsoft Windows is not supported. ant options
SMTP and ODBC options can depend on libraries that that have different licenses. You should review the corresponding licenses and understand the implications before redistribution. Combining -Dlib.type=shared and -Druntime=static is unsafe. Properties may also be placed in a build.properties file in the log4cxx directory. Platform specific notes:
|