CMakeLists.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. if(NOT PAL_TRAIT_BUILD_HOST_TOOLS)
  9. return()
  10. endif()
  11. ly_add_target(
  12. NAME ComponentEntityEditorPlugin MODULE
  13. NAMESPACE Legacy
  14. OUTPUT_SUBDIRECTORY EditorPlugins
  15. AUTOMOC
  16. AUTORCC
  17. FILES_CMAKE
  18. componententityeditorplugin_files.cmake
  19. COMPILE_DEFINITIONS
  20. PRIVATE
  21. PLUGIN_EXPORTS
  22. INCLUDE_DIRECTORIES
  23. PUBLIC
  24. .
  25. BUILD_DEPENDENCIES
  26. PRIVATE
  27. 3rdParty::Qt::Core
  28. 3rdParty::Qt::Widgets
  29. AZ::AzCore
  30. AZ::AzToolsFramework
  31. Legacy::CryCommon
  32. Legacy::EditorLib
  33. AZ::AtomCore
  34. Gem::Atom_RPI.Public
  35. Gem::AtomToolsFramework.Static
  36. Gem::LmbrCentral.Editor
  37. RUNTIME_DEPENDENCIES
  38. Gem::LmbrCentral.Editor
  39. )
  40. ly_add_dependencies(Editor ComponentEntityEditorPlugin)
  41. set_property(GLOBAL APPEND PROPERTY LY_EDITOR_PLUGINS $<TARGET_FILE_NAME:Legacy::ComponentEntityEditorPlugin>)