summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/makefile/makefile.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-04 15:37:44 +0800
committerruki <[email protected]>2017-08-04 15:37:44 +0800
commitfada840909bf5e61e3d5c8bed84722166f5adda0 (patch)
tree2872417ab3ef455ae7fa746b8188ea1df83f1596 /xmake/plugins/project/makefile/makefile.lua
parentb9f40db69152c3458b2a0dcd1b99eb094e578a0d (diff)
improve precompiled header
Diffstat (limited to 'xmake/plugins/project/makefile/makefile.lua')
-rw-r--r--xmake/plugins/project/makefile/makefile.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/project/makefile/makefile.lua b/xmake/plugins/project/makefile/makefile.lua
index f0326e6e2..811c9e98f 100644
--- a/xmake/plugins/project/makefile/makefile.lua
+++ b/xmake/plugins/project/makefile/makefile.lua
@@ -351,7 +351,8 @@ function _make_all(makefile)
-- TODO
-- disable precompiled header first
for _, target in pairs(project.targets()) do
- target:set("precompiled_header", nil)
+ target:set("pcheader", nil)
+ target:set("pcxxheader", nil)
end
-- make variables for target flags