3
0

Test.cpp 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. #include <AzCore/std/string/string_view.h>
  9. namespace O3DELauncher
  10. {
  11. bool WaitForAssetProcessorConnect()
  12. {
  13. return false;
  14. }
  15. bool IsDedicatedServer()
  16. {
  17. return false;
  18. }
  19. const char* GetLogFilename()
  20. {
  21. return "@log@/Game.log";
  22. }
  23. const char* GetLauncherTypeSpecialization()
  24. {
  25. return "client";
  26. }
  27. AZStd::string_view GetBuildTargetName()
  28. {
  29. #if !defined (LY_CMAKE_TARGET)
  30. #error "LY_CMAKE_TARGET must be defined in order to add this source file to a CMake executable target"
  31. #endif
  32. return { LY_CMAKE_TARGET };
  33. }
  34. AZStd::string_view GetProjectName()
  35. {
  36. return { "Tests" };
  37. }
  38. AZStd::string_view GetProjectPath()
  39. {
  40. return { "Tests" };
  41. }
  42. }