######################################################################################## # 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 = 'ResourceCompilerXML', vs_filter = 'RC', copyright_org = 'Amazon-CryTek', file_list = 'resourcecompilerxml.waf_files', pch = 'PCH/StdAfx.cpp', platforms = ['win', 'darwin', 'linux'], client_only = True, exclude_monolithic = True, includes = ['.', 'PCH/.', bld.Path('Code/CryEngine/CryCommon'), bld.Path('Code/Tools'), bld.Path('Code/Tools/RC/ResourceCompiler'), bld.Path('Code/Tools/CryCommonTools'), bld.Path('Code/Tools/CryXML'), bld.Path('Code/CryEngine/CrySystem/XML')], use = ['AzToolsFramework'], uselib = ['QTANGLE', 'QT5CORE', 'QT5GUI', 'QT5NETWORK', 'QT5QML', 'QT5QUICK', 'QT5WIDGETS'], libpath = bld.Path('Code/Tools/CryCommonTools'), win_x64_clang_cxxflags = ['-Wno-nonportable-include-path'], linux_rpath = ['$ORIGIN/..', '$ORIGIN/qtlibs/lib'], # Testing test_all_file_list = ['resourcecompilerxml_test.waf_files'], )