diff options
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index b00cbe15a..4397fa701 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -1918,6 +1918,12 @@ function _instance:pcheaderfile(langkind) return pcheaderfile end +-- set the precompiled header file +function _instance:pcheaderfile_set(langkind, headerfile) + self:set("p" .. langkind .. "header", headerfile) + self._PCOUTPUTFILES = nil +end + -- get the output of precompiled header file (xxx.h.pch) -- -- @param langkind c/cxx |
