crown-launcher.lua 873 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --
  2. -- Copyright (c) 2012-2025 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. }
  30. configuration {}
  31. files {
  32. CROWN_DIR .. "src/core/error/**.cpp",
  33. CROWN_DIR .. "src/core/memory/globals.cpp",
  34. CROWN_DIR .. "src/core/os.cpp",
  35. CROWN_DIR .. "src/core/process.cpp",
  36. CROWN_DIR .. "src/core/thread/mutex.cpp",
  37. CROWN_DIR .. "src/device/log.cpp",
  38. CROWN_DIR .. "tools/launcher/launcher.cpp",
  39. }
  40. strip()
  41. configuration {} -- reset configuration