- Timestamp:
- 2013-04-16T15:01:57+12:00 (11 years ago)
- Location:
- main/trunk/greenstone3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.properties.in
r26792 r27185 82 82 #compile.static=true 83 83 84 ## Uncomment this line to enable compilation with the gnome-lib extension 85 ## The gnome-lib extension should be in the [gsdl3home]/ext directory 86 #use.support.lib=true 84 # A flag used by the release-kit to compile with gnomelib 85 # (Previously this flag was called use.support.lib but got conflated with 86 # the property checkout.gnomelib.ext below) 87 #use.gnomelib.ext=true 88 89 ## Uncomment these lines if enabling compilation with the gnome-lib extension 90 ## and if compiling imagemagick 91 ## These extensions should be in the [gsdl3home]/gs2build/ext directory 92 checkout.gnomelib.ext=true 93 #checkout.imagemagick.ext=true 87 94 88 95 ## windows c++ compilation -
main/trunk/greenstone3/build.xml
r27149 r27185 227 227 228 228 <!-- If building a release then we want to adjust environment variables so that the support library can be see during compilation --> 229 <if><bool><isset property="use. support.lib"/></bool>229 <if><bool><isset property="use.gnomelib.ext"/></bool> 230 230 <property name="gnome-lib-dir" value="${basedir}/ext/gnome-lib-minimal/${os.bin.dir}"/> 231 231 … … 536 536 includes="*.sh,*.pl"/> 537 537 538 <!-- if the user has set use.support.libto true, and is using a compiled version of gnome-lib538 <!-- if the user has set checkout.gnomelib.ext to true, and is using a compiled version of gnome-lib 539 539 (it would have been compiled up by this stage), remind them to source devel.bash before compiling --> 540 540 <condition property="run.source.devel"> … … 543 543 <if><bool> 544 544 <and> 545 <istrue value="${ use.support.lib}"/>545 <istrue value="${checkout.gnomelib.ext}"/> 546 546 <istrue value="${run.source.devel}"/> 547 547 </and> … … 549 549 <echo> 550 550 ********************************************* 551 As you have set use.support.lib,551 As you have set checkout.gnomelib.ext, 552 552 before running ant install next, 553 553 run source devel.bash from … … 2274 2274 2275 2275 2276 <!-- Compile up gnome-lib src folder if: use.support.libis turned on, and if not using the binary2276 <!-- Compile up gnome-lib src folder if: checkout.gnomelib.ext is turned on, and if not using the binary 2277 2277 version (gnome-lib-minimal), and if the gnome-lib src folder is not already compiled up. --> 2278 <target name="compile-gnome-lib" if=" use.support.lib">2278 <target name="compile-gnome-lib" if="checkout.gnomelib.ext"> 2279 2279 2280 2280 <!-- http://stackoverflow.com/questions/3290307/sourcing-a-shell-profile-in-an-ant-build-file … … 2298 2298 <bool> 2299 2299 <and> 2300 <!-- <istrue value="${ use.support.lib}"/> make sure user wants gnome-lib -->2300 <!-- <istrue value="${checkout.gnomelib.ext}"/> make sure user wants gnome-lib --> 2301 2301 <not><isset property="${gnome.lib.min.present}"/></not> <!-- no gnome-lib-minimal binary present --> 2302 2302 <istrue value="${gnome.src.lib.present}"/> <!-- gnome-lib folder for compilation is present--> … … 2316 2316 <if> 2317 2317 <bool> 2318 <istrue value="${ use.support.lib}"/>2318 <istrue value="${checkout.gnomelib.ext}"/> 2319 2319 </bool> 2320 2320 … … 2324 2324 <else> 2325 2325 <echo>**** Not preparing gnome-lib:</echo> 2326 <echo>property use.support.libin build.properties was not set or was set to false</echo>2326 <echo>property checkout.gnomelib.ext in build.properties was not set or was set to false</echo> 2327 2327 </else> 2328 2328 </if>
Note:
See TracChangeset
for help on using the changeset viewer.