level-editor-imgui.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --
  2. -- Copyright (c) 2012-2017 Daniele Bartolini and individual contributors.
  3. -- License: https://github.com/dbartolini/crown/blob/master/LICENSE
  4. --
  5. project "level-editor-imgui"
  6. kind "ConsoleApp"
  7. language "C++"
  8. includedirs {
  9. CROWN_DIR .. "src",
  10. CROWN_DIR .. "tools-imgui",
  11. CROWN_DIR .. "3rdparty",
  12. CROWN_DIR .. "3rdparty/bgfx/include",
  13. CROWN_DIR .. "3rdparty/bx/include",
  14. CROWN_DIR .. "3rdparty/stb",
  15. CROWN_DIR .. "3rdparty/luajit/src",
  16. CROWN_DIR .. "3rdparty/openal/include",
  17. CROWN_DIR .. "3rdparty/bullet3/src",
  18. CROWN_DIR .. "3rdparty/ocornut-imgui",
  19. }
  20. defines {
  21. "CROWN_TOOLS=1",
  22. "CROWN_PHYSICS_NOOP=1",
  23. }
  24. links {
  25. "bgfx",
  26. "bimg",
  27. "bx",
  28. "openal",
  29. "bullet",
  30. }
  31. configuration { "debug or development" }
  32. defines {
  33. "CROWN_DEBUG=1"
  34. }
  35. configuration { "development" }
  36. defines {
  37. "CROWN_DEVELOPMENT=1"
  38. }
  39. configuration { "linux-*" }
  40. links {
  41. "X11",
  42. "Xrandr",
  43. "pthread",
  44. "dl",
  45. "GL",
  46. "luajit",
  47. }
  48. configuration { "mingw*" }
  49. links {
  50. "dbghelp",
  51. "xinput",
  52. "psapi",
  53. "ws2_32",
  54. "ole32",
  55. "gdi32",
  56. "luajit"
  57. }
  58. configuration {}
  59. files {
  60. CROWN_DIR .. "src/**.h",
  61. CROWN_DIR .. "src/**.cpp",
  62. CROWN_DIR .. "tools-imgui/**.h",
  63. CROWN_DIR .. "tools-imgui/**.cpp",
  64. CROWN_DIR .. "3rdparty/ocornut-imgui/*.h",
  65. CROWN_DIR .. "3rdparty/ocornut-imgui/*.cpp",
  66. }
  67. configuration {} -- reset configuration