1
1
Fork 0
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:
Jörg Thalheim 2025-08-17 14:47:41 +02:00 committed by GitHub
commit 723656daab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 30 additions and 1 deletions

View file

@ -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(

View file

@ -0,0 +1,5 @@
#include "nix/util/util.hh"
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <rapidcheck/gtest.h>