Skip to content

Commit

Permalink
WCRIPT change from 'main' to fix CSM build (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
J. Daniel Smith committed Apr 4, 2023
1 parent a71f6be commit 16351bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
Empty file modified externals/nitro/modules/c++/nitf/tests/test_ref_counts.cpp
100755 → 100644
Empty file.
23 changes: 6 additions & 17 deletions six/projects/csm/external/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,13 @@ def build(bld):
# dependency, we could recompile in the CSM source code that we
# need to use.
vtsDir = 'vts_301_0'
six_root = '../../../../../..'
nested_six_root = six_root + '/../..'
install = six_root + '/install'
nested_install = nested_six_root + '/install'
coda_oss = six_root + '/externals/coda-oss/modules/c++'
nested_coda_oss = nested_six_root + '/externals/coda-oss/modules/c++'
bld.program(target='vts', name='vts',
includes=['include',
install + '/include', nested_install + '/include',
coda_oss + '/sys/include', coda_oss + '/str/include', coda_oss + '/std/include',
coda_oss + '/coda_oss/include', coda_oss + '/gsl/include', coda_oss + '/except/include',
nested_coda_oss + '/sys/include', nested_coda_oss + '/str/include', nested_coda_oss + '/std/include',
nested_coda_oss + '/coda_oss/include', nested_coda_oss + '/gsl/include', nested_coda_oss + '/except/include'
],
source=bld.path.find_dir(os.path.join(vtsDir, 'source')).ant_glob('*.cpp'),
use='sys-c++ CSMAPI THREAD DL',
path=bld.path.find_dir(vtsDir),
install_path=bld.env['install_bindir'])
module_deps=['sys', 'str', 'std', 'coda_oss', 'gsl', 'except'],
includes=['include'],
source=bld.path.find_dir(os.path.join(vtsDir, 'source')).ant_glob('*.cpp'),
use='sys-c++ std-c++ CSMAPI THREAD DL',
path=bld.path.find_dir(vtsDir),
install_path=bld.env['install_bindir'])

def distclean(context):
# remove the unzipped directory
Expand Down

0 comments on commit 16351bc

Please sign in to comment.