######################################################################################## # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or the license accompanying this file. Do not # remove or modify any license notices. This file is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # # Original file Copyright Crytek GMBH or its affiliates, used under license. # ######################################################################################## def build(bld): bld.CryResourceCompilerModule( # Settings target = 'ResourceCompilerABC', vs_filter = 'RC', copyright_org = 'Amazon-CryTek', file_list = 'resourcecompilerabc.waf_files', platforms = ['win', 'darwin', 'linux'], pch = 'PCH/StdAfx.cpp', client_only = True, exclude_monolithic = True, use = ['AzToolsFramework'], uselib = ['LZ4', 'QT5CORE', 'QT5GUI', 'QT5WIDGETS', 'ALEMBIC', 'SZIP', 'ZLIB'], includes = [ '.', './PCH', bld.Path('Code/CryEngine/CryCommon'), bld.ThirdPartyPath('mikkt'), bld.Path('Code/Tools'), bld.Path('Code/Tools/RC/ResourceCompiler'), bld.Path('Code/Tools/CryCommonTools')], win_x64_clang_enable_rtti = True, linux_rpath = ['$ORIGIN/..'], linux_linkflags = ['-stdlib=libstdc++'], # Alemibic header files use the register keyword that is deprecated so # disable the warning here clang_cxxflags = ['-Wno-deprecated-register', '-Wno-nonportable-include-path', '-fexceptions'], # Testing test_all_file_list = ['resourcecompilerabc_test.waf_files'], )