level-editor-imgui.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. "luajit"
  56. }
  57. configuration {}
  58. files {
  59. CROWN_DIR .. "src/**.h",
  60. CROWN_DIR .. "src/**.cpp",
  61. CROWN_DIR .. "tools-imgui/**.h",
  62. CROWN_DIR .. "tools-imgui/**.cpp",
  63. CROWN_DIR .. "3rdparty/ocornut-imgui/*.h",
  64. CROWN_DIR .. "3rdparty/ocornut-imgui/*.cpp",
  65. }
  66. configuration {} -- reset configuration