123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /*
- * 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
- *
- */
- #include <AzCore/std/string/string_view.h>
- // this is a mock O3DE Launcher implementation for unit tests and is used
- // instead of LauncherProject.cpp. If you modify LauncherProject.cpp or the interface launcher.h, make sure
- // to update this file as well.
- namespace O3DELauncher
- {
- bool WaitForAssetProcessorConnect()
- {
- return false;
- }
- bool IsDedicatedServer()
- {
- return false;
- }
- const char* GetLogFilename()
- {
- return "@log@/Game.log";
- }
- const char* GetLauncherTypeSpecialization()
- {
- return "client";
- }
- AZStd::string_view GetBuildTargetName()
- {
- #if !defined (LY_CMAKE_TARGET)
- #error "LY_CMAKE_TARGET must be defined in order to add this source file to a CMake executable target"
- #endif
- return { LY_CMAKE_TARGET };
- }
- AZStd::string_view GetProjectName()
- {
- return { "Tests" };
- }
- AZStd::string_view GetProjectPath()
- {
- return { "Tests" };
- }
- bool IsGenericLauncher()
- {
- return false;
- }
- }
|