Changeset 19042

Show
Ignore:
Timestamp:
07/13/06 09:17:03 (2 years ago)
Author:
patrick
Message:

MFT [rev 19039]: Allow building against versions of CppDOM newer than 0.7.3

(i.e., those that use a versioned header directory tree).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.0/buildwin32.py

    r19041 r19042  
    184184   required.append(BuildOption('CPPDOM_ROOT', 'CppDOM installation directory', 
    185185                               '')) 
     186   required.append(BuildOption('CPPDOM_INCLUDES', 
     187                               'Directory containing the CppDOM header tree', 
     188                               '')) 
    186189   required.append(BuildOption('GMTL_ROOT', 'GMTL installation directory', '')) 
    187190 
     
    250253         boost_ver = result 
    251254         options['BOOST_INCLUDES'] = boost_dir + r'\include\boost-' + boost_ver 
     255 
     256      # The following is a little hack to get a reasonable default set for 
     257      # the CPPDOM_INCLUDES variable before the user has to enter it manually. 
     258      if opt.envVar == 'CPPDOM_ROOT': 
     259         options['CPPDOM_INCLUDES'] = os.path.join(result, 'include') 
    252260 
    253261   print "+++ Optional Settings"