GeneralSettings.cmake 847 B

12345678910111213141516171819
  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. # Turn on the ability to create folders to organize projects (.vcproj)
  9. # It creates "CMakePredefinedTargets" folder by default and adds CMake
  10. # defined projects like INSTALL.vcproj and ZERO_CHECK.vcproj
  11. set_property(GLOBAL PROPERTY USE_FOLDERS ON)
  12. ly_set(CMAKE_WARN_DEPRECATED ON)
  13. set(O3DE_EXTERNAL_SUBDIRS "" CACHE STRING "Additional list of subdirectory to recurse into via the cmake `add_subdirectory()` command. \
  14. The subdirectories are included after the restricted platform folders have been visited by a call to `add_subdirectory(restricted/\${restricted_platform})`")
  15. ly_set(LY_ROOT_FOLDER ${CMAKE_CURRENT_SOURCE_DIR})