Forráskód Böngészése

Install the license_scanner files to the SDK layout as it is used to validate license text when running the `install` step in the SDK layout to create a project game release layout. (#8798)

fixes #8797

Signed-off-by: lumberyard-employee-dm <[email protected]>
lumberyard-employee-dm 3 éve
szülő
commit
b0774d9963
2 módosított fájl, 17 hozzáadás és 1 törlés
  1. 2 1
      scripts/CMakeLists.txt
  2. 15 0
      scripts/license_scanner/CMakeLists.txt

+ 2 - 1
scripts/CMakeLists.txt

@@ -11,5 +11,6 @@ if(PAL_TRAIT_BUILD_HOST_TOOLS)
     add_subdirectory(commit_validation)
     add_subdirectory(ctest)
     add_subdirectory(detect_file_changes)
-    add_subdirectory(o3de)    
+    add_subdirectory(license_scanner)
+    add_subdirectory(o3de)
 endif()

+ 15 - 0
scripts/license_scanner/CMakeLists.txt

@@ -0,0 +1,15 @@
+#
+# Copyright (c) Contributors to the Open 3D Engine Project.
+# For complete copyright and license terms please see the LICENSE at the root of this distribution.
+#
+# SPDX-License-Identifier: Apache-2.0 OR MIT
+#
+#
+
+
+ly_install_files(FILES license_scanner.py PROGRAMS
+    DESTINATION scripts/license_scanner
+)
+ly_install_files(FILES scanner_config.json
+    DESTINATION scripts/license_scanner
+)