crown-launcher.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --
  2. -- Copyright (c) 2012-2026 Daniele Bartolini et al.
  3. -- SPDX-License-Identifier: MIT
  4. --
  5. project ("crown-launcher")
  6. kind "WindowedApp"
  7. defines {
  8. "CROWN_LOG_TO_CONSOLE=0"
  9. }
  10. includedirs {
  11. CROWN_DIR .. "src",
  12. CROWN_DIR .. "3rdparty/stb",
  13. }
  14. configuration { "debug" }
  15. defines {
  16. "CROWN_DEBUG=1"
  17. }
  18. configuration { "release" }
  19. defines {
  20. "CROWN_DEBUG=0"
  21. }
  22. configuration { "linux-*" }
  23. links {
  24. "pthread",
  25. }
  26. configuration { "vs* or mingw*" }
  27. links {
  28. "dbghelp",
  29. "ole32", -- __imp_CoCreateGuid
  30. }
  31. configuration {}
  32. files {
  33. CROWN_DIR .. "src/core/debug/**.cpp",
  34. CROWN_DIR .. "src/core/error/**.cpp",
  35. CROWN_DIR .. "src/core/filesystem/path.cpp",
  36. CROWN_DIR .. "src/core/guid.cpp",
  37. CROWN_DIR .. "src/core/memory/globals.cpp",
  38. CROWN_DIR .. "src/core/murmur.cpp",
  39. CROWN_DIR .. "src/core/os.cpp",
  40. CROWN_DIR .. "src/core/process.cpp",
  41. CROWN_DIR .. "src/core/strings/dynamic_string.cpp",
  42. CROWN_DIR .. "src/core/strings/string_id.cpp",
  43. CROWN_DIR .. "src/core/thread/mutex.cpp",
  44. CROWN_DIR .. "src/device/log.cpp",
  45. CROWN_DIR .. "tools/launcher/launcher.cpp",
  46. }
  47. strip()
  48. configuration {} -- reset configuration