Remove everything not needed for the release package build
- include/ArcGIS (984 MB): ArcGIS modules are force-excluded in RELEASE_BUILD (BUILD_ARCGIS=OFF) and no in-scope code includes its headers - translations/: no .qm files reach any DEB; CMake add is guarded - external/ (ArcGIS symlink): FindArcGIS only runs when BUILD_ARCGIS=ON - rti_license.dat: license is supplied via RTI_LICENSE_FILE= /workspace/rti_license.dat mounted from the pipeline root - repo-root infra (.github, ci, docs, scripts, .entire, Jenkinsfile, README, .envrc-example, .clang-format, empty .gitmodules): not consumed by the DEB build Kept: cmake/, include/ (non-ArcGIS), doxygen/ (unguarded doxygen targets in root CMakeLists), tests/ (unconditional ADD_SUBDIRECTORY), lts-cc.conf (CONFIGURE_FILE), CTestCustom.ctest, new_docker_build.sh, .gitignore files, qt6-after/external mount symlink.
This commit is contained in:
1 parent
5a96bd5d58
commit
8b3306732d
1049 files changed
-263086
No files matched your search
@@ -1,47 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# $Revision$
|
||||
# $Date$
|
||||
# $Id$
|
||||
|
||||
import os
|
||||
import sys
|
||||
import datetime
|
||||
|
||||
|
||||
def main():
|
||||
if len(sys.argv) < 3:
|
||||
print >> sys.stderr, "Usage: %s <directory with pri-files> <pro-file> <ignored targets>" % sys.argv[0]
|
||||
sys.exit(1)
|
||||
|
||||
path = sys.argv[1]
|
||||
out = sys.argv[2]
|
||||
# print "args: %s" % sys.argv[4:]
|
||||
if not os.path.isdir(path):
|
||||
print >> sys.stderr, "%s is not a directory" % path
|
||||
sys.exit(2)
|
||||
|
||||
ignored_tgts = []
|
||||
for ignored in sys.argv[4:]:
|
||||
ignored_tgts.append(ignored)
|
||||
|
||||
tsfiles = []
|
||||
dirList = os.listdir(path)
|
||||
for fname in dirList:
|
||||
if not fname.endswith(".pri"):
|
||||
continue
|
||||
if fname in ignored_tgts:
|
||||
continue
|
||||
tsfiles.append(fname)
|
||||
|
||||
with open(out, "w") as outfile:
|
||||
now = datetime.datetime.now()
|
||||
print >> outfile, '#'
|
||||
print >> outfile, '# generated by %s at %s' % ( sys.argv[0], now.strftime("%Y-%m-%d %H:%M:%S") )
|
||||
print >> outfile, '#'
|
||||
for tsfile in sorted(tsfiles):
|
||||
print >> outfile, 'include("%s")' % tsfile
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in new issue
Block a user