diff options
| author | ruki <[email protected]> | 2015-06-08 15:52:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-08 15:52:27 +0800 |
| commit | 723ec3e970e17f48a601fe2a919b9802b5e516fa (patch) | |
| tree | 5c4b7a6a7e6aa3a5f3675de2c5b13edff8cc1d67 /xmake/scripts/base | |
| parent | c61c0f077e3580c2be59fa917805f3c00d8f4542 (diff) | |
modify configure file prefixv1.0.1
Diffstat (limited to 'xmake/scripts/base')
| -rw-r--r-- | xmake/scripts/base/project.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index fe17bad94..3cb3cc531 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -50,14 +50,14 @@ function project._makeconf_for_target(target_name, target) end -- the prefix - local prefix = target_name:upper() + local prefix = target_name:upper() .. "_CONFIG" -- open the file local file = io.open(configfile, "w") -- make the head - file:write(string.format("#ifndef %s_CONFIG_H\n", prefix)) - file:write(string.format("#define %s_CONFIG_H\n", prefix)) + file:write(string.format("#ifndef %s_H\n", prefix)) + file:write(string.format("#define %s_H\n", prefix)) file:write("\n") -- make version |
