mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 15:32:43 +01:00
Merge pull request #13775 from xokdvium/more-pch
treewide: Futher improve compile times for clangStdenv builds
This commit is contained in:
commit
723656daab
10 changed files with 30 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ this_exe = executable(
|
|||
link_args : linker_export_flags + [ '-lrapidcheck' ],
|
||||
# get main from gtest
|
||||
install : true,
|
||||
cpp_pch : do_pch ? [ 'pch/precompiled-headers.hh' ] : [],
|
||||
)
|
||||
|
||||
test(
|
||||
|
|
|
|||
5
src/libutil-tests/pch/precompiled-headers.hh
Normal file
5
src/libutil-tests/pch/precompiled-headers.hh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#include "nix/util/util.hh"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <gmock/gmock.h>
|
||||
#include <rapidcheck/gtest.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue