Files
o3de/Gems/SceneProcessing/Code/CMakeLists.txt
T
alexpete 36c4e827bd Integrating latest from github/staging
Integrating up through commit 5e1bdae
2021-03-26 14:32:02 -07:00

115 lines
3.2 KiB
CMake

#
# 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.
#
ly_add_target(
NAME SceneProcessing ${PAL_TRAIT_MONOLITHIC_DRIVEN_MODULE_TYPE}
NAMESPACE Gem
FILES_CMAKE
sceneprocessing_files.cmake
INCLUDE_DIRECTORIES
PUBLIC
Include
BUILD_DEPENDENCIES
PRIVATE
AZ::AzCore
)
if (PAL_TRAIT_BUILD_HOST_TOOLS)
ly_add_target(
NAME SceneProcessing.Editor.Static STATIC
NAMESPACE Gem
AUTOMOC
FILES_CMAKE
sceneprocessing_editor_static_files.cmake
INCLUDE_DIRECTORIES
PRIVATE
Source
.
PUBLIC
Include
BUILD_DEPENDENCIES
PUBLIC
3rdParty::Qt::Widgets
3rdParty::mikkelsen
3rdParty::FbxSdk
AZ::AzCore
AZ::SceneCore
AZ::SceneData
AZ::AzFramework
AZ::FbxSceneBuilder
AZ::AssetBuilderSDK
)
ly_add_target(
NAME SceneProcessing.Editor GEM_MODULE
NAMESPACE Gem
FILES_CMAKE
sceneprocessing_editor_files.cmake
INCLUDE_DIRECTORIES
PRIVATE
Source
.
PUBLIC
Include
BUILD_DEPENDENCIES
PRIVATE
Gem::SceneProcessing.Editor.Static
RUNTIME_DEPENDENCIES
AZ::SceneCore
AZ::SceneData
)
endif()
################################################################################
# Tests
################################################################################
if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
ly_add_target(
NAME SceneProcessing.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
NAMESPACE Gem
FILES_CMAKE
sceneprocessing_tests_files.cmake
INCLUDE_DIRECTORIES
PRIVATE
Tests
BUILD_DEPENDENCIES
PRIVATE
AZ::AzTest
Gem::SceneProcessing
)
ly_add_googletest(
NAME Gem::SceneProcessing.Tests
)
if (PAL_TRAIT_BUILD_HOST_TOOLS)
ly_add_target(
NAME SceneProcessing.Editor.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
NAMESPACE Gem
FILES_CMAKE
sceneprocessing_editor_tests_files.cmake
INCLUDE_DIRECTORIES
PRIVATE
Tests
Source
BUILD_DEPENDENCIES
PRIVATE
Gem::SceneProcessing.Editor.Static
AZ::AzTest
)
ly_add_googletest(
NAME Gem::SceneProcessing.Editor.Tests
)
endif()
endif()