mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-19 21:50:39 -06:00
Teach the Makefile generator to scan the implicit dependencies of PCH creation. When a header named by `target_precompile_headers` changes the corresponding PCH must be rebuilt and all consumers recompiled. Fixes: #19830
16 lines
315 B
C++
16 lines
315 B
C++
#include <stdio.h>
|
|
#include <zot.hxx>
|
|
#include <zot_custom.hxx>
|
|
|
|
const char* zot_macro_dir_f();
|
|
const char* zot_macro_tgt_f();
|
|
const char* zot_pch_f();
|
|
|
|
int main()
|
|
{
|
|
printf("[%s] [%s] [%s] [%s] [%s]\n", zot, zot_custom, zot_macro_dir_f(),
|
|
zot_macro_tgt_f(), zot_pch_f());
|
|
fflush(stdout);
|
|
return 0;
|
|
}
|