36 lines
1.7 KiB
Python
Executable File
36 lines
1.7 KiB
Python
Executable File
#!/usr/bin/env python
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
#
|
|
# Author: Yang Lei
|
|
# Copyright 2019, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
|
|
# Any commercial use must be negotiated with the Office of Technology Transfer at the California Institute of Technology.
|
|
#
|
|
# This software may be subject to U.S. export control laws. By accepting this software, the user agrees to comply with all applicable U.S.
|
|
# export laws and regulations. User has the responsibility to obtain export licenses, or other export authority as may be required before
|
|
# exporting such information to foreign countries or providing access to foreign persons.
|
|
#
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
import os
|
|
|
|
Import('envgeoAutorift')
|
|
envautorift = envgeoAutorift.Clone()
|
|
package = envautorift['PACKAGE']
|
|
project = 'autoRIFT'
|
|
envautorift['PROJECT'] = project
|
|
install = envautorift['PRJ_SCONS_INSTALL'] + '/' + package + '/' + project
|
|
initFile = '__init__.py'
|
|
|
|
|
|
listFiles = ['autoRIFT.py','autoRIFT_ISCE.py',initFile]
|
|
envautorift.Install(install,listFiles)
|
|
envautorift.Alias('install',install)
|
|
Export('envautorift')
|
|
bindingsScons = 'bindings/SConscript'
|
|
SConscript(bindingsScons,variant_dir = envautorift['PRJ_SCONS_BUILD'] + '/' + package + '/' + project + '/bindings')
|
|
includeScons = 'include/SConscript'
|
|
SConscript(includeScons)
|
|
#srcScons = 'src/SConscript'
|
|
#SConscript(srcScons,variant_dir = envautorift['PRJ_SCONS_BUILD'] + '/' + package + '/' + project + '/src')
|