|
|
- %% 先编译外部依赖库再编译项目代码
-
- %% 依赖库
- {
- [
- "dep/*/*"
- ]
- ,[
- {debug_info_key, "eGJ342io.sdSDln9jAO"}
- ,encrypt_debug_info
- ,{i, "dep/include"}
- ,{outdir, "ebin"}
- ]
- }.
-
- %% 配置文件去debug信息(缩减配置文件的体积)
- {
- [
-
- "src/data/data_filter.erl"
- ,"src/data/data_role_name.erl"
- ,"src/data/create/*"
- ],
- [
- {i, "include"}
- ,{outdir, "ebin"}
- ,nowarn_export_all
- ]
- }.
-
- %% 配置文件
- {
- [
- "src/data/*"
- ,"src/data/create/*"
- ]
- ,[
- {debug_info_key, "eGJ342io.sdSDln9jAO"}
- ,encrypt_debug_info
- ,{i, "include"}
- ,{outdir, "ebin"}
- ,nowarn_export_all
- ]
- }.
-
- %% src下项目源码
- {
- [
- %% 先编译自定义behaviour
- "src/battle_field/lib_battle_field.erl",
- "src/cross_zone/cross_zone.erl",
-
- %% 工程源码
- "src/*",
- "src/*/*",
- "src/*/*/*",
-
- %% 测试代码
- "test/*/*",
- "test/*/*/*",
- "test/*/*/*/*"
- ]
- ,[
- {debug_info_key, "eGJ342io.sdSDln9jAO"}
- ,encrypt_debug_info
- ,{i, "include"}
- ,{outdir, "ebin"}
- ,nowarn_export_all
- ,{nowarn_deprecated_function, {erlang, get_stacktrace, 0}}
- ]
- }.
-
|