diff options
| author | ruki <[email protected]> | 2018-05-15 00:28:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-14 20:53:09 +0800 |
| commit | 7fdf5ff81ea4c4fb95ec26a82cf353692cbb231d (patch) | |
| tree | 6783a81d9693c61179e872a585c9e255b3f0ca2a /xmake | |
| parent | cc2c840795a7472c485b806f5bffbeb8b11c4063 (diff) | |
fix precompiled header for rules
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/actions/build/kinds/object.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua index 24a8a33b6..8e56cd6a2 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -297,9 +297,6 @@ function build(target, buildinfo) ccache = find_ccache() end - -- build precompiled headers - _build_pcheaderfiles(target, buildinfo) - -- build source batches with custom rules before building other sources for sourcekind, sourcebatch in pairs(target:sourcebatches()) do if sourcebatch.rulename then @@ -307,6 +304,9 @@ function build(target, buildinfo) end end + -- build precompiled headers + _build_pcheaderfiles(target, buildinfo) + -- build source batches for sourcekind, sourcebatch in pairs(target:sourcebatches()) do |
