源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.1 KiB

  1. %% 先编译外部依赖库再编译项目代码
  2. %% 依赖库
  3. {
  4. [
  5. "dep/*/*"
  6. ]
  7. ,[
  8. {debug_info_key, "eGJ342io.sdSDln9jAO"}
  9. ,encrypt_debug_info
  10. ,{i, "dep/include"}
  11. ,{outdir, "ebin"}
  12. ]
  13. }.
  14. %% 配置文件去debug信息(缩减配置文件的体积)
  15. {
  16. [
  17. "src/data/data_filter.erl"
  18. ,"src/data/data_role_name.erl"
  19. ,"src/data/create/*"
  20. ],
  21. [
  22. {i, "include"}
  23. ,{outdir, "ebin"}
  24. ,nowarn_export_all
  25. ]
  26. }.
  27. %% 配置文件
  28. {
  29. [
  30. "src/data/*"
  31. ,"src/data/create/*"
  32. ]
  33. ,[
  34. {debug_info_key, "eGJ342io.sdSDln9jAO"}
  35. ,encrypt_debug_info
  36. ,{i, "include"}
  37. ,{outdir, "ebin"}
  38. ,nowarn_export_all
  39. ]
  40. }.
  41. %% src下项目源码
  42. {
  43. [
  44. %% 先编译自定义behaviour
  45. "src/battle_field/lib_battle_field.erl",
  46. "src/cross_zone/cross_zone.erl",
  47. %% 工程源码
  48. "src/*",
  49. "src/*/*",
  50. "src/*/*/*",
  51. %% 测试代码
  52. "test/*/*",
  53. "test/*/*/*",
  54. "test/*/*/*/*"
  55. ]
  56. ,[
  57. {debug_info_key, "eGJ342io.sdSDln9jAO"}
  58. ,encrypt_debug_info
  59. ,{i, "include"}
  60. ,{outdir, "ebin"}
  61. ,nowarn_export_all
  62. ,{nowarn_deprecated_function, {erlang, get_stacktrace, 0}}
  63. ]
  64. }.