CMakeLists.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. o3de_pal_dir(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} ${O3DE_ENGINE_RESTRICTED_PATH} ${LY_ROOT_FOLDER})
  12. ly_add_target(
  13. NAME LuaIDE APPLICATION
  14. NAMESPACE AZ
  15. AUTOMOC
  16. AUTOUIC
  17. AUTORCC
  18. FILES_CMAKE
  19. lua_ide_files.cmake
  20. ${pal_dir}/lua_ide_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake
  21. INCLUDE_DIRECTORIES
  22. PRIVATE
  23. .
  24. Source/Editor
  25. Source/LUA
  26. BUILD_DEPENDENCIES
  27. PRIVATE
  28. Legacy::CryCommon
  29. AZ::AzCore
  30. AZ::AzFramework
  31. AZ::AzToolsFramework
  32. AZ::AzNetworking
  33. AZ::AzQtComponents
  34. ${additional_dependencies}
  35. COMPILE_DEFINITIONS
  36. PRIVATE
  37. STANDALONETOOLS_ENABLE_LUA_IDE
  38. )
  39. ly_set_gem_variant_to_load(TARGETS LuaIDE VARIANTS LuaTools)
  40. ly_add_dependencies(Editor LuaIDE)