######################################################################################## # 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 = 'CryXML', vs_filter = 'RC', copyright_org = 'Amazon-CryTek', file_list = 'cryxml.waf_files', platforms = ['win', 'darwin', 'linux'], client_only = True, exclude_monolithic = True, includes = [ bld.Path('Code/CryEngine/CryCommon'), bld.Path('Code/Tools'), bld.Path('Code/Tools/RC/ResourceCompiler'), bld.Path('Code/Tools/CryCommonTools')], win_export_definitions = 'CryXML.def', use = ['AzCore'], uselib = ['QT5CORE', 'QT5GUI', 'QT5WIDGETS', 'EXPAT'], defines = ['CRYXML_EXPORTS', 'CRYTOOLS', '_USE_RTM_VERSION', 'RESOURCE_COMPILER'], # Testing test_all_file_list = ['cryxml_test.waf_files'], )