Merge pull request #1858 from MoritzBrueckner/arm-flag

Add "armory" flag on export to differ between Armory and Kha
This commit is contained in:
Lubos Lenco 2020-09-13 10:47:14 +02:00 committed by GitHub
commit b2c00f3dfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,9 @@ let project = new Project('""" + arm.utils.safestr(wrd.arm_project_name) + """')
project.addSources('Sources');
""")
# Let libraries differentiate between Armory and pure Kha
assets.add_khafile_def('armory')
# Auto-add assets located in Bundled directory
if os.path.exists('Bundled'):
for file in glob.glob("Bundled/**", recursive=True):