Author: tschoening Date: Wed Jul 2 20:44:15 2014 New Revision: 1607481 URL: http://svn.apache.org/r1607481 Log: Corrected some docs issues: "optimization" seems to be "optimize" and enable-shared|static not used at all.
Modified: incubator/log4cxx/trunk/build.xml incubator/log4cxx/trunk/src/site/apt/building/ant.apt Modified: incubator/log4cxx/trunk/build.xml URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/build.xml?rev=1607481&r1=1607480&r2=1607481&view=diff ============================================================================== --- incubator/log4cxx/trunk/build.xml (original) +++ incubator/log4cxx/trunk/build.xml Wed Jul 2 20:44:15 2014 @@ -227,8 +227,7 @@ -Ddebug=[true|false] -Doptimize=[speed|size|none] -Dversion=n.n.n - -Denable-shared=[yes|no] (default=yes) - -Denable-static=[yes|no] (default=yes) + -Dlib.type=[shared|static] (Library type to create, default=shared) -Denable-char=[0, 1] (expose char* API, default=1) -Denable-wchar_t=[0, 1] (expose wchar_t* API, default=1) -Denable-unichar=[0, 1] (expose UniChar API, default=0) @@ -836,7 +835,7 @@ name="gcc" exceptions="true" subsystem="gui" - optimize="none" + optimize="${optimize}" multithreaded="true" relentless="true" debug="${debug}" Modified: incubator/log4cxx/trunk/src/site/apt/building/ant.apt URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/site/apt/building/ant.apt?rev=1607481&r1=1607480&r2=1607481&view=diff ============================================================================== --- incubator/log4cxx/trunk/src/site/apt/building/ant.apt (original) +++ incubator/log4cxx/trunk/src/site/apt/building/ant.apt Wed Jul 2 20:44:15 2014 @@ -145,7 +145,7 @@ $ ant -Dcompiler=xyz *-------------------+--------------------------------------------------------------------------------------------------------------------------+ | -Druntime | Type of C runtime library to use, choice of dynamic (default), static. | *-------------------+--------------------------------------------------------------------------------------------------------------------------+ -| -Doptimization | Optimization: none (default), size, minimal, speed, full, aggressive, extreme, unsafe. | +| -Doptimize | Optimization: none (default), speed, size. | *-------------------+--------------------------------------------------------------------------------------------------------------------------+ | -p | Display available targets and quit. | *-------------------+--------------------------------------------------------------------------------------------------------------------------+